[asterisk-bugs] [JIRA] (ASTERISK-28349) Pause reason not reported in QueueMember AMI event
Niksa Baldun (JIRA)
noreply at issues.asterisk.org
Tue Mar 26 05:19:47 CDT 2019
[ https://issues.asterisk.org/jira/browse/ASTERISK-28349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niksa Baldun updated ASTERISK-28349:
------------------------------------
Description:
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}
was:
When QueuePause AMI action is issued like so:
{code}
Action: QueuePause
ActionID: 44444
Paused: 1
PausedReason: 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}
> 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
> 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