[Asterisk-Dev] application return codes in extensions.conf

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Thu Sep 9 20:23:04 MST 2004


On Thursday 09 September 2004 22:01, Steve Murphy wrote:
> Now, I know what to do with simple stuff, like defining stuff to do
> at extension n+101, and what to do in the n+1 step after System()
> finishes, But, how does one  handle the -1 return code?

One does not handle the -1 return code.  It generally causes an
immediate hangup of the channel.  However, I believe you might
be able to intercept it by defining an extension h.

-- 
Tilghman



More information about the asterisk-dev mailing list