[asterisk-users] QueueMemberStatus
Jason Dixon
jdixon at omniti.com
Mon Jul 7 19:01:31 CDT 2008
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?
Thanks,
--
Jason Dixon
OmniTI Computer Consulting, Inc.
jdixon at omniti.com
443.325.1357 x.241
More information about the asterisk-users
mailing list