[asterisk-bugs] [JIRA] (ASTERISK-23821) AMI action 'Queues' does not return a formatted 'Response:' or 'Event:' messages. Doesn't return ActionID.

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Jun 10 16:17:57 CDT 2014


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

Rusty Newton edited comment on ASTERISK-23821 at 6/10/14 4:17 PM:
------------------------------------------------------------------

Yup it doesn't return a proper response or events like the other actions. It also doesn't return the ActionID as you saw.

In the meantime you might look at the "queuestatus" action.

The response it returns
{noformat}
Response: Success
ActionID: 999
Message: Queue status will follow

Event: QueueParams
Queue: support
Max: 0
Strategy: rrmemory
Calls: 0
Holdtime: 0
TalkTime: 0
Completed: 0
Abandoned: 0
ServiceLevel: 0
ServicelevelPerf: 0.0
Weight: 0
ActionID: 999

Event: QueueParams
Queue: sales
Max: 0
Strategy: rrmemory
Calls: 0
Holdtime: 0
TalkTime: 0
Completed: 0
Abandoned: 0
ServiceLevel: 0
ServicelevelPerf: 0.0
Weight: 0
ActionID: 999

Event: QueueStatusComplete
ActionID: 999
{noformat}

Also [QueueSummary|https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_QueueSummary]


was (Author: rnewton):
That might have been overlooked.. however that "queues" manager command doesn't seem to be too useful regardless, as it doesn't return it's response with proper events.

You might look at the "queuestatus" action.

The response it returns
{noformat}
Response: Success
ActionID: 999
Message: Queue status will follow

Event: QueueParams
Queue: support
Max: 0
Strategy: rrmemory
Calls: 0
Holdtime: 0
TalkTime: 0
Completed: 0
Abandoned: 0
ServiceLevel: 0
ServicelevelPerf: 0.0
Weight: 0
ActionID: 999

Event: QueueParams
Queue: sales
Max: 0
Strategy: rrmemory
Calls: 0
Holdtime: 0
TalkTime: 0
Completed: 0
Abandoned: 0
ServiceLevel: 0
ServicelevelPerf: 0.0
Weight: 0
ActionID: 999

Event: QueueStatusComplete
ActionID: 999
{noformat}

Also [QueueSummary|https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_QueueSummary]

> AMI action 'Queues' does not return a formatted 'Response:' or 'Event:' messages. Doesn't return ActionID.
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-23821
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23821
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 1.8.11.1, 11.7.0, 12.3.0
>         Environment: Linux pbx-01 2.6.18-238.12.1.el5 #1 SMP Tue May 31 13:23:01 EDT 2011 i686 i686 i386 GNU/Linux
>            Reporter: Stefan Krist
>            Severity: Minor
>
> Hi,
> This is my first bug report, let me know if you need more details.
> Using the AMI, Asterisk does not return the specified ActionID when listing all Queues:
> ***********************************************
> Action: Queues
> ActionID: 666
> default has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
>    No Members
>    No Callers
> ***********************************************
> Expected output would be:
> ***********************************************
> default has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
>    No Members
>    No Callers
> ActionID: 666
> ***********************************************
> This was tested on Asterisk 11.7.0 (using Elastix 2.4.0) and Asterisk 1.8.11.0 (using Elastix 2.3.0).



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list