juaan
January 20, 2017, 7:45pm
1
Hi, I create an IVR Agi-Script in php, is there a way that i can use the Aplication: parameter in a .call file to execute it?
For example:
Channel: SIP/Dinstar/55555555
Maxretries: 1
Retrytime: 30
Waittime: 60
Context: ivr
Application: myIVR.php
CallerID: Gustavo Ojeda <55555555>
Priority: 1
Archive: yes
Best Regards
Juan
Create the dialplan to invoke the AGI then send the call to that context.
Alternatively, make the application in the call file be AGI and put the script in formation in the parameters.
juaan
January 22, 2017, 12:56am
4
Hi Navaismo. yes that the way i do it normally. But i was courious about the way to call an Agi directly from a .call file. Tnx for your answer !
juaan
January 22, 2017, 12:59am
5
Hi David551, thats exactly what im trying to do. Do you have the way to tell the Aplication param to execute an Agi? I dont find any documentation around about it.
Thanks a Lot
juaan
January 22, 2017, 1:02am
6
Find it
Application: AGI
Data: myagi.agi
Thnxxxx a lot