Let's try the obvious first, how about<br><br>exten =&gt; q_main,1,Answer<br>exten =&gt; q_main,2,etc.<br><br>Fingers crossed :)<br><br><div><span class="gmail_quote">On 3/24/06, <b class="gmail_sendername">Douglas Garstang
</b> &lt;<a href="mailto:dgarstang@oneeighty.com">dgarstang@oneeighty.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Here you go. I'm not sure this is much use. It's a bit hard to explain as I have one system calling another via IAX where the Queue() command is executed... Calls are VOIP-&gt;VOIP, on our network... This case below is where each agent (there's 6) is rung for 30sec, but the Queue aborts after 120s, not 300s!
<br><br>extensions.conf(Caller):<br>[macro-DialIAX]<br>exten =&gt; s,1,Dial(IAX2/pbxuser@${ARG1}/${ARG2}@${ARG3})<br>exten =&gt; s,2,Goto(s-${DIALSTATUS},1)<br>exten =&gt; s-ANSWER,1,Goto(s-OK,1)<br>exten =&gt; s-NOANSWER,1,Goto(s-ERROR,1)
<br>exten =&gt; s-CONGESTION,1,Goto(s-ERROR,1)<br>exten =&gt; s-CHANUNAVAIL,1,Goto(s-ERROR,1)<br>exten =&gt; s-ERROR,1,Answer()<br>exten =&gt; s-ERROR,2,Wait,1<br>exten =&gt; s-ERROR,3,Set(i=1)<br>exten =&gt; s-ERROR,4,While($[${i} &lt; 4])
<br>exten =&gt; s-ERROR,5,Playback(cannot-complete-network-error)<br>exten =&gt; s-ERROR,6,Playback(message-number)<br>exten =&gt; s-ERROR,7,Playback(letters/o)<br>exten =&gt; s-ERROR,8,Playback(letters/e)<br>exten =&gt; s-ERROR,9,Playback(digits/9)
<br>exten =&gt; s-ERROR,10,Playback(digits/0)<br>exten =&gt; s-ERROR,11,Playback(digits/0)<br>exten =&gt; s-ERROR,12,Set(i=$[${i} + 1])<br>exten =&gt; s-ERROR,13,EndWhile<br>exten =&gt; s-ERROR,14,Hangup()<br>exten =&gt; s-OK,1,MacroExit
<br>...<br>exten =&gt; 2944000,1,Macro(DialIAX,acdserver1,q_main,oneeighty_acd)<br>exten =&gt; 2944000,2,NoOp(IM BACK)<br><br>extensions.conf(Callee):<br>exten =&gt; q_main,1,Queue(oneeighty_main||||300)<br>exten =&gt; q_main,2,NoOp(${QUEUESTATUS})
<br>exten =&gt; q_main,3,NoOp(${DIALSTATUS})<br>exten =&gt; q_main,4,Hangup<br><br>queues.conf(Callee):<br>[oneeighty_main]<br>musiconhold = default<br>joinempty = strict<br>leavewhenempty = strict<br>strategy = rrmemory<br>
timeout = 30<br>;retry = 0<br>member =&gt; Agent/80014055<br>member =&gt; Agent/80014057<br>member =&gt; Agent/80014052<br>member =&gt; Agent/80014051<br>member =&gt; Agent/80014033<br>member =&gt; Agent/80014050<br><br><br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-----Original Message-----<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;From: CC Jay [mailto:<a href="mailto:jjcoolio@gmail.com">jjcoolio@gmail.com</a>]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sent: Thu 3/23/2006 11:16 PM<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To: Asterisk Users Mailing List - Non-Commercial Discussion
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cc:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Subject: Re: [Asterisk-Users] Tearing my hair out with Queues<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;In that case, you should post part of extensions.conf which is related to Queues/agents, which makes it easier to troubleshoot your problem. Besides, you haven't mentioned how incoming calls get into your queue. PSTN or VoIP calls?
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;All providers set some limit on the time a call can be placed on their trunks without being answered. For PSTN, the time limit is 90 sec. Could that be the cause for your Queue timeout of 120 sec?<br><br><br><br>
_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br>
&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br></blockquote></div><br>