AGI script: No such file or directory
Posted: Fri Feb 13, 2015 9:42 am
[Feb 13 09:32:36] VERBOSE[4652] file.c: [Feb 13 09:32:36] -- <IAX2/vicidial-10880> Playing 'digits/3.gsm' (language 'en')
[Feb 13 09:32:36] VERBOSE[4652] pbx.c: [Feb 13 09:32:36] -- Executing [9977@pru:2] AGI("IAX2/vicidial-10880", "xxxxx.php,yyyyy") in new stack
[Feb 13 09:32:36] VERBOSE[4652] res_agi.c: [Feb 13 09:32:36] -- Launched AGI Script /usr/share/asterisk/agi-bin/xxxxx.php
[Feb 13 09:32:36] VERBOSE[4652] res_agi.c: [Feb 13 09:32:36] xxxxx.php,yyyyy: Failed to execute '/usr/share/asterisk/agi-bin/xxxxx.php': No such file or directory
[Feb 13 09:32:36] VERBOSE[4652] pbx.c: [Feb 13 09:32:36] -- Auto fallthrough, channel 'IAX2/vicidial-10880' status is 'UNKNOWN'
[Feb 13 09:32:36] VERBOSE[4652] chan_iax2.c: [Feb 13 09:32:36] -- Hungup 'IAX2/vicidial-10880'
ls -la /usr/share/asterisk/agi-bin/xxxxx.php
-rwxr-xr-x 1 root root 4578 feb 13 09:19 /usr/share/asterisk/agi-bin/xxxxx.php
I changed permissions on xxxxx.php to user and group asterisk, but no changes. Also I changed the extension .php to .agi, no changes.
Why?
I tried both from Callmenu AGI route, and adding a dialplan in extensions.con; the same.
VERSION: 2.8-409a
BUILD: 130809-1410
Version: 2.8b0.5
SVN Version: 1930
DB Schema Version: 1355
DB Schema Update Date: 2014-01-19 17:45:02
[Feb 13 09:32:36] VERBOSE[4652] pbx.c: [Feb 13 09:32:36] -- Executing [9977@pru:2] AGI("IAX2/vicidial-10880", "xxxxx.php,yyyyy") in new stack
[Feb 13 09:32:36] VERBOSE[4652] res_agi.c: [Feb 13 09:32:36] -- Launched AGI Script /usr/share/asterisk/agi-bin/xxxxx.php
[Feb 13 09:32:36] VERBOSE[4652] res_agi.c: [Feb 13 09:32:36] xxxxx.php,yyyyy: Failed to execute '/usr/share/asterisk/agi-bin/xxxxx.php': No such file or directory
[Feb 13 09:32:36] VERBOSE[4652] pbx.c: [Feb 13 09:32:36] -- Auto fallthrough, channel 'IAX2/vicidial-10880' status is 'UNKNOWN'
[Feb 13 09:32:36] VERBOSE[4652] chan_iax2.c: [Feb 13 09:32:36] -- Hungup 'IAX2/vicidial-10880'
ls -la /usr/share/asterisk/agi-bin/xxxxx.php
-rwxr-xr-x 1 root root 4578 feb 13 09:19 /usr/share/asterisk/agi-bin/xxxxx.php
I changed permissions on xxxxx.php to user and group asterisk, but no changes. Also I changed the extension .php to .agi, no changes.
Why?
I tried both from Callmenu AGI route, and adding a dialplan in extensions.con; the same.
VERSION: 2.8-409a
BUILD: 130809-1410
Version: 2.8b0.5
SVN Version: 1930
DB Schema Version: 1355
DB Schema Update Date: 2014-01-19 17:45:02