Created
September 5, 2011 08:13
-
-
Save kwk/1194380 to your computer and use it in GitHub Desktop.
AMI and Queue status with realtime Queues. Hi. I have an asterisk with realtime queues. When I fire an AMI "queuestatus" event for say queue 1650, the AMI returns no info for the queue. When I do "queue show 1650" on the CLI and fire the same AMI event fr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
action: queuestatus | |
queues: 1650 | |
Response: Success | |
Message: Queue status will follow | |
Event: QueueStatusComplete |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
action: queuestatus | |
queues: 1650 | |
Response: Success | |
Message: Queue status will follow | |
Event: QueueParams | |
Queue: 1650 | |
Max: 1 | |
Strategy: rrmemory | |
Calls: 0 | |
Holdtime: 0 | |
TalkTime: 0 | |
Completed: 0 | |
Abandoned: 0 | |
ServiceLevel: 0 | |
ServicelevelPerf: 0.0 | |
Weight: 0 | |
Event: QueueMember | |
Queue: 1650 | |
Name: SIP/1660 | |
Location: SIP/1660 | |
Membership: static | |
Penalty: 0 | |
CallsTaken: 0 | |
LastCall: 0 | |
Status: 1 | |
Paused: 0 | |
Event: QueueMember | |
Queue: 1650 | |
Name: SIP/1660 | |
Location: SIP/1660 | |
Membership: static | |
Penalty: 0 | |
CallsTaken: 0 | |
LastCall: 0 | |
Status: 1 | |
Paused: 0 | |
Event: QueueStatusComplete |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myhost*CLI> queue show 1650 | |
1650 has 0 calls (max 1) in 'rrmemory' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s | |
Members: | |
SIP/1660 (realtime) (Not in use) has taken no calls yet | |
SIP/1660 (realtime) (Not in use) has taken no calls yet | |
No Callers |
Is there any way that I get the queue name in that Event?
Is there any way that I get the queue name in that Event?
I'm no longer involved with Asterisk and cannot say what has changed since the 12 years ago when I posted this. Sorry.
Thank you for your reply.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Shouldn't it be
queue:
instead ofqueues:
?See: https://docs.asterisk.org/Asterisk_16_Documentation/API_Documentation/AMI_Actions/QueueStatus/