[asterisk-bugs] [JIRA] (ASTERISK-24803) (Un)PauseQueueMember AMI action writes event to queue_log even on failure
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Mon Dec 18 09:16:07 CST 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-24803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua Colp updated ASTERISK-24803:
-----------------------------------
Affects Version/s: 13.18.4
> (Un)PauseQueueMember AMI action writes event to queue_log even on failure
> -------------------------------------------------------------------------
>
> Key: ASTERISK-24803
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24803
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/ManagerInterface
> Affects Versions: 11.14.0, 13.18.4
> Reporter: WRP
> Severity: Minor
>
> If you attempt to pause an interface/agent that is not in a queue from the Asterisk CLI or via the Asterisk AMI, an error is returned that the interface/agent couldn't be found and so it couldn't be paused or unpaused. When this error occurs in the Asterisk CLI, no PAUSE, PAUSEALL, UNPAUSE, or UNPAUSEALL event is written to queue_log. This makes sense, as the command wasn't successful, so it shouldn't be logged.
> This behavior differs when this error situation arises via the Asterisk AMI. If the PauseQueueMember or UnpauseQueueMember command is run and an error is returned, an event is still logged to queue_log. This creates issues downstream when other applications try to process queue_log. They see these pause and unpause events and falsely believe that they actually occurred.
> My proposal to a solution is to eliminate writing to the queue_log when PauseQueueMember or UnpauseQueueMember completes with an error.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list