[asterisk-users] QueueMemberStatus

Matt Riddell matt at venturevoip.com
Mon Jul 7 19:10:05 CDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jason Dixon wrote:
> On Tue, Jul 08, 2008 at 12:32:17AM +0200, Philipp Kempgen wrote:
>> Jason Dixon schrieb:
>>> I'm trying to get some useful status info on Asterisk queues.  Using the
>>> Asterisk::Manager perl module, I've attempted to gather Queues and
>>> QueueStatus, but neither are useful.  In fact, Queues only returns one
>>> out of four possible queues.
>>>
>>> I found references online to QueueMemberStatus, which is enabled by
>>> 'eventmemberstatus = yes' in queues.conf.  I've enabled this, but I
>>> get invalid command errors through the Manager or the CLI.
>> QueueMemberStatus is not an action (= command) but an event.
>>
>>> Below I've
>>> pasted dumps of each Action (QueueMemberStatus, QueueStatus, Queues).
>>> If anyone can offer some alternative suggestions on how to query the
>>> number of free extensions in a queue, I'm all ears.
>> Query the ExtensionState of each of the queue members.
> 
> This makes a lot of sense.  But rather than query the ExtensionState of
> all members, is there a simple way to query the number of free members
> for a particular queue?

Action: Command
Command: show queue my_queue_name
ActionID: my_queue_name_12345

Or just show queues.

Bear in mind that if you want to do show queues as opposed to show queue
and you are using a realtime queue which has not been used, you will
need to type show queue my_queue_name first before it will show up in
show queues.

- --
Kind Regards,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIcrBdDQNt8rg0Kp4RAkhQAJ44LZomYhLNYRBKc4th1mG3ecfjGQCgo9vd
ZvIBFNBfG/X69WxF4FkCxKw=
=dbQ2
-----END PGP SIGNATURE-----



More information about the asterisk-users mailing list