[asterisk-users] Queue priority not respected

2015-10-05 Thread Jonas Kellens

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.


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] queue priority

2007-04-02 Thread Matthew J. Roth

BJ Weschke wrote:

On 3/29/07, Jordan Novak [EMAIL PROTECTED] wrote:


What is the most stable version supporting queue priority. I have had 
many
crashes, I am using 1.2.11 and have set the weight in queues.conf. is 
there

a better way or a patch. I can't seem to find much. Any suggestions?


Do you have a bug open in mantis with a backtrace of the crash?

BJ,

This is a known issue.  After a year of instability on our production 
system, Digium support recommended removing weights from our queues.  We 
went from having daily (sometimes multiple per day) degradation failures 
(calls not tearing down, RTP inactivity timeouts, etc.), to having a 
single segfault failure in the past month.


Matthew Roth
InterMedia Marketing Solutions
Software Engineer and Systems Developer

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] queue priority causes crash

2007-04-02 Thread Matthew J. Roth

Jordan Novak wrote:
I am running 1.2.11, I have had the queue priority lock the system up 
twice in the last week. I will forgo how I know this is what caused 
it, just trust me. I used the weight function in queues.conf to add 
priority to the queue. Is there another way to do it that will make it 
more stable?

Jordan,

We had frequent lock ups using weights with queues in Asterisk Business 
Edition.  Digium tech support told us the weights were are problem, so 
we took them out.  We now log agents in with a penalty instead.  After a 
month of heavy use (200-300 concurrent calls) this seems to have 
resolved our issue.


I'm curious to know how you diagnosed the cause of the lock ups so 
quickly.  We experienced these problems for a year before we got an 
answer.  Maybe we could compare notes and help Digium resolve the 
problem so that weights can be used again.


Thank you,

Matthew Roth
InterMedia Marketing Solutions
Software Engineer and Systems Developer

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] queue priority

2007-03-30 Thread BJ Weschke

On 3/29/07, Jordan Novak [EMAIL PROTECTED] wrote:


What is the most stable version supporting queue priority. I have had many
crashes, I am using 1.2.11 and have set the weight in queues.conf. is there
a better way or a patch. I can't seem to find much. Any suggestions?


Do you have a bug open in mantis with a backtrace of the crash?

--
Bird's The Word Technologies, Inc.
http://www.btwtech.com/
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Queue priority

2007-03-29 Thread Jordan Novak
I am running 1.2.11, I have had the queue priority lock the system up 
twice in the last week. I will forgo how I know this is what caused it, 
just trust me. I used the weight function in queues.conf to add priority 
to the queue. Is there another way to do it that will make it more stable?

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] queue priority causes crash

2007-03-29 Thread Jordan Novak
I am running 1.2.11, I have had the queue priority lock the system up 
twice in the last week. I will forgo how I know this is what caused it, 
just trust me. I used the weight function in queues.conf to add priority 
to the queue. Is there another way to do it that will make it more stable?

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] queue priority

2007-03-29 Thread Jordan Novak
What is the most stable version supporting queue priority. I have had many 
crashes, I am using 1.2.11 and have set the weight in queues.conf. is there a 
better way or a patch. I can't seem to find much. Any suggestions?
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users