[asterisk-bugs] [JIRA] (ASTERISK-28349) Pause reason not reported in QueueMember AMI event

Niksa Baldun (JIRA) noreply at issues.asterisk.org
Wed Mar 27 07:32:47 CDT 2019


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

Niksa Baldun commented on ASTERISK-28349:
-----------------------------------------

Indeed, in latest version (16.2.1), response to {{QueueStatus}} is fine. Sorry, I should have checked. There are still inconsistencies, as you noticed, but inconsistencies are the hallmark of Asterisk. :)

> 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