Hi ,
I am looking for some help regarding a AGI Script that i wrote.
I have created a AGI script that consults a External (FQDN) Web service. A place the agi via Extensions_custom.conf.
exten => 20003,1,Answer
same => n,Set(CHANNEL(language)=es)
same => n,AGI(/var/lib/asterisk/agi-bin/ValeES.php)
same => n,4,Hangup
My problem is that if i call 20003 from a regular extension the Agi work fine , but if do a inbound route from my ITSP and forward the call to 20003 y get the following error from the AGI (debug).
<SIP/TrunkO-00007992>AGI Rx << {“Message”:"No HTTP resource was found that matches the request URI…
Any help is greatly appreciated ,
Thanks,
Alex