Asterisk Is Not Executing Python File Using Agi
Log of asterisk after call is as follows: AGI Tx >> agi_channel: SIP/AC_221-00000007 AGI Tx >> agi_language: en &l
Solution 1:
First of all you are dooing EAGI, which is NOT AGI.
Then you need probably check by tag other issues with AGI/python, for example this can be helpfull. How to use Asterisk AGI with python3? (more at https://stackoverflow.com/questions/tagged/agi+python)
AGI script in most cases run in very special environment under asterisk user, so you need double check you have library path.
For check for errors, stop asterisk, after that run it in console via
asterisk -vvvgc
agi set debug on
Now if you call it will show STDERROR from your script in console. By default it show on /dev/tty9
Post a Comment for "Asterisk Is Not Executing Python File Using Agi"