Simultaneous calls in asterisk queue using rrmemory creating issue

I have tried 2 calls simultaneously in asterisk Queue using rrmemory and tried others strategies too other than ringall and first is Call-1 and the other is Call-2 going to the same QUEUE. Our issue is that while call-1 is ringing an agent, call-2 is not being tried on any agent.
call-2 is delivered to an agent only after call-1 is answered which results in an unacceptable delay and slows down call centre operations. I am sending you 2 debug logs.You can see that both calls arrive at 14:28:08,
call-1 rings for 9 secs after which it is answered by an agent. call-2 in the meanwhile is on hold and only starts rining a free agent after call-1 has been answered i.e a delay of 9 secs. It appears
that the 2nd call is not attempted on agents even though they are free. We can see in the debug log a line “app_queue.c:4650 is_our_turn: It’s not our turn (SIP/Cloud-RT-Common-000f6546)” being repeated every second
for 9 secs and it shows “its our turn” only after call-1 is answered.

Is this normal behavior? this is a customer with 40 agents with many concurrent incoming calls and is causing us huge operational problems. Can you please suggest a fix?

================START CALL-1================

[Feb 15 14:28:08] DEBUG[30904][C-00072943]: app_queue.c:6943 queue_exec: queue: 10287-1234567890, options: tT, url: , announce: , timeout: 180, agi: , macro: , gosub: , rule: , position:
[Feb 15 14:28:08] DEBUG[30904][C-00072943]: app_queue.c:6971 queue_exec: NO QUEUE_PRIO variable found. Using default.
[Feb 15 14:28:08] DEBUG[30904][C-00072943]: app_queue.c:7023 queue_exec: queue: 10287-1234567890, expires: 1518705068, priority: 0
[Feb 15 14:28:08] DEBUG[30904][C-00072943]: app_queue.c:2857 update_realtime_members: Queue 10287-1234567890 has no realtime members defined. No need for update
[Feb 15 14:28:08] DEBUG[30904][C-00072943]: app_queue.c:2998 join_queue: Queue ‘10287-1234567890’ Join, Channel ‘SIP/Cloud-RT-Common-000f6547’, Position ‘1’
[Feb 15 14:28:08] DEBUG[30904][C-00072943]: app_queue.c:4632 is_our_turn: There is 1 available member.
[Feb 15 14:28:08] DEBUG[30904][C-00072943]: app_queue.c:4647 is_our_turn: It’s our turn (SIP/Cloud-RT-Common-000f6547).
[Feb 15 14:28:08] DEBUG[30904][C-00072943]: app_queue.c:5245 try_calling: SIP/Cloud-RT-Common-000f6547 is trying to call a queue member.
[Feb 15 14:28:08] DEBUG[30904][C-00072943]: app_queue.c:3837 ring_one: Trying ‘SIP/1028733’ with metric 6
[Feb 15 14:28:08] DEBUG[30904][C-00072943]: app_queue.c:3554 can_ring_entry: SIP/1028733 not available, can’t receive call
[Feb 15 14:28:08] DEBUG[30904][C-00072943]: app_queue.c:3837 ring_one: Trying ‘SIP/1028706’ with metric 7
[Feb 15 14:28:08] DEBUG[30904][C-00072943]: app_queue.c:3554 can_ring_entry: SIP/1028706 not available, can’t receive call
[Feb 15 14:28:08] DEBUG[30904][C-00072943]: app_queue.c:3837 ring_one: Trying ‘SIP/1028735’ with metric 8
[Feb 15 14:28:08] DEBUG[30904][C-00072943]: app_queue.c:3554 can_ring_entry: SIP/1028735 not available, can’t receive call
[Feb 15 14:28:08] DEBUG[30904][C-00072943]: app_queue.c:3837 ring_one: Trying ‘SIP/1028736’ with metric 9
[Feb 15 14:28:17] DEBUG[30904][C-00072943]: app_queue.c:3859 store_next_rr: Next is ‘SIP/1028720’ with metric 10
[Feb 15 14:28:17] DEBUG[30904][C-00072943]: app_queue.c:3288 leave_queue: Queue ‘10287-1234567890’ Leave, Channel ‘SIP/Cloud-RT-Common-000f6547’

============END CALL-1=================

============START CALL-2===============

