[asterisk-users] AGI Script Returning 4

Alexander Perkins alexanderhenryperkins at gmail.com
Sat Jan 30 13:18:48 CST 2021


HI All.  I have a really strange issue that I'm two months into
troubleshooting; however, I cannot figure it out.  I have an AGI Script
(PHP) that runs every time a call comes into my Asterisk box.  Most of the
time, it runs without any issue.  However, every now and then, the PHP-AGI
script fails after it is executed and simply returns 'returning 4'.  I
verify the PHP script begins to run.  However, it appears to just stop.  I
have placed try/catch statements everywhere, but it does not seem to hit
them.

Just to verify, this is the same script running over and over with the same
parameter.

Any ideas/suggestions as of what can be happening?

Thanks,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20210130/d6290aa9/attachment.html>


More information about the asterisk-users mailing list