# Problem with QUEUE

**URL:** <https://community.asterisk.org/t/problem-with-queue/31566>\
**Category:** Asterisk Support\
**Created:** [May 27, 2010, 4:02pm UTC](https://community.asterisk.org/t/problem-with-queue/31566 "2010-05-27T16:02:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [May 27, 2010, 4:02pm UTC](https://community.asterisk.org/t/problem-with-queue/31566/1 "2010-05-27T16:02:34Z")

</div>

I have a call center environment with PBXware.I have 10 agents in a queue called ‘cust-support’.

I am using rrmemory strategy for queue.When one of my agent is on outbound call and if an incoming call comes at that time

the busy agent on outbound call is getting ring even though free members are [there.So](http://there.So) he have to hold the outbound call and transfer the call to other agents.

my queues.conf look like this…  
[general]  
useodbclog=yes  
keepstats=yes

[CustSer]  
context=queue-115  
setinterfacevar=yes  
maxlen=20  
music=default  
timeout=10  
memberdelay=1  
joinempty=yes  
leavewhenempty=no  
autofill=yes  
announce-holdtime=yes  
announce-frequency=30  
announce-round-seconds=0  
monitor-format=wav  
monitor-join=yes  
member =\> Agent/1001  
member =\> Agent/1008  
member =\> Agent/1010  
member =\> Agent/1012  
member =\> Agent/1013  
member =\> Agent/1006  
member =\> Agent/1007  
member =\> Agent/1015  
member =\> Agent/1016  
eventwhencalled=yes  
reportholdtime=yes  
retry=4  
strategy=rrmemory  
wrapuptime=9

please help me to solve this issue…

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [May 27, 2010, 4:20pm UTC](https://community.asterisk.org/t/problem-with-queue/31566/2 "2010-05-27T16:20:54Z")

</div>

AgentCallbackLogin is deprecated/removed in all supported versions of Asterisk. The official method is to use Local channels. (Permanently connected agents would either not be able to make an outgoing call, or Asterisk would have no way of knowing that they were doing so.)

Device state does not propagate through Local channels or call back agents. (However, if you used a Local channel, I suspect it could explicitly test the device state of the underlying device.)

If I remember correctly, and you are using SIP agents, I believe you will need call limits setting to give a valid in use indication, but they will have to be direct members of the queue.

---

<div class="post-metadata">

**Author:** ![mudslide567](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@mudslide567](https://community.asterisk.org/u/mudslide567)\
**Post date:** [May 27, 2010, 5:28pm UTC](https://community.asterisk.org/t/problem-with-queue/31566/3 "2010-05-27T17:28:28Z")

</div>

ringinuse=no

will help but only if the queue is able to see the device state which, as david55 states, it does if you used Local channels.

i do recall that i had this problem show up with earlier versions of asterisk [somewhere around 1.4.21 i think] where the device state was simply not seen by the queue.

---

<div class="post-metadata">

**Author:** ![mazzic](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/mazzic/32/448_2.png) [@mazzic](https://community.asterisk.org/u/mazzic)\
**Post date:** [May 28, 2010, 1:34am UTC](https://community.asterisk.org/t/problem-with-queue/31566/4 "2010-05-28T01:34:35Z")

</div>

Why would he have to take the call and transfer it? Your Timeout=10, which amounts to about 3 rings. After three rings the call should go back to the queue and since your on a rrmemory strategy, it would move on to the next agent. Atleast that is how it works on my system under 1.6.2.6.
