Hello,

we have deployed a Kamailio acting as SIP proxy on a RHEL 7.2 machine.
Clients (mainly mobile phones) connects to the proxy using a TLS protected
TCP connection. 

In the kamailio config, we've set :

#!ifdef WITH_TLS
enable_tls=yes
tcp_async=yes
tcp_connection_lifetime=3605
tcp_accept_no_cl=yes
tcp_crlf_ping = yes
#!endif

Our problem is that, even if we set the tcp_connection_lifetime to > 1 hour,
the tcp connection is closed after 10 minutes: on tcp dumps, we see clearly
the TCP FIN sent by machine hosting the kamailio proxy... Setting parameters
tcp_keepidle/keepintlv/keepcnt in the kamailio config didn't change the
behavior. We also set TCP keepalived at system level, but without result...
This TCP closure is causing us lot of problems when calls between 2 UAs last
more than 10 minutes because the REINVITE or BYE messages are lost. Also,
closing the TCP connection will wake up the mobile app and make it resend a
REGISTER, thing we absolutely want to avoid.

Is there a parameter we can use to avoid this closure? I had a look in
previous posts, found people with the same problem as mine, but no real
solution...

Thx for your help.

Giovanni



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/TCP-FIN-after-10-minutes-tp152646.html
Sent from the Users mailing list archive at Nabble.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

Reply via email to