[asterisk-users] AGISTATUS is SUCCESS even though my PHP script returned -1

Brian Hutchinson b.hutchman at gmail.com
Mon Jan 14 05:55:13 CST 2008


Hi,

Using Asterisk 1.4.17.  I'm calling a PHP script through AGI.  No matter
what my script returns (0 or -1), AGISTATUS always appears to be 0 =
SUCCESS.

I was wanting my script to be able to return a value to the dialplan and
then test AGISTATUS but it looks like I'm going down the wrong path.

Any suggestions?

Thanks,

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080114/77af1d55/attachment.htm 


More information about the asterisk-users mailing list