[asterisk-users] Queue priority not respected

Jonas Kellens jonas.kellens at telenet.be
Mon Oct 5 05:42:23 CDT 2015


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 at ExternalCallFromQueue
Local/queuemem1 at ExternalCallFromQueue
Local/queuemem2 at ExternalCallFromQueue
Local/queuemem3 at ExternalCallFromQueue
Local/queuemem4 at ExternalCallFromQueue
Local/queuemem5 at ExternalCallFromQueue
Local/queuemem6 at 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 at ExternalCallFromQueue) with penalty 1 
(realtime) (Not in use) has taken 5 calls (last was 551 secs ago)
       queuemem1 (Local/queuemem1 at ExternalCallFromQueue) with penalty 1 
(realtime) (Not in use) has taken no calls yet
       queuemem2 (Local/queuemem2 at ExternalCallFromQueue) with penalty 2 
(realtime) (Not in use) has taken 4 calls (last was 1314 secs ago)
       queuemem3 (Local/queuemem3 at ExternalCallFromQueue) with penalty 2 
(realtime) (Not in use) has taken 3 calls (last was 1408 secs ago)
       queuemem4 (Local/queuemem4 at ExternalCallFromQueue) with penalty 4 
(realtime) (Not in use) has taken 1 calls (last was 1937 secs ago)
       queuemem5 (Local/queuemem5 at ExternalCallFromQueue) with penalty 4 
(realtime) (Not in use) has taken no calls yet
       queuemem6 (Local/queuemem6 at 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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20151005/05ca3b75/attachment.html>


More information about the asterisk-users mailing list