[asterisk-users] QueueMemberStatus
Jason Dixon
jdixon at omniti.com
Tue Jul 8 10:00:43 CDT 2008
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.
jdixon at omniti.com
443.325.1357 x.241
More information about the asterisk-users
mailing list