Le Tue, 30 Jun 2015 15:49:26 +0300, Yuriy Gorlichenko ovoshlook@gmail.com a écrit :
- I tried to do it with tcpops
Only for ws and tcp (WS is use TCP as i know) tcp_keepalive_enable("15", "5", "15");
same result...
Hi Yuriy,
the tcp_keepalive_enable() function will send keepalive packets at TCP level, not at application level (SIP OPTIONS). It can be used to check if the remote peer connection is still valid, and close the TCP connection on the server side if it is no more valid. If you enable the TCP keepalives, you should see these packets using tcpdump or wireshark.
Along with "handle_lost_tcp" option on usrloc, this can be used to maintain the usrloc table as consistent as possible.