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.Lee at compuware.com>
> 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 Queue(<queue-name>).
> If QUEUE_WAITING_COUNT is zero, then I will just Queue(<queue-name>,
r)
> to ring the receptionist phone without playing any message.
>
> A problem arises if the receptionist is talking to someone on the phone.
> In this scenario, QUEUE_WAITING_COUNT is also zero but I will need to
> playback a pls-be-patient message as well.
>
> So, I need to find out whether the receptionist phone is busy even if
> QUEUE_WAITING_COUNT = 0.
>
> Do you know if there is anyway, without dialling a SIP channel, I can
> check if a SIP extension is engaged or not?
>
>
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
Loway - home of QueueMetrics - http://queuemetrics.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20090615/50d589b5/attachment.htm