[asterisk-users] Count Available Queue members

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Sat Jul 18 20:42:58 CDT 2009


On Saturday 18 July 2009 13:09:27 Steve Totaro wrote:
> On Sat, Jul 18, 2009 at 1:50 PM, Tilghman Lesher wrote:
> > On Saturday 18 July 2009 11:57:32 Steve Edwards wrote:
> > > > Gabriel Ortiz Lour wrote:
> > > >>   Someone know how can I check for available members on a queue
> > > >> Before I queue the call, so I can do something else with it? Note
> > > >> that is not the case for joinempty
> > >
> > Or he could just use the builtin dialplan function:
> > ${QUEUE_MEMBER_COUNT(myqueue)}
>
> I don't think that answers OP's question.  "Someone know how can I check
> for available members on a queue Before I queue the call, so I can do
> something else with it? Note that is not the case for joinempty"
>
> My understanding of QUEUE_MEMBER_COUNT just give a total of "agents" in the
> queue.
>
> Synopsis  Count number of members answering a queue

It may or may not be the answer to the OP's question, depending upon what he
meant by "available".  Without clarification, it's impossible to know.

-- 
Tilghman & Teryl
with Peter, Cottontail, Midnight, Thumper, & Johnny (bunnies)
and Harry, BB, & George (dogs)



More information about the asterisk-users mailing list