Hi,<br><br>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.<br><br>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.
<br><br>Any suggestions?<br><br>Thanks,<br><br>Brian<br><br>