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

2007-08-23 Thread Karim H
error in the script itself asterisk give back : No such file or directory even if the error is just that ";" is missing...Thanks for the helpFrom: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Thu, 23 Aug 2007 14:51:27 +Subject: [asterisk-users] [PHP-AGI] Problem executing script He

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

2007-08-23 Thread Mik Cheez
Did you confirm that the file exists? /var/lib/asterisk/agi-bin/rabot.agi Also, in your script (wherever it actually is), put a space between php and -q #!/usr/bin/php -q Karim H wrote: > Hello, > I have succeded in compiling and configuring My TDM Card and asterisk, > all works fine. > But I

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

2007-08-23 Thread Louis-Eric
Hey there, The file must be accessible by the process calling upon it. Try a chown using the Asterisk process user name. Cheers, Louis-Eric At 09:51 AM 8/23/2007, Karim H wrote: Hello, I have succeded in compiling and configuring My TDM Card and asterisk, all works fine. But I have a p

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

2007-08-23 Thread Karim H
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 [EMAIL PROTECTED]:1] Answer("Zap/4-1", "") in new stack-- Ex