You could try this one:
http://www.voip-info.org/wiki/view/Asterisk+func+Devstate
If I can add a warning, be wary of having both ACD (Queue) and non-ACD
traffic on the same operator - you risk having awful performance.
Just my two eurocents,
l.
2009/6/12 Lee, John (Sydney) john@compuware.com
, 2009 5:10 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Simple Queue Problem
You could try this one:
http://www.voip-info.org/wiki/view/Asterisk+func+Devstate
If I can add a warning, be wary of having both ACD (Queue) and non-ACD
traffic
I am running Asterisk 1.4.21.2
For reception, I defined a simple queue with one SIP phone as the only
member.
When I receive an incoming call, I test QUEUE_WAITING_COUNT to see if it
is 0.
If it is 0, then I will playback a message to tell the caller to be
patient and then do a