<div dir="ltr"><span style="font-size:12.8px">does it make sense for Kamailio to create a connection if a client behind NAT has lost the connection? because It will almost always fail.</span><div style="font-size:12.8px">It does make sense for IPv6 but not in IPv4 networks. </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 27, 2017 at 7:37 AM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Ohh, misinterpreted tcp_no_connect=no is tcp_no_connect=0, which
is the default.</p>
<p>My other remark related to user location was for the case of
tcp_no_connect=yes, which I thought is what was meant initially.<br>
</p>
Cheers,<br>
Daniel<div><div class="h5"><br>
<br>
<div class="m_-2953631827007877402moz-cite-prefix">On 27.07.17 13:30, Daniel-Constantin
Mierla wrote:<br>
</div>
<blockquote type="cite">
<p>Hello,</p>
<p>do you have tcp_no_connect=no in your config? Because I think
the default value is 0.</p>
<p>It is useful when you have client behind the nat that closed
the connection, but the contact record is still valid in
location table.<br>
</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="m_-2953631827007877402moz-cite-prefix">On 27.07.17 13:09, Vik Killa wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">I'm trying to understand the scenario when
`tcp_no_connect` should ever be set to `no`.<br>
<div>Kamailio comes with `tcp_no_connect=no` by default which
means it will try (and seemingly always fail) to create an
outbound tcp connection when a UAC's tcp connection is lost.
This in-turn could start building up the tcp write queue and
can be disastrous at scale.</div>
<div>So why would this setting (`tcp_no_connect=no`) ever be
useful?</div>
<div>Thanks</div>
</div>
<br>
<fieldset class="m_-2953631827007877402mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a class="m_-2953631827007877402moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="m_-2953631827007877402moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a>
</pre>
</blockquote>
<br>
<pre class="m_-2953631827007877402moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="m_-2953631827007877402moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="m_-2953631827007877402moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="m_-2953631827007877402moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
Kamailio World Conference - <a class="m_-2953631827007877402moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a></pre>
</blockquote>
<br>
<pre class="m_-2953631827007877402moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="m_-2953631827007877402moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="m_-2953631827007877402moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="m_-2953631827007877402moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
Kamailio World Conference - <a class="m_-2953631827007877402moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a></pre>
</div></div></div>
</blockquote></div><br></div>