[Feb 15 14:28:08] DEBUG[30902][C-00072942]: app_queue.c:6943 queue_exec: queue: 10287-1234567890, options: tT, url: , announce: , timeout: 180, agi: , macro: , gosub: , rule: , position:
[Feb 15 14:28:08] DEBUG[30902][C-00072942]: app_queue.c:6971 queue_exec: NO QUEUE_PRIO variable found. Using default.
[Feb 15 14:28:08] DEBUG[30902][C-00072942]: app_queue.c:7023 queue_exec: queue: 10287-1234567890, expires: 1518705068, priority: 0
[Feb 15 14:28:08] DEBUG[30902][C-00072942]: app_queue.c:2857 update_realtime_members: Queue 10287-1234567890 has no realtime members defined. No need for update
[Feb 15 14:28:08] DEBUG[30902][C-00072942]: app_queue.c:2998 join_queue: Queue ‘10287-1234567890’ Join, Channel ‘SIP/Cloud-RT-Common-000f6546’, Position ‘2’
[Feb 15 14:28:08] DEBUG[30902][C-00072942]: app_queue.c:4632 is_our_turn: There is 1 available member.
[Feb 15 14:28:08] DEBUG[30902][C-00072942]: app_queue.c:4650 is_our_turn: It’s not our turn (SIP/Cloud-RT-Common-000f6546).
[Feb 15 14:28:09] DEBUG[30902][C-00072942]: app_queue.c:4632 is_our_turn: There is 1 available member.
[Feb 15 14:28:09] DEBUG[30902][C-00072942]: app_queue.c:4650 is_our_turn: It’s not our turn (SIP/Cloud-RT-Common-000f6546).
[Feb 15 14:28:10] DEBUG[30902][C-00072942]: app_queue.c:4632 is_our_turn: There is 1 available member.
[Feb 15 14:28:10] DEBUG[30902][C-00072942]: app_queue.c:4650 is_our_turn: It’s not our turn (SIP/Cloud-RT-Common-000f6546).
[Feb 15 14:28:11] DEBUG[30902][C-00072942]: app_queue.c:4632 is_our_turn: There is 1 available member.
[Feb 15 14:28:11] DEBUG[30902][C-00072942]: app_queue.c:4650 is_our_turn: It’s not our turn (SIP/Cloud-RT-Common-000f6546).
[Feb 15 14:28:12] DEBUG[30902][C-00072942]: app_queue.c:4632 is_our_turn: There is 1 available member.
[Feb 15 14:28:12] DEBUG[30902][C-00072942]: app_queue.c:4650 is_our_turn: It’s not our turn (SIP/Cloud-RT-Common-000f6546).
[Feb 15 14:28:13] DEBUG[30902][C-00072942]: app_queue.c:4632 is_our_turn: There is 1 available member.
[Feb 15 14:28:13] DEBUG[30902][C-00072942]: app_queue.c:4650 is_our_turn: It’s not our turn (SIP/Cloud-RT-Common-000f6546).
[Feb 15 14:28:14] DEBUG[30902][C-00072942]: app_queue.c:4632 is_our_turn: There is 1 available member.
[Feb 15 14:28:14] DEBUG[30902][C-00072942]: app_queue.c:4650 is_our_turn: It’s not our turn (SIP/Cloud-RT-Common-000f6546).
[Feb 15 14:28:15] DEBUG[30902][C-00072942]: app_queue.c:4632 is_our_turn: There is 1 available member.
[Feb 15 14:28:15] DEBUG[30902][C-00072942]: app_queue.c:4650 is_our_turn: It’s not our turn (SIP/Cloud-RT-Common-000f6546).
[Feb 15 14:28:16] DEBUG[30902][C-00072942]: app_queue.c:4632 is_our_turn: There is 1 available member.
[Feb 15 14:28:16] DEBUG[30902][C-00072942]: app_queue.c:4650 is_our_turn: It’s not our turn (SIP/Cloud-RT-Common-000f6546).
[Feb 15 14:28:17] DEBUG[30902][C-00072942]: app_queue.c:4632 is_our_turn: There is 1 available member.
[Feb 15 14:28:17] DEBUG[30902][C-00072942]: app_queue.c:4650 is_our_turn: It’s not our turn (SIP/Cloud-RT-Common-000f6546).
[Feb 15 14:28:18] DEBUG[30902][C-00072942]: app_queue.c:4632 is_our_turn: There is 1 available member.
[Feb 15 14:28:18] DEBUG[30902][C-00072942]: app_queue.c:4647 is_our_turn: It’s our turn (SIP/Cloud-RT-Common-000f6546).
[Feb 15 14:28:18] DEBUG[30902][C-00072942]: app_queue.c:5245 try_calling: SIP/Cloud-RT-Common-000f6546 is trying to call a queue member.
[Feb 15 14:28:18] DEBUG[30902][C-00072942]: app_queue.c:3837 ring_one: Trying ‘SIP/1028720’ with metric 10
[Feb 15 14:28:18] DEBUG[30902][C-00072942]: app_queue.c:3554 can_ring_entry: SIP/1028720 not available, can’t receive call
[Feb 15 14:28:18] DEBUG[30902][C-00072942]: app_queue.c:3837 ring_one: Trying ‘SIP/1028721’ with metric 11
[Feb 15 14:28:18] DEBUG[30902][C-00072942]: app_queue.c:3554 can_ring_entry: SIP/1028721 not available, can’t receive call
[Feb 15 14:28:18] DEBUG[30902][C-00072942]: app_queue.c:3837 ring_one: Trying ‘SIP/1028734’ with metric 12
[Feb 15 14:28:18] DEBUG[30902][C-00072942]: app_queue.c:3554 can_ring_entry: SIP/1028734 not available, can’t receive call
[Feb 15 14:28:18] DEBUG[30902][C-00072942]: app_queue.c:3837 ring_one: Trying ‘SIP/1028717’ with metric 13
[Feb 15 14:28:18] DEBUG[30902][C-00072942]: app_queue.c:3554 can_ring_entry: SIP/1028717 not available, can’t receive call
[Feb 15 14:28:18] DEBUG[30902][C-00072942]: app_queue.c:3837 ring_one: Trying ‘SIP/1028739’ with metric 14
[Feb 15 14:28:18] DEBUG[30902][C-00072942]: app_queue.c:3554 can_ring_entry: SIP/1028739 not available, can’t receive call
[Feb 15 14:28:18] DEBUG[30902][C-00072942]: app_queue.c:3837 ring_one: Trying ‘SIP/1028737’ with metric 15
[Feb 15 14:28:20] DEBUG[30902][C-00072942]: app_queue.c:3859 store_next_rr: Next is ‘SIP/1028725’ with metric 16
[Feb 15 14:28:20] DEBUG[30902][C-00072942]: app_queue.c:3288 leave_queue: Queue ‘10287-1234567890’ Leave, Channel ‘SIP/Cloud-RT-Common-000f6546’

============END CALL-2=================

What’s your ‘autofill’ setting set to?

1 Like

autofill was not there so I set to yes now and it seems working fine

Thank you so much @johnkiniston

1 Like