Monday, January 14, 2008

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

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

No comments:

Post a Comment