<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
On 5/9/10 12:42 PM, Pascal Maugeri wrote:
<blockquote
 cite="mid:AANLkTinB3tsFc8fAzIO4TtGdED8vIklQm6cGjcsDSqOf@mail.gmail.com"
 type="cite">Thanks for your Henning, at least I will sleep better
knowing I am not completly idiot :-))<br>
  <br>
  <div>I haven't noticed related to INVITE timers (such as the 408)
because I only make my client behind NAT to register and re-register
and verify it is always reachable in time thanks to this TCP
keep-alive. Tomorrow I will try to make a couple a calls to see if I
get this 408 you mentionned.</div>
  <div><br>
  </div>
  <div>Is there a way (either with a parameter or changing source code)
a to control the frequency of TCP k.a. ?</div>
</blockquote>
Starting with 3.0, most of tcp parameters are changeable at runtime via
RPC (you can use sercmd):<br>
<a class="moz-txt-link-freetext" href="http://www.kamailio.org/dokuwiki/doku.php/features:new-in-3.0.x#transport_layer">http://www.kamailio.org/dokuwiki/doku.php/features:new-in-3.0.x#transport_layer</a><br>
<br>
The initial value can be set via global parameters:<br>
<a class="moz-txt-link-freetext" href="http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.0.x#tcp_parameters">http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.0.x#tcp_parameters</a><br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote
 cite="mid:AANLkTinB3tsFc8fAzIO4TtGdED8vIklQm6cGjcsDSqOf@mail.gmail.com"
 type="cite">
  <div><br>
  </div>
  <div>Cheers</div>
  <div>Pascal</div>
  <div><br>
  </div>
  <div><br>
  </div>
  <div><br>
  <div class="gmail_quote">2010/5/7 Henning Westerholt <span dir="ltr">&lt;<a
 moz-do-not-send="true" href="mailto:henning.westerholt@1und1.de">henning.westerholt@1und1.de</a>&gt;</span><br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div class="im">On Friday 07 May 2010, Pascal Maugeri wrote:<br>
&gt; tcp_keepalive=yes<br>
&gt; tcp_keepidle=10<br>
&gt; tcp_connection_lifetime=3600<br>
&gt;<br>
&gt;<br>
&gt; The TCP connection is kept alive and TCP Keep-Alive packets are
sent when<br>
&gt; the TCP connection is idle.<br>
&gt;<br>
&gt; But I don't understand why the time between KA is not linear:<br>
    </div>
&gt; [..]<br>
    <div class="im">&gt; Could you explain me where do come from these
values of 75 seconds, 23, 54<br>
&gt; &nbsp;?<br>
&gt;<br>
&gt; Everything works well: my client behind NAT is kept connected but
I'd like<br>
&gt; to understand why it does work :-)<br>
    <br>
    </div>
Hi Pascal,<br>
    <br>
sounds indeed interesting. :-) Perhaps a problem with the internal
timers.. Do<br>
noticed also other timer related problems, like for internal INVITE 408<br>
replies or similar?<br>
    <br>
Cheers,<br>
    <font color="#888888"><br>
Henning<br>
    </font></blockquote>
  </div>
  <br>
  </div>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
* <a class="moz-txt-link-freetext" href="http://www.asipto.com/">http://www.asipto.com/</a>
* <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a>
* <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/danielconstantinmierla">http://www.linkedin.com/in/danielconstantinmierla</a> 
</pre>
</body>
</html>