Exec Format Error Php Agi
Contents |
Exec Format Error when running AGI call Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Dear friends, I 8 exec format error php am having problem with running a sample php and I can't
Exec Format Error Apache
figure out why. I can run the sample.php using CLI but when I run it inside the exec format error perl dialplan it does not work. Can someone please suggest the config problem that I may have made? dommy:/var/lib/asterisk/agi-bin# php sample.php #!/usr/bin/php5 -q VERBOSE "Here we go!" 2 VERBOSE "Call
Exec Format Error Python
from - Calling phone" SAY DIGITS 22 X SAY NUMBER 2233 X ================== Asterisk CLI ====================== *CLI> agi debug AGI Debugging Enabled *CLI> -- Executing [444 at my-phones:1] Answer("SIP/2000-b640ba18", "") in new stack -- Executing [444 at my-phones:2] AGI("SIP/2000-b640ba18", "sample.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/sample.agi AGI Tx >> agi_request: sample.agi AGI Tx >> agi_channel: SIP/2000-b640ba18 exec format error docker AGI Tx >> agi_language: en AGI Tx >> agi_type: SIP AGI Tx >> agi_uniqueid: 1206377474.53 AGI Tx >> agi_callerid: 2000 AGI Tx >> agi_calleridname: 2000 AGI Tx >> agi_callingpres: 0 AGI Tx >> agi_callingani2: 0 AGI Tx >> agi_callington: 0 AGI Tx >> agi_callingtns: 0 AGI Tx >> agi_dnid: 444 AGI Tx >> agi_rdnis: unknown AGI Tx >> agi_context: my-phones AGI Tx >> agi_extension: 444 AGI Tx >> agi_priority: 2 AGI Tx >> agi_enhanced: 0.0 AGI Tx >> agi_accountcode: AGI Tx >> AGI Rx << verbose "Failed to execute '/var/lib/asterisk/agi-bin/sample.agi': Exec format error" 2 == sample.agi: Failed to execute '/var/lib/asterisk/agi-bin/sample.agi': Exec format error AGI Tx >> 200 result=1 -- AGI Script sample.agi completed, returning 0 Thanks, Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080324/296baa61/attachment.htm Previous message: [asterisk-users] Unable to obtain dialed number through ZAP Next message: [asterisk-users] Getting Exec Format Error when running AGI call Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the asterisk-users mailing list
requested topic does not exist. Board index The team • Delete all board cookies • All times are UTC - 6 hours Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
can't figure out why. Ican run the sample.php using CLI but when I run it inside http://asterisk-users.digium.narkive.com/W0s9EgzH/getting-exec-format-error-when-running-agi-call the dialplan itdoes not work. Can someone please suggest the config problem that I mayhave made?dommy:/var/lib/asterisk/agi-bin# php sample.php#!/usr/bin/php5 -qVERBOSE "Here we go!" 2VERBOSE "Call from http://asterisk-support.ru/question/14461/ne-rabotaet-agi-skript/ - Calling phone"SAY DIGITS 22 XSAY NUMBER 2233 X================== Asterisk CLI ======================*CLI> agi debugAGI Debugging Enabled*CLI> -- Executing [***@my-phones:1] Answer("SIP/2000-b640ba18", "") innew stack-- Executing exec format [***@my-phones:2] AGI("SIP/2000-b640ba18", "sample.agi") innew stack-- Launched AGI Script /var/lib/asterisk/agi-bin/sample.agiAGI Tx >> agi_request: sample.agiAGI Tx >> agi_channel: SIP/2000-b640ba18AGI Tx >> agi_language: enAGI Tx >> agi_type: SIPAGI Tx >> agi_uniqueid: 1206377474.53AGI Tx >> agi_callerid: 2000AGI Tx >> agi_calleridname: 2000AGI Tx >> agi_callingpres: 0AGI Tx >> agi_callingani2: 0AGI Tx >> agi_callington: exec format error 0AGI Tx >> agi_callingtns: 0AGI Tx >> agi_dnid: 444AGI Tx >> agi_rdnis: unknownAGI Tx >> agi_context: my-phonesAGI Tx >> agi_extension: 444AGI Tx >> agi_priority: 2AGI Tx >> agi_enhanced: 0.0AGI Tx >> agi_accountcode:AGI Tx >>AGI Rx << verbose "Failed to execute '/var/lib/asterisk/agi-bin/sample.agi':Exec format error" 2== sample.agi: Failed to execute '/var/lib/asterisk/agi-bin/sample.agi':Exec format errorAGI Tx >> 200 result=1-- AGI Script sample.agi completed, returning 0Thanks,Mark Tilghman Lesher 2008-03-24 16:28:11 UTC PermalinkRaw Message Post by mark morrenyDear friends,I am having problem with running a sample php and I can't figure out why.I can run the sample.php using CLI but when I run it inside the dialplan itdoes not work. Can someone please suggest the config problem that I mayhave made?dommy:/var/lib/asterisk/agi-bin# php sample.php#!/usr/bin/php5 -qThere seems to be an extra space at the beginning of the topmost line.Post by mark morrenyAGI Rx << verbose "Failed to execute'/var/lib/asterisk/agi-bin/sample.agi': Exec format error" 2Exec
ВСЕ НЕОТВЕЧЕННЫЕ Задайте Ваш вопрос Не работает AGI скрипт 1 Доброго дня, о великие гуру * ! :-) Накалякал скрипт, запускаю и получаю Failed to execute '/var/lib/asterisk/agi-bin/crude1.php': Exec format error" 1 Подскажите в каком направлении рыть Call-centre*CLI> == Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 -- Executing [122@test_balance:1] Answer("SIP/5603-00000000", "") in new stack -- Executing [122@test_balance:2] AGI("SIP/5603-00000000", "crude1.php") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/crude1.php