[Home]

Summary:ASTERISK-04963: [patch] [post 1.2] Dynamic calculation of queue maximum length
Reporter:Cyril VELTER (velter)Labels:
Date Opened:2005-09-01 12:55:34Date Closed:2011-06-07 14:03:27
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) dynqueue.patch
Description:This patch let the user configure the max queue length based on :
* Number of valid members
* Number of available members
* Number of active members
* Number of paused members

The existing maxlen is enforced if defined

the maxlen is computed as follox :
maxlen = (valid members * maxpct + active members * maxactpct + availables members * maxactpct + paused members * maxpaupct) / 100

as the different values can be negatives, its possible to get a maxlen based on active members - paused members. For example if you want 1 call per active and not paused agent, just define
maxactpct=100
maxpaupct=-100
Comments:By: Michael Jerris (mikej) 2005-12-01 13:44:18.000-0600

Can we please get an updated patch for this for current svn trunk.  Thanks.

By: Cyril VELTER (velter) 2005-12-06 04:33:57.000-0600

I will do it

By: Olle Johansson (oej) 2006-01-04 03:14:50.000-0600

Waiting for an updated patch. Please mail to the -dev list and ask for tests and reviews. Thank you.

/Olle

By: Tilghman Lesher (tilghman) 2006-01-21 23:08:40.000-0600

Reporter appears to have lost interest.  Reopen if you have a patch to upload.

By: Joel Vandal (jvandal) 2014-09-10 18:15:49.755-0500

I have an updated patch that work great with Asterisk 11.11.0, it can be of any interest ? I create a new ticket ? I must update it for Asterisk 12 or 13 if we want to see it merged in future ?