[asterisk-dev] [PATCH] Auto answer channel after successfull queue entry (was Re: [asterisk-users] Not answering call when queue is full or has no members)
Alex Hermann
alex at speakup.nl
Thu Feb 19 09:29:56 CST 2009
On Thursday 19 February 2009, Lenz Emilitri wrote:
> You can know if the queue is full before issuing the answer() or the
> queue() command, so you can avoid answering at all.
I don't think the 'maxlen' option is available from the dialplan. Further, the
QUEUE_MEMBER_COUNT function doesn't work with realtime queues.
Anyway,
I've patched the Queue application to accept an 'a' option, which will
automatically answer a channel if it has successfully entered the queue.
Patch against 1.4.21 is attached. Will submit for inclusion whenever I've
upgraded to 1.6.
--
Greetings,
Alex Hermann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: queue_auto_answer
Type: text/x-diff
Size: 3598 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20090219/783c45f7/attachment.diff
More information about the asterisk-dev
mailing list