[asterisk-bugs] [JIRA] (ASTERISK-20245) Asterisk manager output for command "Action:queues" is inconsistent from other commands.

Corey Farrell (JIRA) noreply at issues.asterisk.org
Tue Dec 12 19:31:07 CST 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-20245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Corey Farrell closed ASTERISK-20245.
------------------------------------

    Resolution: Fixed

It looks like AMI "Action: Queues" no longer exists in Asterisk 15+.

> Asterisk manager output for command "Action:queues" is inconsistent from other commands.
> ----------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-20245
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20245
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Core/ManagerInterface
>    Affects Versions: 1.8.14.0
>         Environment: FreePBX 2.10.1.1 based on CentOS 5.8 final
>            Reporter: Ron Gage
>            Severity: Minor
>
> This is reference the management interface over TCP/5038
> With the apparent sole exception of the "Action:queues" command, every command that returns data does so in a key:value format.  For example - an excerpt from the Action:SipPeers command:
> Event: PeerEntry
> Channeltype: SIP
> ObjectName: 213
> ChanObjectType: peer
> IPaddress: 10.15.3.74
> IPport: 5060
> Dynamic: yes
> Forcerport: no
> VideoSupport: no
> TextSupport: no
> ACL: yes
> Status: OK (3 ms)
> RealtimeDevice: no
> With the Action:Queues command, you get an entirely different (and much harder to parse) format:
> 0157 has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:1, SL:0.0% within 300s
>    Members:
>       Ron (Local/200 at from-queue/n) (dynamic) (Not in use) has taken no calls yet
>    No Callers
> 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
> Please either fix the Queues command to provide an output consistent with other commands in the AMI or provide a method to toggle the output format of this command.



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



More information about the asterisk-bugs mailing list