<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>There is no 1 to 1 relation between calls/registration (or
generic SIP elements) and the TCP connections - a TCP conn may be
used by multiple such SIP elements.<br>
<br>
A TCP conn is closed by opensips if there is no traffic on it for
certain amount of time.<br>
<br>
Do you use the "tcp_persistent_flag" ?<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.11.x/registrar.html#id293556">http://www.opensips.org/html/docs/modules/1.11.x/registrar.html#id293556</a><br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 19.01.2016 13:02, Tito Cumpen wrote:<br>
</div>
<blockquote
cite="mid:CANZPVB7F9sYUXiFGbCR7E1CzWL5LRhEthWm9J54EhtcvjsESvA@mail.gmail.com"
type="cite">
<p dir="ltr">Bogdan,</p>
<p dir="ltr">Yea will the server close tcp connection to the
client if the record is replace as I mentioned ?</p>
<p dir="ltr">Thanks,<br>
Tito</p>
<div class="gmail_quote">On Jan 19, 2016 5:24 AM, "Bogdan-Andrei
Iancu" <<a moz-do-not-send="true"
href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>Hi Tito,<br>
<br>
What do you understand by socket ?? The TCP connection ?
or ?<br>
<br>
Best regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>On 15.01.2016 22:56, Tito Cumpen wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Group,
<div><br>
</div>
<div>I am currently using a max contact param within the
registrar module. I am using <span> </span><span>
if (!</span><span>save</span><span>("location","f"))
to force the new registration the case that the max
has been reached.It appears that the oldest
registration is deleted. Will the respective socket
to the deleted contact be closed after the contact
has been deleted ? Or will it linger until the
previous registration expiry time concludes?</span></div>
<div><span><br>
</span></div>
<div><span><br>
Thanks,</span></div>
<div><span>Tito</span></div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>