I’ve been unable to locate any help with this so far.
I’m creating call files to drop in spool/asterisk/outgoing. These files run my agi script which needs some arguments for the call handling. So an example call file is:
Channel: IAX2/extra-info
CallerID: 5555551212
Application: AGI
Data: myAgiScript, arg1 arg2 arg3
The problem I seem to be having is that the call spooler does not interpret Data the same way as the dialplan handler. It doesn’t see the comma after myAgiScript and tries to instantiate the file executable file named. “myAgiScript, arg1 arg2 arg3”
Has anybody seen this or otherwise knows the correct script to that the initiated script file name is “myAgiScript” and the arguments are passed to this script?
Thx