Skip to content

Instantly share code, notes, and snippets.

@kwk
Created September 5, 2011 08:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kwk/1194380 to your computer and use it in GitHub Desktop.
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
action: queuestatus
queues: 1650
Response: Success
Message: Queue status will follow
Event: QueueStatusComplete
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
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
@Deantwo
Copy link

Deantwo commented Apr 11, 2018

@ax-abdullah
Copy link

Is there any way that I get the queue name in that Event?

@kwk
Copy link
Author

kwk commented Sep 4, 2023

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.

@ax-abdullah
Copy link

Thank you for your reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment