>Have you tried, instead of pre-processing the caller before calling
Queue(), checking the ${QUEUESTATUS} variable.
Even when the phones are UNREACHABLE, QUEUE is still trying until it times out
- ${QUEUESTATUS} = TIMEOUT
I get the following for all the members of the queue, in a loop, until it times
out.
Executing [1001@handle-queue:3] Dial("Local/1001@handle-queue-6d01;2",
"SIP/1001") in new stack
[Nov 21 18:57:42] WARNING[4780]: app_dial.c:2196 dial_exec_full: Unable to
create channel of type 'SIP' (cause 20 - Unknown)
== Everyone is busy/congested at this time (1:0/0/1)
-- Auto fallthrough, channel 'Local/1001@handle-queue-6d01;2' status is
'CHANUNAVAIL'
-- Local/1001@handle-queue-6d01;1 is circuit-busy
-- Nobody picked up in 0 ms
[Nov 21 18:57:42] WARNING[4780]: channel.c:4622 ast_prod: Prodding channel
'Local/1001@handle-queue-6d01;2' failed
----queue.conf---------
joinempty=no
joinunavailable=no
leavewhenempty=yes
timeout=0 (for testing purposes, I set the timeout in the
application to 10 secs)
timeoutpriority=app
timeoutrestart=no
retry=0
Is it possible to make the queue not wait for the timeout and return with
JOINUNAVAIL after 1 round of testing the peers?
Thanks.
Matt
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users