[asterisk-dev] Queue Auto-Answer

Atis Lezdins atis at iq-labs.net
Mon Aug 31 04:21:30 CDT 2009


On Mon, Aug 31, 2009 at 10:50 AM, Alex Hermann<alex at speakup.nl> wrote:
> On Friday 28 August 2009 20:37:47 Mark Michelson wrote:
>> João Castilho wrote:
>> > I found this patch  by Alex Hermann in the Asterisk mailing list, a
>> > try it with the recommended 1.4.21 version and whih 1.4.25.1 and
>> > doesn't work.
>> > There a way, to have queue auto-answer, like this patch promissed?
>> > Or there is a way to have auto-answer on-demand, with out the
>> > softphone require a SIP Header like call-info?
>
> The patch has nothing to do with letting a phone auto-answer a call. It makes
> it possible for Asterisk to answer the call _only_ when queue entry is
> successful.
>
>> <patch snipped>
>>
>> What's wrong with
>>
>> exten => blah,1,Answer
>> exten => blah,n,Queue(foo)
>
> For me, I don't want the call answered unless I'm sure it will enter the
> queue, ie there are agents logged in, queue isn't full. The patch makes that
> possible as the queue will answer the call.
>

Why not use QUEUE_MEMBER_COUNT and QUEUE_WAITING_COUNT to test that
before sending call to queue?

Regards,
Atis

-- 
Atis Lezdins,
VoIP Project Manager / Developer,
IQ Labs Inc,
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835



More information about the asterisk-dev mailing list