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

Jay Milk ast-users at skimmilk.net
Mon Aug 8 23:50:28 MST 2005


A) AGI prefers the CLI version.

B) Use VERBOSE, write to stderr or dump any debug messages in your own
log file

C) Of course not, thanks to you.  Include scripts and debug output, and
maybe we'll get closer.

Just tell me we're not doing your homework for you.

> -----Original Message-----
> From: Leo Burd [mailto:leob at media.mit.edu] 
> Sent: Monday, August 08, 2005 2:48 PM
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] URGENT: Problems with PHP AGI...
> 
> 
> 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:
> 
> 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?
> 
> Thanks in advance for any help,
> 
> Leo
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com 
> http://lists.digium.com/mailman/listinfo/aster> isk-users
> To 
> UNSUBSCRIBE or update options visit:
>    
http://lists.digium.com/mailman/listinfo/asterisk-users






More information about the asterisk-users mailing list