<html 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" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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=NL link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Thanks guys for the info.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>Will try again and keep on it.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>Rgds,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>Gertjan<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoPlainText><span lang=EN-US>On 6/28/12 08:55:27 AM Daniel-Constantin Mierla wrote;<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoPlainText><span lang=EN-US>Hello,<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoPlainText><span lang=EN-US>On 6/27/12 6:08 PM, Corey Edwards wrote:<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt; On 06/26/2012 08:36 AM, Gertjan Wolzak wrote:<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt;&gt; Which timer do I need to use to get a failure route to reroute the <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt;&gt; call to a pstn gateway?<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt;&gt;<o:p>&nbsp;</o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt;&gt;&nbsp;&nbsp; <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt;&gt;<o:p>&nbsp;</o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt;&gt; I have tried the fr_timer which works, I set it to 5000, downside is <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt;&gt; that when I am in wifi range, I only have 5 seconds to answer the call.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt;&gt;<o:p>&nbsp;</o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt;&gt;&nbsp;&nbsp; <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt;&gt;<o:p>&nbsp;</o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt;&gt; The fr_inv_timer is not the right one I think, as I will not get any <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt;&gt; message from the called number, as that device is not connected?.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt; I'm not an expert on this, but I'll post my experience and I hope that <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt; helps. I'm using Kamailio 1.5, so perhaps YMMV.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt;<o:p>&nbsp;</o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt; I have fr_timer set to 2 seconds and fr_inv_timer set to 60 seconds. <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt; The latter can be overridden by fr_inv_timer_avp so users can alter <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt; their own timers. I do not let users change fr_timer.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt;<o:p>&nbsp;</o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt; The behavior I see is the device has 2 seconds to give a provisional <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt; response to an INVITE. If the device has powered off, changed IP, etc.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt; this timer will quickly return an error.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt;<o:p>&nbsp;</o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt; If the device is responsive and, for example, sends a 180 Ringing, the <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt; fr_timer ceases to apply and the fr_inv_timer waits 60 seconds before <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>&gt; giving up and triggering a 408 Timeout.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>it is the same in 3.x, these two parameters are the right to be used in this way.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoPlainText><span lang=EN-US>Have in mind that in 3.x the accuracy is in milliseconds:<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoPlainText><a href="http://kamailio.org/docs/modules/stable/modules/tm.html#fr_timer"><span lang=EN-US>http://kamailio.org/docs/modules/stable/modules/tm.html#fr_timer</span></a><span lang=EN-US><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoPlainText><span lang=EN-US>Another new features in 3.x is that apart of using avps to set it per transaction (still in seconds), there is a new function that can be used to set it in milliseconds per transaction:<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoPlainText><a href="http://kamailio.org/docs/modules/stable/modules/tm.html#t_set_fr"><span lang=EN-US>http://kamailio.org/docs/modules/stable/modules/tm.html#t_set_fr</span></a><span lang=EN-US><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoPlainText>Cheers,<o:p></o:p></p><p class=MsoPlainText>Daniel<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p></div></body></html>