TCP keep alive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux