[asterisk-bugs] [Asterisk 0009561]: agents assigned to multiple queues and weight=0 cause callers be handled in wrong order

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Aug 10 07:51:16 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=9561 
====================================================================== 
Reported By:                hehol
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   9561
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:            1.2.17  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             04-19-2007 07:00 CDT
Last Modified:              08-10-2007 07:51 CDT
====================================================================== 
Summary:                    agents assigned to multiple queues and weight=0
cause callers be handled in wrong order
Description: 
Assume the following setup:

- two queues
- weight=0 or undefined (thus default 0) in queues.conf 
- one dynamic agent logged onto the server

When placing calls in both queues, the calls are being handled
first-in-last-out instead of first-in-first-out, i.e. the last caller to
join either of the two queues will be served to the agent first.
====================================================================== 

---------------------------------------------------------------------- 
 hehol - 08-10-07 07:51  
---------------------------------------------------------------------- 
Here is a sample queue from queues.conf:

[queue-support]
queue-youarenext=queue-youarenext
queue-thereare=queue-thereare
queue-callswaiting=queue-callswaiting
queue-holdtime=queue-holdtime
queue-minutes=queue-minutes
queue-seconds=queue-seconds
queue-thankyou=queue-thankyou
queue-lessthan=queue-less-than
queue-reporthold=queue-reporthold
timeout=22
retry=5
maxlen=0
joinempty=strict
leavewhenempty=yes
eventwhencalled=yes
reportholdtime=yes
wrapuptime=45
announce-frequency=120
announce-holdtime=yes
timeoutrestart=yes
musiconhold = default
strategy = ringall
weight=1

The members are logging in via AddQueueMember(). Sorry for not being more
precise about this. I'm not using realtime queue members.

I haven't tested the problem against Asterisk 1.4. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-10-07 07:51  hehol          Note Added: 0068704                          
======================================================================




More information about the asterisk-bugs mailing list