[asterisk-bugs] [JIRA] (ASTERISK-27597) AMI Queuestatus not working (with realtime queue)

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Thu Jan 18 12:04:49 CST 2018


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

Kevin Harwell commented on ASTERISK-27597:
------------------------------------------

I was able to replicate:

1) Setup queues in realtime
2) Execute the [queuestatus AMI action|https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+ManagerAction_QueueStatus] specifying the configured queue name
3) Observed the following in the ami output:
{noformat}
Response: Success
EventList: start
Message: Queue status will follow

Event: QueueStatusComplete
EventList: Complete
ListItems: 0
{noformat}
4) Executed the "queue show <queue name>" on the Asterisk CLI *or* executed the [queues AMI action|https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+ManagerAction_Queues]
5) Repeated the queuestatus ami action again and the queue data was output:
{noformat}
Response: Success
EventList: start
Message: Queue status will follow

Event: QueueParams
Queue: 100
Max: 0
Strategy: fewestcalls
Calls: 0
Holdtime: 0
TalkTime: 0
Completed: 0
Abandoned: 0
ServiceLevel: 0
ServicelevelPerf: 0.0
Weight: 0

Event: QueueMember
Queue: 100
Name: 101
Location: Local/101 at default
StateInterface: hint:101 at default
Membership: static
Penalty: 0
CallsTaken: 0
LastCall: 0
InCall: 0
Status: 5
Paused: 0
PausedReason: 

Event: QueueMember
Queue: 100
Name: 161
Location: Local/161 at default
StateInterface: hint:161 at default
Membership: static
Penalty: 0
CallsTaken: 0
LastCall: 0
InCall: 0
Status: 5
Paused: 0
PausedReason: 

Event: QueueStatusComplete
EventList: Complete
ListItems: 3
{noformat}

> AMI Queuestatus not working (with realtime queue)
> -------------------------------------------------
>
>                 Key: ASTERISK-27597
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27597
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/ManagerInterface
>    Affects Versions: 13.19.0
>            Reporter: cagdas kopuz
>
> When I make AMI request "queuestatus", ami returns empty stats. If i run "queue show 999" command on CLI. Afther that, Queuestatus response filled and correct.
> 1- AMI queuestatus -> response empty
> 2- "queue show 999" on asterisk CLI
> 3- AMI queuestatus -> response correct



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



More information about the asterisk-bugs mailing list