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

Sean Bright (JIRA) noreply at issues.asterisk.org
Tue Mar 26 14:58:47 CDT 2019


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

Sean Bright commented on ASTERISK-28349:
----------------------------------------

I can reproduce the {{QueueMemberPause}} issue (with {{Reason}} instead of {{PausedReason}}) but I can't reproduce the {{QueueStatus}} action response. This might be due to other changes in my review. If you're building from source, can you try the patch here:

https://gerrit.asterisk.org/c/asterisk/+/11170



> 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