[asterisk-bugs] [Asterisk 0018986]: [patch] queue does not handle longest waiting caller first

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Apr 17 16:52:50 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18986 
====================================================================== 
Reported By:                oeboema
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18986
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.8.4-rc2 
JIRA:                       SWP-3281 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-03-17 08:01 CDT
Last Modified:              2011-04-17 16:52 CDT
====================================================================== 
Summary:                    [patch] queue does not handle longest waiting caller
first
Description: 
If you have two or more queues with shared agents (agents logged in to both
queues), both queues have the same chance of getting an agent. Suppose you
have a busy and a quiet queue it is not desirable to have the same chance,
the busy queue should get much more.


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

---------------------------------------------------------------------- 
 (0133851) prado (reporter) - 2011-04-17 16:52
 https://issues.asterisk.org/view.php?id=18986#c133851 
---------------------------------------------------------------------- 
I converted and applied you patch to our 1.4 version.
It worked fine.

The test scario was:

Two empty queues, respectively queue1 and queue2.
We put some calls waiting on both queues, the calls were put with a delay
of one minute each.

Next I logged the same agent on both queues.

The longest waiting call were answered by that agent.


Tried diferent combinations, with more agent,calls and queues. The feature
worked like promissed. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-17 16:52 prado          Note Added: 0133851                          
======================================================================




More information about the asterisk-bugs mailing list