[asterisk-bugs] [JIRA] (ASTERISK-28349) Pause reason not reported in QueueMember AMI event
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Wed Jan 15 07:06:25 CST 2020
[ https://issues.asterisk.org/jira/browse/ASTERISK-28349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249398#comment-249398 ]
Friendly Automation commented on ASTERISK-28349:
------------------------------------------------
Change 13624 merged by Joshua Colp:
app_queue: Deprecate the QueueMemberPause.Reason field
[https://gerrit.asterisk.org/c/asterisk/+/13624|https://gerrit.asterisk.org/c/asterisk/+/13624]
> Pause reason not reported in QueueMember AMI event
> --------------------------------------------------
>
> Key: ASTERISK-28349
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-28349
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/app_queue
> Affects Versions: 16.0.0
> Environment: Debian 9 stable
> Reporter: Niksa Baldun
> Assignee: Sean Bright
> Severity: Minor
>
> When QueuePause AMI action is issued like so:
> {code}
> Action: QueuePause
> ActionID: 44444
> Paused: 1
> Reason: Pause1
> Interface: Local/777 at member_dial
> {code}
> Asterisk responds:
> {code}
> Event: QueueMemberPause
> Privilege: agent,all
> Queue: Testing
> MemberName: 777
> Interface: Local/777 at member_dial
> StateInterface: hint:777 at from_phones
> Membership: dynamic
> Penalty: 1
> CallsTaken: 0
> LastCall: 0
> LastPause: 0
> InCall: 0
> Status: 4
> Paused: 0
> PausedReason:
> Ringinuse: 0
> Reason: Pause1
> {code}
> It is unclear from the documentation what is the difference between "Reason" and "PausedReason" fields, but the actual reason is obviously contained in "Reason" field. However, when QueueStatus action is issued, the QueueMember event only contains "PausedReason" field, which is empty, so there is no way to retrieve the information.
> {code}
> Event: QueueMember
> Queue: Testing
> Name: 777
> Location: Local/777 at member_dial
> StateInterface: hint:777 at from_phones
> Membership: dynamic
> Penalty: 1
> CallsTaken: 0
> LastCall: 0
> LastPause: 1553593409
> InCall: 0
> Status: 4
> Paused: 1
> PausedReason:
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list