Hi all,
I'm working on improving my TCP support and go some issue
related to TCP connections and lifetime/persistence.
1-> I'm able to have kamailio to keep opened the TCP connection by sending
CRLFCRLF keepalive within my application: this solve the issue.
2-> With (or without) SO_KEEPALIVE option, kamailio discard/close the
connection 50 seconds after my intial SIP message and 30 seconds after my
last SIP message. My registration is using 500 seconds and I got default
lifetime paratemer, which is 120 in the tcp_main.c code.
My problem is that I'm supposed to send CRLFCRLF with a frequency advised
between 95 seconds and 120 seconds (outbound draft keep alive). However,
kamailio has already closed the connection and it only works for lower
value.
Did I made a mistake somewhere...
-Note that for mobile device, the interval is supposed to be between 840
and 672 seconds.-
Tks for your help,
Aymeric MOIZARD / ANTISIP
amsip - http://www.antisip.com
osip2 - http://www.osip.org
eXosip2 - http://savannah.nongnu.org/projects/exosip/
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users