Queue Priority Not Respected

Home » Asterisk Users » Queue Priority Not Respected
Asterisk Users No Comments

Hello

I notice that priority of queue members is not being respected.

Using mysql realtime.

These are the queue members (in table queue_members) :

Local/queuemem0@ExternalCallFromQueue Local/queuemem1@ExternalCallFromQueue Local/queuemem2@ExternalCallFromQueue Local/queuemem3@ExternalCallFromQueue Local/queuemem4@ExternalCallFromQueue Local/queuemem5@ExternalCallFromQueue Local/queuemem6@ExternalCallFromQueue

Asterisk queue show :

sipserver*CLI> queue show myqueueq myqueueq has 0 calls (max unlimited) in ‘ringall’ strategy (10s holdtime, 99s talktime), W:0, C:13, A:0, SL:0.0% within 0s
Members:
queuemem0 (Local/queuemem0@ExternalCallFromQueue) with penalty 1
(realtime) (Not in use) has taken 5 calls (last was 551 secs ago)
queuemem1 (Local/queuemem1@ExternalCallFromQueue) with penalty 1
(realtime) (Not in use) has taken no calls yet
queuemem2 (Local/queuemem2@ExternalCallFromQueue) with penalty 2
(realtime) (Not in use) has taken 4 calls (last was 1314 secs ago)
queuemem3 (Local/queuemem3@ExternalCallFromQueue) with penalty 2
(realtime) (Not in use) has taken 3 calls (last was 1408 secs ago)
queuemem4 (Local/queuemem4@ExternalCallFromQueue) with penalty 4
(realtime) (Not in use) has taken 1 calls (last was 1937 secs ago)
queuemem5 (Local/queuemem5@ExternalCallFromQueue) with penalty 4
(realtime) (Not in use) has taken no calls yet
queuemem6 (Local/queuemem6@ExternalCallFromQueue) with penalty 3
(realtime) (Not in use) has taken no calls yet
No Callers

In verbose log I can see that queuemem6 with penalty 3 is not being contacted :

[Oct 5 10:07:17] VERBOSE[21097] app_dial.c: [Oct 5 10:07:17] — Called SIP/queuemem1
[Oct 5 10:07:17] VERBOSE[21098] app_dial.c: [Oct 5 10:07:17] — Called SIP/queuemem0
–> busy
[Oct 5 10:07:17] VERBOSE[21100] app_dial.c: [Oct 5 10:07:17] — Called SIP/queuemem2
[Oct 5 10:07:17] VERBOSE[21099] app_dial.c: [Oct 5 10:07:17] — Called SIP/queuemem3
–> busy
[Oct 5 10:07:17] VERBOSE[21101] app_dial.c: [Oct 5 10:07:17] — Called SIP/queuemem5
[Oct 5 10:07:17] VERBOSE[21102] app_dial.c: [Oct 5 10:07:17] — Called SIP/queuemem4

queuemem0 and queuemem1 (priority 1) are busy, so queuemem2 and queuemem3 (priority 2) are being called. So far so good.

But we placed queuemem2 and queuemem3 (priority 2) also busy. So queuemem6 should be rung as priority 3.

What do we see : queuemem4 and queuemem5 (priority 4) are being called !
This not correct.

queuemem6 is never contacted.

Why are priorities here not beining respected ?

Kind regards

Jonas.