Hi Benny! from documentation: .. > unsigned pjsua_acc_config::ka_interval > ... > Even if this setting is enabled, keep-alive transmission is only > done when STUN is enabled in the global pjsua_config, and the > transport used for registration is UDP. For TCP and TLS transports, > keep-alive is done by the transport themselves. ... Are you sure that TCP keep alive will work? AFAIK TCP keep-alives vary strong between different OS and the timeout is hardly to configure. Thus, also the SIP outbound draft specify to use CRLF as keep alive when using TCP/TLS. (actually it uses CRLFCRLF "ping" and CRLF "pong") http://www.ietf.org/internet-drafts/draft-ietf-sip-outbound-11.txt regards klaus