-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Mehmet Avcioglu Sent: Friday, September 23, 2011 12:02 PM To: [email protected] Subject: [asterisk-users] AGI Problem
Hello, I have an AGI script that occasionally disappears without completing its action and asterisk logs the following. <Local/0123456@context-f46e;1>AGI Script script.php completed, returning 4 Spawn extension (context, 0123456, 2) exited non-zero on 'Local/0123456@context-f46e;1' I figured this was due to channel hanging up and * sending a SIGHUP to the script and added a catch and ignore for SIGHUP and SIGPIPE. But I still have instances where AGI script gets lost. I am running 1.8. Any ideas what "returning 4" really means, where should I concentrate? Thanks -- Mehmet Just a WAG - 4 is the error level returned by your php script, where it normally returns 0. -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
