[asterisk-bugs] [JIRA] (ASTERISK-4963) [patch] [post 1.2] Dynamic calculation of queue maximum length

Joel Vandal (JIRA) noreply at issues.asterisk.org
Wed Sep 10 18:16:29 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-4963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=222610#comment-222610 ] 

Joel Vandal commented on ASTERISK-4963:
---------------------------------------

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 ?

> [patch] [post 1.2] Dynamic calculation of queue maximum length
> --------------------------------------------------------------
>
>                 Key: ASTERISK-4963
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-4963
>             Project: Asterisk
>          Issue Type: New Feature
>          Components: Applications/app_queue
>            Reporter: Cyril VELTER
>         Attachments: dynqueue.patch
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list