[Asterisk-Users] AddQueueMember and call distribution

Nicolás Gudiño asternic at gmail.com
Fri Oct 29 11:26:01 MST 2004


Hi Jeremy,

On Fri, 29 Oct 2004 13:19:33 -0400, Jeremy Rusnak <jrusnak at gmail.com> wrote:
> Sean,
> 
> We're in the same boat.  What I have ended up doing was to use the
> roundrobin strategy.  Round robin will ring each queue member one
> after the other in a loop until someone answers.
> [snip]
> For the time being, we have been really reinforcing logging out with
> our staff.  Another thing that we do is have a cron job on the
> asterisk box that logs everyone out at the end of the day...We did
> this after a couple times where agents left themselves logged in,
> leading to the potential for customers sitting in our queue all night!

You can use gotoiftime for enforcing a queue timeout and avoid
cronjobs and angry customers sitting in the queue for too long.
Something like:

[queues]
exten => 1,1,NoOp
exten => 1,2,GotoIfTime(8:00-20:00|mon-fri|*|*?queues,1,5)
exten => 1,3,SetVar(TIMEOUT=60)
exten => 1,4,Goto(queues,1,6)
exten => 1,5,SetVar(TIMEOUT=900)
exten => 1,6,Queue(support,t,,,${TIMEOUT})
exten => 1,7,Voicemail(u100 at sip);
exten => 1,8,Hangup

Regards,

-- 
Nicolás Gudiño
Buenos Aires - Argentina



More information about the asterisk-users mailing list