[asterisk-users] php agi and get_data errors.

Steve Edwards asterisk.org at sedwards.com
Sun Mar 1 13:24:42 CST 2009


On Sun, 1 Mar 2009, Luca Gervasi wrote:

> Hallo,
> I'm using a self-made script to get the code a user enters on my applications.
> Sadly, the code doesn't work, i push the digits, but the result is
> always an empty data.
> (code=200, result=1, data= '').

Try "agi debug" at the Asterisk console.

Pay particular attention to following the protocol. If your script does 
any output between writing its request and reading Asterisk's result, 
you're hosed.

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000



More information about the asterisk-users mailing list