[SR-Users] How to tie Registration with Client TCP connection

Krishna Kurapati kkurapat at gmail.com
Thu Apr 4 22:43:44 CEST 2013


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?

Thanks

Krish Kura
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130404/67748c9d/attachment.htm>


More information about the sr-users mailing list