[asterisk-users] check if devices reachable in queue
Matt Hamilton
mistral9999 at hotmail.com
Tue Nov 22 08:59:25 CST 2011
Thanks Dale, you pointed me in the right direction.
> You are calling the Dial() application here. If you are using
queues, you should use the Queue() application.
I'm using Local channels with the queue:
----- queues.conf------------
[support]
member => Local/1001 at handle-queue
---extensions.conf-------------
[incoming]
Queue(support)
[handle-queue]
; some preprocessing here
same => n,Dial(....)
I found out that since I'm using the Local channel as the queue member,
the Queue() doesn't know the state the call is in. It monitors the state
of the Local channel, and not the device. However, it seems to be
possible to give the queue the actual device to monitor and associate
that with the Local channel by modifiying the member in the queues.conf:
; queues.conf
[support]
member => Local/1001@[handle-queue],,,SIP/1001
I won't be able to test this until this evening, but it seems like it's going to work...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111122/ef6c40cf/attachment.htm>
More information about the asterisk-users
mailing list