Leo Burd wrote:
Hello everyone,

I'm having all sorts of problems with my PHP AGI scripts... Basically, my scripts run fine from the command line and don't do anything well called from Asterisk. Here are my questions:

Probably because it Asterisk is trying to give you info.

a) Does Asterisk require PHP CLI or CGI? From the command line, my script seems to work fine with PHP 4.3.11 (cli) but not with PHP 4.3.9 (cgi)

b) How to debug my script? According to the Asterisk CLI messages, it seems to be called, but nothing happens...

c) Any ideas of what's going on?

Are you reading back the data from Asterisk?

Are you flushing the buffers?

Have a search for this question on google.

--
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to