[Asterisk-bugs] [Asterisk 0010127]: Queue timeouts are considerably higher than expected

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jul 18 11:29:17 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10127 
====================================================================== 
Reported By:                bcnit
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10127
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.6 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             07-05-2007 20:31 CDT
Last Modified:              07-18-2007 11:29 CDT
====================================================================== 
Summary:                    Queue timeouts are considerably higher than expected
Description: 
A queue is defined as follows:

----------------------------
[testq]
timeout=10
retry=5
strategy=ringall
wrapuptime=0
maxlen=0
joinempty=no
leavewhenempty=yes
eventmemberstatus=no
eventwhencalled=no
reportholdtime=no
memberdelay=0
weight=0
timeoutrestart=0
autopause=no
member => SIP/100
member => SIP/101
member => SIP/102
----------------------------

When called with 'Queue(testq,n)':
1 - The phones ring for 10 seconds.
2 - There is 5 seconds silence
3 - The phones ring for 10 seconds.
4 - There is 5 seconds silence
5 - The call exits the queue on the time-out cycle

So, despite the queue having a timeout of 10 seconds, the call is in the
queue for 30.

When called with 'Queue(testq,n,,,10):
1 - The phones ring for 10 seconds.
2 - There is 5 seconds silence
3 - The call exits the queue (no mention is made of the time-out cycle).

So, despite coding an explicit 10 seconds timeout, the call is in the
queue for 15.


====================================================================== 

---------------------------------------------------------------------- 
 blitzrage - 07-18-07 11:29  
---------------------------------------------------------------------- 
Just did some testing with this patch, and the very first time I called
into the Queue, it called all three members (using the round robin w/
memory strategy), then exited and continued on in the dialplan. This is
exactly what was wanted.

However, on subsequent calls into the Queue, only one member was rung,
then we'd exit and continue on in the dialplan, which was the original
problem reported upon re-opening the ticket.

If I restart Asterisk it appears to work the first try, but then falls
back to original behaviour. Also, I noticed in the 2nd test that 2 phones
were rung, but when the system would go to ring the 3rd phone it just sat
there, then reported back "Nobody picked up in 10000ms" and then continued
on (like it tried to call the 3rd member, but never actually did... ?)

I'm on IRC if you need more info or testing from me. This patch seems
close though! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-18-07 11:29  blitzrage      Note Added: 0067523                          
======================================================================




More information about the asterisk-bugs mailing list