Hello!!
¿How i can configure AGI scripts on web interface?
Im testing with this:
In the extensions_custom.conf i add:
[from-internal-custom]
exten => 1003,1,Answer()
exten => 1003,2,SayDigits(${CALLERID(number)})
exten => 1003,4,AGI(fbedia.php,${CALLERID(number)})
exten => 1003,3,Playback(custom/test)
Then, if i call to extension 1003 from my sophone, all go well, and the AGI script fbedia.php execute correctly… However, i cant found this extension (1003) on my web:
Im try to configure my extensions_custom.conf like this (with the same name of extension (1001) that i have in the freepbx web):
[from-internal-custom]
exten => 1001,1,Answer()
exten => 1001,2,SayDigits(${CALLERID(number)})
exten => 1001,4,AGI(fbedia.php,${CALLERID(number)})
exten => 1001,3,Playback(custom/test)
but when is a external call, this ring in the extension 1001 sophone… and the script dont execute.
however, if i call from one sophone to 1001, then the script execute well…
¿mybe i need chante [from-internal-custom] to other context?
Sorry for my english…