Display Calls in Queue

I need a ARI/AMI method to list all calls in queue to be included caller number, waiting in queue in minutes. Is it possible, if yes please guide me to the correct direction.

thanks

All the AMI actions/events are documented on the docs site[1] under the version documentation and then API Documentation. In this case it’d be QueueSummary[2] which raises QueueEntry events in response[3].

[1] https://docs.asterisk.org/
[2] QueueStatus - Asterisk Documentation
[3] QueueEntry - Asterisk Documentation

1 Like

After reviewing some documents and playing with some commands like:
Action: QueueSummary
Queue: Queue444

and Action: QueueStatus, I found that i can get my required information using QueueStatus, I will update my php script to extract only QueueEntries and will display to my Call Center Dashboard.

=================================================================
Action: QueueStatus

Response: Success
EventList: start
Message: Queue status will follow

Event: QueueParams
Queue: Queue444
Max: 0
Strategy: rrmemory
Calls: 1
Holdtime: 0
TalkTime: 0
Completed: 0
Abandoned: 0
ServiceLevel: 0
ServicelevelPerf: 0.0
ServicelevelPerf2: 0.0
Weight: 0

Event: QueueEntry
Queue: Queue444
Position: 1
Channel: PJSIP/pjsip-00000000
Uniqueid: 1722879068.0
CallerIDNum: 772394125
CallerIDName: 772394125
ConnectedLineNum: unknown
ConnectedLineName: unknown
Wait: 75
Priority: 0

thanks for sharing your ideas and the documents.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.