On Tue, Jul 08, 2008 at 12:10:05PM +1200, Matt Riddell wrote: > -----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
This does not appear to show the correct status of an extension. It appears that ExtensionState also always reports Status of -1. Are there any Actions or Commands that will report the correct status of an extension? Thanks, -- Jason Dixon OmniTI Computer Consulting, Inc. [EMAIL PROTECTED] 443.325.1357 x.241 _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
