[asterisk-users] [PHP-AGI] Problem executing script

Karim H marikounet at hotmail.com
Thu Aug 23 09:51:27 CDT 2007


Hello,I have succeded in compiling and configuring My TDM Card and asterisk, all works fine. But I have a problem using the PHP Agi.The CLI tells me that when I call my number :-- Starting simple switch on 'Zap/4-1'    -- Executing [s at incoming:1] Answer("Zap/4-1", "") in new stack    -- Executing [s at incoming:2] AGI("Zap/4-1", "rabot.agi") in new stack    -- Launched AGI Script /var/lib/asterisk/agi-bin/rabot.agi  ==  rabot.agi: Failed to execute '/var/lib/asterisk/agi-bin/rabot.agi': No such file or directory    -- AGI Script rabot.agi completed, returning 0  == Auto fallthrough, channel 'Zap/4-1' status is 'UNKNOWN'    -- Hungup 'Zap/4-1'I tought first that it was a problem of chmod so I change the chmod of all the directory agi-bin TO 777But it changed nothing. I have verify that php was well indicate at the beginning of the script :#!/usr/bin/php-qAnd there is a php exec at /usr/binAny ideas about this problem ?Thank for you helpKheraud
_________________________________________________________________
Windows Live Messenger vous offre 30 nouvelles émoticônes gratuites, installées directement dans votre Messenger !
http://www.emoticones-messenger.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070823/6134e14e/attachment.htm 


More information about the asterisk-users mailing list