Hello,

Is this option still not available ?
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.

So maybe someone already has this option in its devel branch ?



On Fri, Apr 5, 2013 at 10:48 AM, Daniel-Constantin Mierla <mico...@gmail.com
> wrote:

> Hello,
>
>
> On 4/4/13 10:43 PM, Krishna Kurapati wrote:
>
>> Hi,
>>
>> With TCP, there is no way Server can establish a TCP connection through
>> client's Firewall/NAT.
>> So, when Client connection is disconnected from the server due to Network
>> issues, the Registration should be removed.
>>
>> 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).
>>
>> Could anyone suggest a solution?
>>
> you can use set_forward_no_connect
>
> http://www.kamailio.org/wiki/**cookbooks/4.0.x/core#set_**
> forward_no_connect<http://www.kamailio.org/wiki/cookbooks/4.0.x/core#set_forward_no_connect>
>
> Local branches will be created, but not forwarded if no connection matches
> the destination.
>
> If you follow the code for this functionality, then you should see how the
> connection is associated with a destination.
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla - http://www.asipto.com
> http://twitter.com/#!/miconda - 
> http://www.linkedin.com/in/**miconda<http://www.linkedin.com/in/miconda>
> Kamailio World Conference, April 16-17, 2013, Berlin
>  - http://conference.kamailio.com -
>
>
> ______________________________**_________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**users<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to