<span style="font-weight: bold;">Based on my experience I would say that using ${DIALSTATUS} variable would be the most common way to do it...</span><br><br><br><div><span class="gmail_quote">On 4/23/07, <b class="gmail_sendername">
Daniel Pittman</b> &lt;<a href="mailto:daniel@rimspace.net">daniel@rimspace.net</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;">
G&#39;day.<br><br>I am having reasonable success getting Asterisk 1.4.2 running and doing<br>what I want, but I can&#39;t figure out one particular idiom that I want:<br><br>There are a few situations where I want to have Asterisk push a call
<br>through to the first available transport on a list, such as:<br><br>I have two SIP ports attached to one local (two port) analog phone<br>system.&nbsp;&nbsp;I want to ring line 1 for the first call, line 2 for the second<br>call and go to voicemail for the third and subsequent.
<br><br>I can&#39;t work out the best way to express that.<br><br>Using &quot;Dial(SIP/line1&amp;SIP/line2)&quot; will ring both lines at the same time<br>which is not really what I want.<br><br>Using two sequential Dial() commands into the extension will ring the
<br>lines one after the other -- even if it times out on the first line,<br>which is again not what I want.<br><br><br>At the moment my best guess is that I need to use the DIALSTATUS<br>variable and implement the fail-over process based on that.&nbsp;&nbsp;That seems
<br>cumbersome, though -- surely this isn&#39;t a terribly uncommon requirement?<br><br>Regards,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Daniel<br><br>--<br>Digital Infrastructure Solutions -- making IT simple, stable and secure<br>Phone: 0401 155 707&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;email: 
<a href="mailto:contact@digital-infrastructure.com.au">contact@digital-infrastructure.com.au</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://digital-infrastructure.com.au/">http://digital-infrastructure.com.au/</a><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></blockquote></div><br><br clear="all"><br>-- <br>Esta mensagem (incluindo quaisquer anexos) pode conter informação confidencial para uso exclusivo do destinatário. Se não for o destinatário pretendido, não deverá usar, distribuir ou copiar este e-mail. Se recebeu esta mensagem por engano, por favor informe o emissor e elimine-a imediatamente. Obrigado.
<br><br>This e-mail message is intended only for individual(s) to whom it is addressed and may contain information that is privileged, confidential, proprietary, or otherwise exempt from disclosure under applicable law. If you believe you have received this message in error, please advise the sender by return e-mail and delete it from your mailbox. Thank you.