<div dir="ltr">Hello,<div><br></div><div style>Is this option still not available ? </div><div style>I'm asking because there was a message from, if I recall right, Olle Johansson that removing stale registrations is on the todo list of someone from the dev team.</div>
<div style><br></div><div style>So maybe someone already has this option in its devel branch ?</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 5, 2013 at 10:48 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">Hello,<div><div class="h5"><br>
<br>
On 4/4/13 10:43 PM, Krishna Kurapati wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
With TCP, there is no way Server can establish a TCP connection through client's Firewall/NAT.<br>
So, when Client connection is disconnected from the server due to Network issues, the Registration should be removed.<br>
<br>
I tried to handle this with a Event Route in tcp_read.c. However, There is not an easy way to find the Registration with TCP socket info (IP and Port of the Client).<br>
<br>
Could anyone suggest a solution?<br>
</blockquote></div></div>
you can use set_forward_no_connect<br>
<br>
<a href="http://www.kamailio.org/wiki/cookbooks/4.0.x/core#set_forward_no_connect" target="_blank">http://www.kamailio.org/wiki/<u></u>cookbooks/4.0.x/core#set_<u></u>forward_no_connect</a><br>
<br>
Local branches will be created, but not forwarded if no connection matches the destination.<br>
<br>
If you follow the code for this functionality, then you should see how the connection is associated with a destination.<br>
<br>
Cheers,<br>
Daniel<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/<u></u>miconda</a><br>
Kamailio World Conference, April 16-17, 2013, Berlin<br>
 - <a href="http://conference.kamailio.com" target="_blank">http://conference.kamailio.com</a> -<br>
<br>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</font></span></blockquote></div><br></div>