Summary:ASTERISK-04637: [patch] queue members with multiple devices.
Reporter:Diego Ercolani (dercol)Labels:
Date Opened:2005-07-20 08:21:41Date Closed:2005-07-25 18:34:45
Versions:Frequency of
Environment:Attachments:( 0) 05_queue_onlyone.patch
Description:Normal queue operation is that if I have 10 agents, I also have 10 phones and so we have 10 calls that can be parallely processed.
My situation is only one operator that have a software phone and a hardphone. I've subcribed the two phones as member to the queue. When first call arrives, both apparatus rings and then operator answer to one or the other. While operator is online, can arrive next call. It's very annoying that asterisk ring the other phone as the operator is busy. So it would be useful that asterisk could handle more devices and group devices to a single operator.


My solution is a legacy solution. I've introduced in queues.conf a queue parameter that is called: onlyone

onlyone=0 ; normal queue operation
onlyone=1 ; when call arrives, is verified through a scan to members of the queue if one of the member is in use. if is found in use the state of the queue is configured as QUEUE_FULL
Comments:By: Olle Johansson (oej) 2005-07-20 08:27:53

Please, only english comments in Asterisk source code!

By: Michael Jerris (mikej) 2005-07-20 08:52:18

This can already be done with groups and chan local, is there a compelling reason to add this when it can already be accomplished in the dialplan?

By: Olle Johansson (oej) 2005-07-20 09:33:12

Not really.

By: Olle Johansson (oej) 2005-07-20 09:59:14

No compelling reason that is.

By: Kevin P. Fleming (kpfleming) 2005-07-25 18:34:23

There is no need to build this logic into app_queue, it can be done at least two different ways via the dialplan already.