[Asterisk-Users] URGENT: Problems with PHP AGI...

Matt Riddell matt.riddell at sineapps.com
Mon Aug 8 19:17:49 MST 2005


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)



More information about the asterisk-users mailing list