[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)

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Thu Feb 19 10:08:15 CST 2009


On Thursday 19 February 2009 09:29:56 Alex Hermann wrote:
> 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.

If you expect a patch like this to be considered for inclusion in Asterisk,
you'll need to sign a license agreement on http://bugs.digium.com and submit
your patch there.

-- 
Tilghman



More information about the asterisk-dev mailing list