[asterisk-bugs] [JIRA] (ASTERISK-29199) Queue weight and paused members issue. Calls not connected

EDV O-TON (JIRA) noreply at issues.asterisk.org
Tue Dec 8 02:50:16 CST 2020


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

EDV O-TON commented on ASTERISK-29199:
--------------------------------------

We are using realtime queues and agents but a minimum config required to recreate this is by using these statements:

queues table:

INSERT INTO `queues` (`name`, `musiconhold`, `announce`, `context`, `timeout`, `ringinuse`, `setinterfacevar`, `setqueuevar`, `setqueueentryvar`, `monitor_format`, `membermacro`, `membergosub`, `queue_youarenext`, `queue_thereare`, `queue_callswaiting`, `queue_quantity1`, `queue_quantity2`, `queue_holdtime`, `queue_minutes`, `queue_minute`, `queue_seconds`, `queue_thankyou`, `queue_callerannounce`, `queue_reporthold`, `announce_frequency`, `announce_to_first_user`, `min_announce_frequency`, `announce_round_seconds`, `announce_holdtime`, `announce_position`, `announce_position_limit`, `periodic_announce`, `periodic_announce_frequency`, `relative_periodic_announce`, `random_periodic_announce`, `retry`, `wrapuptime`, `penaltymemberslimit`, `autofill`, `monitor_type`, `autopause`, `autopausedelay`, `autopausebusy`, `autopauseunavail`, `maxlen`, `servicelevel`, `strategy`, `joinempty`, `leavewhenempty`, `reportholdtime`, `memberdelay`, `weight`, `timeoutrestart`, `defaultrule`, `timeoutpriority`) VALUES
('666', 'default', '', '', 15, 'no', 'yes', 'yes', 'yes', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 'no', 0, 5, 'no', 'no', 0, '', 0, 'yes', 'no', 5, 8, 0, 'yes', '', 'no', 0, 'no', 'no', 0, 0, 'leastrecent', 'yes', 'no', 'no', 0, 66, 'no', '', 'app'),
('667', 'default', '', '', 15, 'no', 'yes', 'yes', 'yes', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 'no', 0, 5, 'no', 'no', 0, '', 0, 'yes', 'no', 5, 8, 0, 'yes', '', 'no', 0, 'no', 'no', 0, 0, 'leastrecent', 'yes', 'no', 'no', 0, 65, 'no', '', 'app');


queue_member table:

INSERT INTO `queue_members` (`queue_name`, `interface`, `membername`, `state_interface`, `penalty`, `paused`, `uniqueid`) VALUES
('666', 'pjsip/123', 'testagent', NULL, 30, 0, 'b431d038-840b-4f2d-b81d-85bff77dc150'),
('667', 'pjsip/123', 'testagent', NULL, 30, 0, 'f8e1346b-307f-4486-b6f5-1db5e342e628');


and this extension.conf:

[default]
exten => 123,1,Dial(PJSIP/${EXTEN})
exten => _66X,1,Answer()
same => n,Queue(${EXTEN})


> Queue weight and paused members issue. Calls not connected
> ----------------------------------------------------------
>
>                 Key: ASTERISK-29199
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29199
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: .Release/Targets
>    Affects Versions: 16.15.0, 18.1.0
>         Environment: Ubuntu 20.04, Ubuntu 18.04 both with latest patches
>            Reporter: EDV O-TON
>            Assignee: EDV O-TON
>            Severity: Minor
>
> Agent has two queues A and B
> Queue A has a higher weight ( e.g. 66) than queue B (e.g. 65).
> The queue A gets a call while the agent is on call. The agent is manually paused in Queue A but not in Queue B. After the agent hangup his active call another call for queue B gets in. This one 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



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



More information about the asterisk-bugs mailing list