Re: [asterisk-users] AGI doesn't execute PHP5 script

2006-08-09 Thread Matt Riddell (NZ)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan-Michael. Guenther (in-put GbR) wrote: Hi, Am Dienstag, 8. August 2006 13:41 schrieb Matt Riddell (NZ): Stefan-Michael. Guenther (in-put GbR) wrote: Hi, I'm trying to start a PHP5 script via the AGI Interface. The asterisk version is

Re: [asterisk-users] AGI doesn't execute PHP5 script

2006-08-09 Thread Stefan-Michael. Guenther (in-put GbR)
Hi, Am Mittwoch, 9. August 2006 08:09 schrieb Matt Riddell (NZ): The problem is, as you can see from the output in the CLI, that Asterisk claims that it executes the script, but nothing happens. It doesn't create the file /tmp/asterisk and it doesn't send an email. When I execute the

Re: [asterisk-users] AGI doesn't execute PHP5 script [SOLVED]

2006-08-09 Thread Stefan-Michael. Guenther (in-put GbR)
Hi, I have solved it (but don't understand yet, why it works)!!! SuSE 10.1 uses different configuration files for the cli version and the cgi version of PHP5. When I modify the first line in the script from #! /usr/bin/php5 to #! /usr/bin/php5 -c /etc/php5/cli/ the php scripts gets

Re: [asterisk-users] AGI doesn't execute PHP5 script [SOLVED]

2006-08-09 Thread Matt Riddell (NZ)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan-Michael. Guenther (in-put GbR) wrote: Yeah. That response is usually when things are not happening properly. Matt, the ouput hasn't changed, although ist script is executed properly. Why do you thing that this output shows a failure?

[asterisk-users] AGI doesn't execute PHP5 script

2006-08-08 Thread Stefan-Michael. Guenther (in-put GbR)
Hi, I'm trying to start a PHP5 script via the AGI Interface. The asterisk version is Asterisk 1.2.5-BRIstuffed-0.3.0-PRE-1k and I followed the instructions on http://www.voip-info.org/tiki-print.php?page=Asterisk+AGI+php The problem is, as you can see from the output in the CLI, that Asterisk

Re: [asterisk-users] AGI doesn't execute PHP5 script

2006-08-08 Thread Matt Riddell (NZ)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan-Michael. Guenther (in-put GbR) wrote: Hi, I'm trying to start a PHP5 script via the AGI Interface. The asterisk version is Asterisk 1.2.5-BRIstuffed-0.3.0-PRE-1k and I followed the instructions on

Re: [asterisk-users] AGI doesn't execute PHP5 script

2006-08-08 Thread Stefan-Michael. Guenther (in-put GbR)
Hi, Am Dienstag, 8. August 2006 13:41 schrieb Matt Riddell (NZ): Stefan-Michael. Guenther (in-put GbR) wrote: Hi, I'm trying to start a PHP5 script via the AGI Interface. The asterisk version is Asterisk 1.2.5-BRIstuffed-0.3.0-PRE-1k and I followed the instructions on

Re: [asterisk-users] AGI doesn't execute PHP5 script

2006-08-08 Thread Vahram Igityan
Hello Stefan-Michael., You ,need to use #!/usr/bin/php5 -q insted off #! /usr/bin/php5 i guess. Tuesday, August 8, 2006, 2:55:10 PM, you wrote: Hi, I'm trying to start a PHP5 script via the AGI Interface. The asterisk version is Asterisk 1.2.5-BRIstuffed-0.3.0-PRE-1k and I followed the