[asterisk-users] Priority + 101 exit

Anton Frolov afng072 at frols.com
Thu Jan 11 01:53:38 MST 2007


AFAIK, these priorities are the extensions.conf stuff. You don't have them in
AGI. Just analyze the return value and do what you want.

AF.


Yuan LIU wrote:
> Many built-in applications jump to current priority + 101 upon
> unfavourable output.  Does this apply to macros and AGI's also? 
> Precisely, when an AGI returns non-zero, will Asterisk automatically
> take the call to +101?  And when a macro hits an invalid extension, will
> Asterisk automatically take the call to +101? (So far the "i" extension
> could not be reached from within a macro even with Goto, but that's
> another question.)
> 
> Also, what's behind this magic number 101?  Any tradition or arbitrary?
> (Some apps take 51 and 101 as two conditional exits.)
> 
> Yuan Liu
> 
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users


More information about the asterisk-users mailing list