-----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 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 >>> 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 script manually on the command line, it is executes >>> without an error, the file is there and the email, too. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> Try running it from the command line and see what happens >> > I guess you meant the test.php script, right? > Executing php5 scripts on the command line isn't a problem at all, only when > they are started through AGI.
This particular script also? Are you using AGI DEBUG in console? - -- Cheers, Matt Riddell _______________________________________________ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://freevoip.gedameurope.com (Free Asterisk Voip Community) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE2XwPS6d5vy0jeVcRAlCtAJoDPCIIgX4XxVELnoQYEmvc1l+oLwCcDioH 7AyLQZcKjqrJMBxqNiM4qI8= =tgJm -----END PGP SIGNATURE----- _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
