<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:m = 
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.2853" name=GENERATOR>
<STYLE>@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@font-face {
        font-family: Consolas;
}
@page WordSection1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
PRE {
        FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Courier New"; mso-style-priority: 99; mso-style-link: "HTML Preformatted Char"
}
SPAN.HTMLPreformattedChar {
        FONT-FAMILY: Consolas; mso-style-priority: 99; mso-style-link: "HTML Preformatted"; mso-style-name: "HTML Preformatted Char"
}
SPAN.EmailStyle19 {
        COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
.MsoChpDefault {
        FONT-SIZE: 10pt; mso-style-type: export-only
}
DIV.WordSection1 {
        page: WordSection1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US vLink=purple link=blue bgColor=white>
<DIV><FONT face=Arial size=2>If I disable the ignore early media, it do not get 
the messages such as network congestion or the number is out of service.  
They are being playing during early media.  Went thru all those 
scenarios.   The case I am trying to solve is the dead carrier which 
does happen, would be nice to detect this somehow without waiting for the normal 
progress or answer timeout.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I use another product for some tandem switching 
that does upt to 4 Invites with a retry of 1 second on no trying message 
then allows for a failover, works very good.  Customers rarely notice the 
delay.  Would really like a similar function in the 
freeswitch.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Darcy</FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=robert.hadley@teotech.com 
  href="mailto:robert.hadley@teotech.com">Robert Hadley</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=freeswitch-users@lists.freeswitch.org 
  href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, November 08, 2013 4:10 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] call 
  timeout and failover</DIV>
  <DIV><BR></DIV>
  <DIV class=WordSection1>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Hi,<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Also 
  try with setting the ignore_early_media=true or =ring_ready channel variable 
  or in the dial string.<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><A 
  href="http://wiki.freeswitch.org/wiki/Channel_Variables#ignore_early_media">http://wiki.freeswitch.org/wiki/Channel_Variables#ignore_early_media</A> 
  <o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><A 
  href="http://wiki.freeswitch.org/wiki/Early_Media#Ignoring_Early_Media">http://wiki.freeswitch.org/wiki/Early_Media#Ignoring_Early_Media</A><o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Regards,<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Robert<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
  <DIV>
  <DIV 
  style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
  <P class=MsoNormal><B><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> François 
  [mailto:fdelawarde@wirelessmundi.com] <BR><B>Sent:</B> Friday, November 08, 
  2013 12:54 PM<BR><B>To:</B> FreeSWITCH Users Help<BR><B>Subject:</B> Re: 
  [Freeswitch-users] call timeout and failover<o:p></o:p></SPAN></P></DIV></DIV>
  <P class=MsoNormal><o:p> </o:p></P>
  <P class=MsoNormal>Did you try with the "leg_progress_timeout" 
  variable?<BR><BR>François.<BR><BR>On Fri, 2013-11-08 at 15:06 -0500, fs wrote: 
  <o:p></o:p></P>
  <P class=MsoNormal><SPAN style="FONT-SIZE: 10pt">I wonder if anyone has any 
  thoughts on this.   Using continue on fail works fine for failover 
  but to the best of my knowledge it only works if you do not get an answer or 
  session progress.  The trouble with this is if you are calling cell 
  phones etc, it can take up to 12 seconds to get the messages.  I would 
  like to explore if failover could be instituted by not receiving a Trying 
  message.  This is usually returned immediately and does stop the 
  freeswitch from sending more invites.  That way, a 4 second timer could 
  be used and switch to an alternate route early and still give reasonable 
  completion times.  </SPAN><o:p></o:p></P>
  <BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt">
    <P class=MsoNormal>  <o:p></o:p></P></BLOCKQUOTE>
  <BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt">
    <P class=MsoNormal><SPAN style="FONT-SIZE: 10pt">The tcap trace below shows 
    a typical call to a cell in our area,  the trying is almost immediate 
    while the cell in this case took 5.5 seconds.  I have seen this quite 
    frequently take as long as 12 seconds.</SPAN> <o:p></o:p></P></BLOCKQUOTE>
  <BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt">
    <P class=MsoNormal>  <o:p></o:p></P></BLOCKQUOTE>
  <BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt">
    <P class=MsoNormal><SPAN style="FONT-SIZE: 10pt">Also, when calling 
    internationally, longer times are quite common.</SPAN> 
  <o:p></o:p></P></BLOCKQUOTE>
  <BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt">
    <P class=MsoNormal>  <o:p></o:p></P></BLOCKQUOTE>
  <BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt">
    <P class=MsoNormal><SPAN style="FONT-SIZE: 10pt">Perhaps this is already 
    implemented but I have not been able to find it.</SPAN> 
  <o:p></o:p></P></BLOCKQUOTE>
  <BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt">
    <P class=MsoNormal>  <o:p></o:p></P></BLOCKQUOTE>
  <BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt">
    <P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><SPAN 
    style="FONT-SIZE: 10pt">449.776291  SIP/SDP Request: INVITE <A 
    href="sip:1613802xxxx@xxx.xxx.xxx.xx">sip:1613802xxxx@xxx.xxx.xxx.xx</A>, 
    with session description</SPAN><BR><SPAN 
    style="FONT-SIZE: 10pt">449.782429  SIP Status: 100 
    Trying</SPAN><BR><SPAN style="FONT-SIZE: 10pt">456.211562  SIP/SDP 
    Status: 183 Session Progress, with session 
    description</SPAN><BR><BR><o:p></o:p></P></BLOCKQUOTE>
  <BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt">
    <P class=MsoNormal><SPAN style="FONT-SIZE: 10pt">Darcy Primrose</SPAN> 
    <o:p></o:p></P></BLOCKQUOTE>
  <BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt">
    <P class=MsoNormal><SPAN style="FONT-SIZE: 10pt">voice2net</SPAN> 
    <o:p></o:p></P></BLOCKQUOTE>
  <BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt"><PRE><o:p> </o:p></PRE><PRE>_________________________________________________________________________<o:p></o:p></PRE><PRE>Professional FreeSWITCH Consulting Services:<o:p></o:p></PRE><PRE><A href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</A><o:p></o:p></PRE><PRE><A href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</A><o:p></o:p></PRE><PRE><o:p> </o:p></PRE><PRE>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<o:p></o:p></PRE><PRE><A href="http://www.cudatel.com">http://www.cudatel.com</A><o:p></o:p></PRE><PRE><o:p> </o:p></PRE><PRE>Official FreeSWITCH Sites<o:p></o:p></PRE><PRE><A href="http://www.freeswitch.org">http://www.freeswitch.org</A><o:p></o:p></PRE><PRE><A href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</A><o:p></o:p></PRE><PRE><A href="http://www.cluecon.com">http://www.cluecon.com</A><o:p></o:p></PRE><PRE><o:p> </o:p></PRE><PRE>FreeSWITCH-users mailing list<o:p></o:p></PRE><PRE><A href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><o:p></o:p></PRE><PRE><A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><o:p></o:p></PRE><PRE>UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A><o:p></o:p></PRE><PRE><A href="http://www.freeswitch.org">http://www.freeswitch.org</A><o:p></o:p></PRE></BLOCKQUOTE>
  <P class=MsoNormal><o:p> </o:p></P></DIV>
  <P>
  <HR>
  <P></P>_________________________________________________________________________<BR>Professional 
  FreeSWITCH Consulting 
  Services:<BR>consulting@freeswitch.org<BR>http://www.freeswitchsolutions.com<BR><BR>FreeSWITCH-powered 
  IP PBX: The CudaTel Communication 
  Server<BR>http://www.cudatel.com<BR><BR>Official FreeSWITCH 
  Sites<BR>http://www.freeswitch.org<BR>http://wiki.freeswitch.org<BR>http://www.cluecon.com<BR><BR>FreeSWITCH-users 
  mailing 
  list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR>
  <P>
  <HR>
  <P></P><A></A>
  <P class="" align=left color="#000000" avgcert??>No virus found in this 
  message.<BR>Checked by AVG - <A 
  href="http://www.avg.com">www.avg.com</A><BR>Version: 2014.0.4158 / Virus 
  Database: 3615/6799 - Release Date: 11/01/13</P></BLOCKQUOTE></BODY></HTML>