[asterisk-bugs] [JIRA] (ASTERISK-29971) Calls not connected while using min_/max_penalty and weight

EDV O-TON (JIRA) noreply at issues.asterisk.org
Wed Mar 16 05:08:07 CDT 2022


EDV O-TON created ASTERISK-29971:
------------------------------------

             Summary: Calls not connected while using min_/max_penalty and weight
                 Key: ASTERISK-29971
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29971
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Applications/app_queue
    Affects Versions: 18.10.1
         Environment: Ubuntu 20.04 with latest patches
            Reporter: EDV O-TON
            Severity: Critical
         Attachments: debuglog.txt

We have some queues where we use queuerules and min-/max-penalties to create an overflow to other agents. If the weight of the queue with penalty settings is higher than other ones the agents are in, they will not get any calls of these queues until there are no calls for the higher weighted queues.

Description:

Agent has two queues A and B, both with penalty 60.
Queue A has a higher weight ( e.g. 66) than queue B (e.g. 65).
Queue A has a min_penalty = 0 and max_penalty = 50, so that the agent is outside the range. Queue A has a queuerule, that will raise the maxpenalty after 30 seconds by 10, so that the agent gets the call.
The queue A gets a call, then queue B gets a call, too. The queue B call isn't transferred to the agent until the call in queue A is connected to another agent or the caller quits.

A test with weights vice versa worked as expected and the call ist immediately connected to the agent



Here are the minimal config files to reproduce:

queues.conf
------------
[666]
weight=66
member => PJSIP/123,60,testagent
defaultrule = testrule

[667]
weight=65
member => PJSIP/123,60,testagent
------------

extension.conf
------------
[default]

exten => 666,1,Answer()
same => n,Set(QUEUE_MIN_PENALTY=0)
same => n,Set(QUEUE_MAX_PENALTY=50)
same => n,Queue(666)

exten => 667,1,Answer()
same => n,Queue(667)
------------

queuerules.conf
------------
[testrule]
penaltychange => 30,+10
------------




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



More information about the asterisk-bugs mailing list