<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
On 11/21/2011 09:16 PM, Matt Hamilton wrote:
<blockquote cite="mid:BAY170-W67A400DD520C8E42DFD62AB3C80@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="ltr">
<br>
<br>
<div>
<hr id="stopSpelling">>Have you tried, instead of
pre-processing the caller before calling Queue(), checking the
${QUEUESTATUS} variable. <br>
<br>
Even when the phones are UNREACHABLE, QUEUE is still trying
until it times out - ${QUEUESTATUS} = TIMEOUT<br>
<br>
I get the following for all the members of the queue, in a
loop, until it times out.<br>
<br>
Executing [1001@handle-queue:3]
Dial("Local/1001@handle-queue-6d01;2", "SIP/1001") in new
stack<br>
</div>
</div>
</blockquote>
You are calling the Dial() application here. If you are using
queues, you should use the Queue() application. <br>
Dial() does not interact with the queue or the device state for the
queue members, it just attempts to make the call. <br>
If the queue members are not available, the Queue() app will
immediately return to the next dialplan step.<br>
If the members are available, the call will be placed into the
queue. If then caller waits for TIMEOUT time, then dialplan will
continue at the next step.<br>
Either way, the ${QUEUESTATUS} variable will contain the reason it
continued.<br>
<br>
Dale<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
"The truth speaks for itself. I'm just the messenger."
Lyta Alexander - Babylon 5
</pre>
</body>
</html>