<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 14 (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:Cambria;
        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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
h3
        {mso-style-priority:9;
        mso-style-link:"Heading 3 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:13.5pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
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
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
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.Heading3Char
        {mso-style-name:"Heading 3 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 3";
        font-family:"Cambria","serif";
        color:#4F81BD;
        mso-fareast-language:EN-ZA;
        font-weight:bold;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-ZA;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang="EN-ZA" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">As per <a href="http://kamailio.org/docs/modules/stable/modules/tm.html#tm.f.t_set_fr">http://kamailio.org/docs/modules/stable/modules/tm.html#tm.f.t_set_fr</a></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">(I see it is used else where in the proxy.tt2 file too).</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I tried putting this in proxy.custom.tt2 line 1076 (part of ROUTE_PSTN)</span></p><p class="MsoNormal" style="text-indent:36.0pt">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal" style="text-indent:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">#our fax testing is on subscriber with ext ID TN001FAX</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">               if($avp(s:caller_ext_subscriber_id) == "TN001FAX")</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">               {</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">                  t_set_fr(30000);</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">                  xlog("L_INFO", "Changed outbound timer for this call to 30000ms for faxing\n");</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">               }</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">               </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It logs it my proxy log, but 9 seconds is still the timeout of the INVITE</span></p><p class="MsoNormal">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Matthew Ogden [mailto:<a href="mailto:matthew@tenacit.net">matthew@tenacit.net</a>] <br>
<b>Sent:</b> 19 January 2014 06:36 PM<br><b>To:</b> 'Ivan Milivojevic'<br><b>Cc:</b> 'Spce-user'<br><b>Subject:</b> RE: [Spce-user] Spce timeout for T.38 Reinvites</span></p></div></div><p class="MsoNormal">
 </p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks Ivan</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">That’s definitely what I’m looking for, but perhaps someone out there can tell me in which section of the proxy/lb that I can have an override of the timer based on the subscriber name only. (I only need one subscriber with a much longer timeout).</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Ivan Milivojevic [<a href="mailto:edesibe@gmail.com">mailto:edesibe@gmail.com</a>] <br>
<b>Sent:</b> 19 January 2014 04:51 PM<br><b>To:</b> Matthew Ogden<br><b>Cc:</b> Spce-user<br><b>Subject:</b> Re: [Spce-user] Spce timeout for T.38 Reinvites</span></p></div></div><p class="MsoNormal"> </p><div><div><p class="MsoNormal" style="margin-bottom:12.0pt">
Hi Matthew, </p></div><p class="MsoNormal">Maybe you can try with </p><h3><a name="AEN223"><code><span style="font-size:10.0pt">fr_timer_avp</span></code></a></h3><h3>check also <a href="http://www.iptel.org/faq/sertimers">http://www.iptel.org/faq/sertimers</a></h3>
<p>Regards,</p><p>Ivan</p><p> </p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"> </p><div><p class="MsoNormal">On Sat, Jan 18, 2014 at 9:56 AM, Matthew Ogden <<a href="mailto:matthew@tenacit.net" target="_blank">matthew@tenacit.net</a>> wrote:</p>
<div><div><p class="MsoNormal" style><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks Ivan! </span></p><p class="MsoNormal" style><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal" style><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">There is obviously no way to make kamailio have different timeouts for different INVITE (T.38 vs the rest) types then?</span></p>
<p class="MsoNormal" style><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"><div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Ivan Milivojevic [mailto:<a href="mailto:edesibe@gmail.com" target="_blank">edesibe@gmail.com</a>] <br>
<b>Sent:</b> 17 January 2014 08:58 PM<br><b>To:</b> Matthew Ogden<br><b>Cc:</b> Spce-user<br><b>Subject:</b> Re: [Spce-user] Spce timeout for T.38 Reinvites</span></p></div></div><div><div><p class="MsoNormal" style> </p>
<div><div><div><div><p class="MsoNormal" style="margin-bottom:12.0pt">HI Matthew,</p></div><p class="MsoNormal" style="margin-bottom:12.0pt">You can check timeout on kamailio-proxy side...</p></div><div><p class="MsoNormal" style>
# kamailio.cfg.tt2</p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt">modparam("tm", "fr_timer", 9000) ### based on doc ### Timer which hits if no final reply for a request or ACK for a negative INVITE reply arrives (in seconds). <br>
modparam("tm", "fr_inv_timer", 180000)</p></div><p class="MsoNormal" style>Regards,</p></div><p class="MsoNormal" style>Ivan</p><div><p class="MsoNormal" style> </p></div></div><div><p class="MsoNormal" style="margin-bottom:12.0pt">
 </p><div><p class="MsoNormal" style>On Fri, Jan 17, 2014 at 6:07 PM, Matthew Ogden <<a href="mailto:matthew@tenacit.net" target="_blank">matthew@tenacit.net</a>> wrote:</p><div><div><p class="MsoNormal" style>HI </p>
<p class="MsoNormal" style> </p><p class="MsoNormal" style>What sets the timeout for a T38 reinvite on SPCE? My timeout is 4000ms for Sems in config.yml, so clearly its not that, since this took exactly 9000ms. </p><p class="MsoNormal" style>
 </p><p class="MsoNormal" style>What timer/timeout made my SIP server cancel the reinvite? The reason I need a longer timeout is, the recipient company is answering the call, then forwarding the through a few rings (extra time before the sync can actually be caught for t.38).</p>
<p class="MsoNormal" style> </p><p class="MsoNormal" style>in this wireshark call graph, </p><p class="MsoNormal" style>The left line is my subscriber,</p><p class="MsoNormal" style>The middle line is sipserver</p><p class="MsoNormal" style>
 </p><p class="MsoNormal" style>Here is picture,</p><p class="MsoNormal" style><img border="0" width="455" height="573" id="_x0000_i1025" src="cid:image001.png@01CF15DD.FCA2D800"></p><p class="MsoNormal" style> </p><p class="MsoNormal" style>
Below and attached are the text representation</p><p class="MsoNormal" style>Conv.| Time    | subscriber                          | Peer                           |</p><p class="MsoNormal" style>     |         |                   | my server     |                   </p>
<p class="MsoNormal" style>2    |18:46:27.453879|         INVITE SDP (g711A)            |                   |SIP From: <sip:2XXXXXXXXX@subscriberip:5060 To:<sip:0XXXXXXXXX@spceIP:5060</p><p class="MsoNormal" style>     |         |(5060)   ------------------>  (5060)   |                   |</p>
<p class="MsoNormal" style>2    |18:46:27.454546|         100 Trying|                   |                   |SIP Status</p><p class="MsoNormal" style>     |         |(5060)   <------------------  (5060)   |                   |</p>
<p class="MsoNormal" style>2    |18:46:27.456403|         407 Proxy Authentication Required          |                   |SIP Status</p><p class="MsoNormal" style>     |         |(5060)   <------------------  (5060)   |                   |</p>
<p class="MsoNormal" style>2    |18:46:27.510806|         ACK       |                   |                   |SIP Request</p><p class="MsoNormal" style>     |         |(5060)   ------------------>  (5060)   |                   |</p>
<p class="MsoNormal" style>2    |18:46:27.514119|         INVITE SDP (g711A)            |                   |SIP From: <sip:2XXXXXXXXX@subscriberip:5060 To:<sip:0XXXXXXXXX@spceIP:5060</p><p class="MsoNormal" style>     |         |(5060)   ------------------>  (5060)   |                   |</p>
<p class="MsoNormal" style>2    |18:46:27.514636|         100 Trying|                   |                   |SIP Status</p><p class="MsoNormal" style>     |         |(5060)   <------------------  (5060)   |                   |</p>
<p class="MsoNormal" style>-----------------------------------------------------------------------------</p><p class="MsoNormal" style>3    |18:46:27.522117|                   |         INVITE SDP (g711A)            |SIP From: <sip:2XXXXXXXXX@subscriberip To:<sip:2XXXXXXXXXX@peerip</p>
<p class="MsoNormal" style>     |         |                   |(5060)   ------------------>  (5060)   |</p><p class="MsoNormal" style>3    |18:46:27.536103|                   |         100 Giving a try              |SIP Status</p>
<p class="MsoNormal" style>     |         |                   |(5060)   <------------------  (5060)   |</p><p class="MsoNormal" style>3    |18:46:28.648929|                   |         200 OK SDP (g711A)            |SIP Status</p>
<p class="MsoNormal" style>     |         |                   |(5060)   <------------------  (5060)   |</p><p class="MsoNormal" style>-----------------------------------------------------------------------------</p><p class="MsoNormal" style>
2    |18:46:28.650490|         200 OK SDP (g711A)            |                   |SIP Status</p><p class="MsoNormal" style>     |         |(5060)   <------------------  (5060)   |                   |</p><p class="MsoNormal" style>
2    |18:46:28.708976|         ACK       |                   |                   |SIP Request</p><p class="MsoNormal" style>     |         |(5060)   ------------------>  (5060)   |                   |</p><p class="MsoNormal" style>
-----------------------------------------------------------------------------</p><p class="MsoNormal" style>3    |18:46:28.710179|                   |         ACK       |                   |SIP Request</p><p class="MsoNormal" style>
     |         |                   |(5060)   ------------------>  (5060)   |</p><p class="MsoNormal" style>-----------------------------------------------------------------------------</p><p class="MsoNormal" style>2    |18:46:28.712202|         INVITE SDP (t38)              |                   |SIP From: <sip:2XXXXXXXXX@subscriberip:5060 To:<sip:0@spceIP:5060</p>
<p class="MsoNormal" style>     |         |(5060)   ------------------>  (5060)   |                   |</p><p class="MsoNormal" style>2    |18:46:28.712970|         100 Trying|                   |                   |SIP Status</p>
<p class="MsoNormal" style>     |         |(5060)   <------------------  (5060)   |                   |</p><p class="MsoNormal" style>-----------------------------------------------------------------------------</p><p class="MsoNormal" style>
3    |18:46:28.713577|                   |         INVITE SDP (t38)              |SIP From: <sip:2XXXXXXXXX@subscriberip To:<sip:2XXXXXXXXXX@peerip</p><p class="MsoNormal" style>     |         |                   |(5060)   ------------------>  (5060)   |</p>
<p class="MsoNormal" style>3    |18:46:28.717171|                   |         100 Giving a try              |SIP Status</p><p class="MsoNormal" style>     |         |                   |(5060)   <------------------  (5060)   |</p>
<p class="MsoNormal" style>-----------------------------------------------------------------------------</p><p class="MsoNormal" style>2    |18:46:37.713078|         408 Request Timeout           |                   |SIP Status</p>
<p class="MsoNormal" style>     |         |(5060)   <------------------  (5060)   |                   |</p><p class="MsoNormal" style>2    |18:46:37.768451|         ACK       |                   |                   |SIP Request</p>
<p class="MsoNormal" style>     |         |(5060)   ------------------>  (5060)   |                   |</p><p class="MsoNormal" style>2    |18:46:37.770487|         BYE       |                   |                   |SIP Request</p>
<p class="MsoNormal" style>     |         |(5060)   ------------------>  (5060)   |                   |</p><p class="MsoNormal" style>2    |18:46:37.771110|         100 Trying|                   |                   |SIP Status</p>
<p class="MsoNormal" style>     |         |(5060)   <------------------  (5060)   |                   |</p><p class="MsoNormal" style>2    |18:46:37.772098|         200 OK    |                   |                   |SIP Status</p>
<p class="MsoNormal" style>     |         |(5060)   <------------------  (5060)   |                   |</p><p class="MsoNormal" style>-----------------------------------------------------------------------------</p><p class="MsoNormal" style>
3    |18:46:37.772169|                   |         ACK       |                   |SIP Request</p><p class="MsoNormal" style>     |         |                   |(5060)   ------------------>  (5060)   |</p><p class="MsoNormal" style>
3    |18:46:37.772244|                   |         BYE       |                   |SIP Request</p><p class="MsoNormal" style>     |         |                   |(5060)   ------------------>  (5060)   |</p><p class="MsoNormal" style>
3    |18:46:37.776329|                   |         BYE       |                   |SIP Request</p><p class="MsoNormal" style>     |         |                   |(5060)   <------------------  (5060)   |</p><p class="MsoNormal" style>
3    |18:46:37.776817|                   |         200 OK    |                   |SIP Status</p><p class="MsoNormal" style>     |         |                   |(5060)   ------------------>  (5060)   |</p><p class="MsoNormal" style>
3    |18:46:37.778354|                   |         200 OK    |                   |SIP Status</p><p class="MsoNormal" style>     |         |                   |(5060)   <------------------  (5060)   |</p><p class="MsoNormal" style>
3    |18:48:28.920672|                   |         408 Request Timeout           |SIP Status</p><p class="MsoNormal" style>     |         |                   |(5060)   <------------------  (5060)   |</p><p class="MsoNormal" style>
3    |18:48:28.921215|                   |         ACK       |                   |SIP Request</p><p class="MsoNormal" style>     |         |                   |(5060)   ------------------>  (5060)   |</p></div></div><p class="MsoNormal" style="margin-bottom:12.0pt">
<br>_______________________________________________<br>Spce-user mailing list<br><a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br><a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a></p>
</div><p class="MsoNormal" style> </p></div></div></div></div></div></div></div><p class="MsoNormal"> </p></div></div></div></div></body></html>