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
--
_____________________________________________________________________
-- 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

Reply via email to