Upgrade 3CX to v18 and get it hosted free!

Asterisk Manager API Action QueueStatus

Author image

The “QueueStatus” request returns statistical information about calls delivered to the existing queues, as well as the corresponding service level.

The response consists of zero or more “Event: QueueParams” stanzas, one per queue. Each is followed by zero or more “Event: QueueMember” stanzas, one per agent assigned to that queue, and zero or more “Event: QueueEntry” stanzas, one for each call waiting in the queue. The whole lot ends with an “Event: QueueStatusComplete” stanza.

Parameters: ActionID, Queue, Member

The Queue parameter allows to select one queue to view its status, as with the Member parameter, that allow to select one queue member.
You can use the Member parameter with something like ‘cnlohewfuy4r89734yc8yc48’ to not receive any information about members, just info on the Queue.
If the parameters are not set all Queues and all Member will be shown.

=>Request
Action: QueueStatus

=> Return value example
Response: Success
Message: Queue status will follow

Event: QueueParams
Queue: test_queue
Max: 0
Calls: 4
Holdtime: 2
Completed: 0
Abandoned: 0
ServiceLevel: 0
ServicelevelPerf: 0.0
Weight: 0

Event: QueueMember
Queue: test_queue
Name: IAX2/testing
Location: IAX2/testing
Membership: dynamic
Penalty: 0
CallsTaken: 0
LastCall: 0
Status: 6
Paused: 0

Event: QueueEntry
Queue: test_queue
Position: 1
Channel: Local/456@loopback-6bd9,1
CallerID: unknown
CallerIDName: unknown
Wait: 17

Event: QueueEntry
Queue: test_queue
Position: 2
Channel: Local/789@loopback-687c,1
CallerID: unknown
CallerIDName: unknown
Wait: 12

Event: QueueEntry
Queue: test_queue
Position: 3
Channel: Local/432@loopback-bfd8,1
CallerID: unknown
CallerIDName: unknown
Wait: 7

Event: QueueEntry
Queue: test_queue
Position: 4
Channel: Local/765@loopback-722e,1
CallerID: unknown
CallerIDName: unknown
Wait: 2

Event: QueueParams
Queue: test2-queue
Max: 0
Calls: 0
Holdtime: 51
Completed: 8
Abandoned: 0
ServiceLevel: 0
ServicelevelPerf: 0.0
Weight: 0

Event: QueueParams
Queue: test3-queue
Max: 0
Calls: 0
Holdtime: 37
Completed: 5
Abandoned: 6
ServiceLevel: 0
ServicelevelPerf: 0.0
Weight: 0

Event: QueueStatusComplete

Status numbers explanation

  • 1 – Not in Use
  • 2 – In Use
  • 3 – Busy
  • 4 –
  • 5 – Unavailable
  • 6 – Ringing

See also

 

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.