[Asterisk-Users] Return code from queue app
Peter Svensson
psvasterisk at psv.nu
Fri Dec 10 16:23:39 MST 2004
On Fri, 10 Dec 2004, Kevin P. Fleming wrote:
> Ed Greenberg wrote:
> > The Queue app says that queue will return a value (zero or -1).
> >
> > How do I test for this value?
>
> You don't. A return value of zero means execution continues at the next
> priority in the dialplan, and -1 means the channel is hung up and
> execution stops. This is the same as most other apps in Asterisk.
Doesn't asterisk jump to the 'h' extension if it exists in the current
context on a -1 return value?
Peter
More information about the asterisk-users
mailing list