<div>You could try this one: <a href="http://www.voip-info.org/wiki/view/Asterisk+func+Devstate">http://www.voip-info.org/wiki/view/Asterisk+func+Devstate</a><br></div><div></div><div>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.</div>
<div></div><div>Just my two eurocents,</div><div>l.</div><div></div><br><div class="gmail_quote">2009/6/12 Lee, John (Sydney) <span dir="ltr">&lt;<a href="mailto:John.Lee@compuware.com">John.Lee@compuware.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I am running Asterisk 1.4.21.2<br>
<br>
For reception, I defined a simple queue with one SIP phone as the only<br>
member.<br>
<br>
When I receive an incoming call, I test QUEUE_WAITING_COUNT to see if it<br>
is &gt; 0.<br>
If it is &gt; 0, then I will playback a message to tell the caller to be<br>
patient and then do a Queue(&lt;queue-name&gt;).<br>
If QUEUE_WAITING_COUNT is zero, then I will just Queue(&lt;queue-name&gt;, r)<br>
to ring the receptionist phone without playing any message.<br>
<br>
A problem arises if the receptionist is talking to someone on the phone.<br>
In this scenario, QUEUE_WAITING_COUNT is also zero but I will need to<br>
playback a pls-be-patient message as well.<br>
<br>
So, I need to find out whether the receptionist phone is busy even if<br>
QUEUE_WAITING_COUNT = 0.<br>
<br>
Do you know if there is anyway, without dialling a SIP channel, I can<br>
check if a SIP extension is engaged or not?<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Loway - home of QueueMetrics - <a href="http://queuemetrics.com">http://queuemetrics.com</a><br><br>