<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face="Courier New" size=2>I have a concern with Dial command, I want to enable a secondary route with a remote partner, if the first route fails then we use the second one :</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>Solution1: it will try both (there will be 2 simultanious actives calls ringing) this is not clean when calling an endusers</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2> exten => _X.,1,Dial(</FONT><A href="mailto:SIP/${EXTEN}@remote-sip1,5"><FONT face="Courier New" size=2>SIP/${EXTEN}@remote-sip1,5</FONT></A><FONT face="Courier New" size=2>)<BR> exten => _X.,1,Dial(</FONT><A href="mailto:SIP/${EXTEN}@remote-sip2,5"><FONT face="Courier New" size=2>SIP/${EXTEN}@remote-sip2,5</FONT></A><FONT face="Courier New" size=2>)</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>Solution2: it will wait until 5 seconds of timeout (on answer) and then try the second alternative "n"</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>
<DIV><FONT face="Courier New" size=2> exten => _X.,1,Dial(</FONT><A href="mailto:SIP/${EXTEN}@remote-sip1,5"><FONT face="Courier New" size=2>SIP/${EXTEN}@remote-sip1,5</FONT></A><FONT face="Courier New" size=2>)<BR> exten => _X.,n,Dial(</FONT><A href="mailto:SIP/${EXTEN}@remote-sip2,5"><FONT face="Courier New" size=2>SIP/${EXTEN}@remote-sip2,5</FONT></A><FONT face="Courier New" size=2>)</FONT></DIV></FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>the problem is we can not select what timeout represents, timeout on ACK from INVITE would be perfect I think (1 second for example), </FONT><FONT face="Courier New" size=2>timeout for answer ? this is to hard to predict, some mobile phone can ring for 30 seconds, etc.</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV></BODY></HTML>