equis software
2008-Nov-28 11:13 UTC
[asterisk-users] Priority between calls from different queues
Hi! I want to know the way that calls are answer in this case... I have queue1 and queue2, one agent that receive call from both queues. queue1 <- call1 queue1 <- call2 queue2 <- call3 queue2 <- call4 In my test the agent answer calls in this order: call1,call3,call2 and call4. I think this must be in this order call1,call2, call3, call4 like a big FIFO. Its ok this behavior? Could I set priority between queues? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081128/1c88b4b4/attachment.htm
Atis Lezdins
2008-Nov-28 13:34 UTC
[asterisk-users] Priority between calls from different queues
On Fri, Nov 28, 2008 at 1:13 PM, equis software <equissoftware at gmail.com> wrote:> Hi! > I want to know the way that calls are answer in this case... > I have queue1 and queue2, one agent that receive call from both queues. > > queue1 <- call1 > queue1 <- call2 > queue2 <- call3 > queue2 <- call4 > > In my test the agent answer calls in this order: call1,call3,call2 and > call4. > I think this must be in this order call1,call2, call3, call4 like a big > FIFO. > > Its ok this behavior? > Could I set priority between queues? >Hello, Queue has lot of different settings, like wrapuptime, strategy, etc. Also two queues usually don't know about each other, with few exceptions. One of them is shared_lastcall (introduced in Asterisk 1.6.0). There's also weight - it will help to give priority to specific queue if multiple calls are ready to go to agent in different queues. Also, you can give priority to different callers within queue by setting QUEUE_PRIO variable before sending call to queue. You could try to describe why you need two queues and what should be rules to distribute calls - so we can help you with overall architecture. 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