[Asterisk-Users] agents and queues

Richard Lyman pchammer at dynx.net
Mon Sep 27 15:02:12 MST 2004


Asterisk wrote:
> As you say, trouble with that is the "can't tell the difference between 
> NO agents and all agents are busy" which kinda buggers up the reasons 
> for a q in the first place.
> 
> *Grin*.
> 
> I'm looking to see how difficult it would be to add a 
> NumberOfLoggedOnAgents flag to the queue definitions and be able to 
> retrieve that value via a GetNumberOfAgents(QueueName) app.
> 
> Julian
*snipped

why wouldn't you just have the return of queue doesn't exist, and 
queue empty be different (note: when the there are no agent 
logged in the queue gets torn down (doesn't exist))

and the reason it acts the way it does now, is that as soon as 
the logged in agent gets bridged to a caller, the agent is 
removed from the queue (making that agent unavailable to take a 
call)  so, getting the number of agents in a 'queue' is misleading.

just my .02




More information about the asterisk-users mailing list