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

Steve Edwards asterisk.org at sedwards.com
Mon Jan 14 18:58:13 CST 2008


On Tue, 15 Jan 2008, Matt Riddell wrote:

> Brian Hutchinson wrote:
> |
> | 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.
>
> Why don't you just set a variable from the AGI and then test for it in
> the dialplan



More information about the asterisk-users mailing list