[asterisk-bugs] [JIRA] (ASTERISK-29045) app_queue does not assigns the first call in queue when one or more members are not in the range of MIN and MAX penalty

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Aug 26 14:27:43 CDT 2020


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

Asterisk Team commented on ASTERISK-29045:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. Please note that log messages and other files should not be sent to the Sangoma Asterisk Team unless explicitly asked for. All files should be placed on this issue in a sanitized fashion as needed.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

> app_queue does not assigns the first call in queue when one or more members are not in the range of MIN and MAX penalty
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-29045
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29045
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 16.8.0
>         Environment: Centos7 x86_64
> Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz
> RAM: 1Gb
>            Reporter: Mario Lenis
>
> The first call in queue is not being assigned if one of the members has a penalty value out of the range. This is the setup
> {{extensions.conf}}
> {quote}
> exten => 999,1,Noop()
>  same => n,Set(QUEUE_MIN_PENALTY=0)
>  same => n,Set(QUEUE_MAX_PENALTY=99999)
>  same => n,Queue(QueueA,tT)
> {quote}
> Status of the queue
> {quote}
> *CLI> queue show 
> QueueA has 0 calls (max unlimited) in 'rrmemory' strategy (12s holdtime, 11s talktime), W:0, C:6, A:0, SL:100.0%, SL2:100.0% within 60s
>    Members: 
>       Local/1001 at agent with penalty -1 (ringinuse disabled) (Not in use) has taken no calls yet
>       Local/1002 at agent (ringinuse disabled) (Not in use) has taken 6 calls (last was 325 secs ago)
>    No Callers
> {quote}
> Then 3 calls enter to the queue, the first call is correctly assigned to the available agent.
> {quote}
> *CLI> queue show
> QueueA has 2 calls (max unlimited) in 'rrmemory' strategy (9s holdtime, 11s talktime), W:0, C:6, A:0, SL:100.0%, SL2:100.0% within 60s
>    Members: 
>       Local/1001 at agent with penalty -1 (ringinuse disabled) (Not in use) has taken no calls yet
>       Local/1002 at agent (ringinuse disabled) (in call) (In use) has taken 6 calls (last was 705 secs ago)
>    Callers: 
>       1. Local/ivr999 at funciones-generales-000000e8;2 (wait: 0:09, prio: 0)
>       2. Local/ivr999 at funciones-generales-000000e9;2 (wait: 0:05, prio: 0)
> *CLI> agent show all
> Agent-ID Name                 State       Channel                        Talking with
> 1001                          NOT_INUSE   SIP/101-00000009               
> 1002                          INUSE       SIP/102-00000006               Local/1002 at agent-000000e7;2
> {quote}
> Then the call attended by agent 1002 ends up, the next call should be {{Local/ivr999 at funciones-generales-000000e8;2}}, instead, the call assigned to the agent is {{Local/ivr999 at funciones-generales-000000e9;2}}
> {quote}
> *CLI> queue show
> QueueA has 1 calls (max unlimited) in 'rrmemory' strategy (38s holdtime, 41s talktime), W:0, C:7, A:0, SL:100.0%, SL2:100.0% within 60s
>    Members: 
>       Local/1001 at agent with penalty -1 (ringinuse disabled) (Not in use) has taken no calls yet
>       Local/1002 at agent (ringinuse disabled) (in call) (In use) has taken 7 calls (last was 73 secs ago)
>    Callers: 
>       1. Local/ivr999 at funciones-generales-000000e8;2 (wait: 3:23, prio: 0)
> {quote}
> I have reproduced the situation many times and always happens, the problem is that if more calls enter to the queue, the 1st call in the queue order would not be assigned at least until it's the only one awaiting or in worst case scenario would no be assigned at all since more an more calls may enter to the queue.



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



More information about the asterisk-bugs mailing list