]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Implement Configurable TCP Keepalive Settings in PJSIP Transports
authorJoshua Elson <joshelson@gmail.com>
Mon, 18 Mar 2024 19:14:36 +0000 (15:14 -0400)
committerJoshua Elson <joshelson@gmail.com>
Wed, 27 Mar 2024 15:03:38 +0000 (15:03 +0000)
commit555eb9d3d2bf9b3afac18a81d1da67fae8651e08
tree135ea0439ae25e9f18ba4a31df604f0f742fc1d3
parentcba82273ae789c193128589a6c3f3679782b1ccd
Implement Configurable TCP Keepalive Settings in PJSIP Transports

This commit introduces configurable TCP keepalive settings for both TCP and TLS transports. The changes allow for finer control over TCP connection keepalives, enhancing stability and reliability in environments prone to connection timeouts or where intermediate devices may prematurely close idle connections. This has proven necessary and has already been tested in production in several specialized environments where access to the underlying transport is unreliable in ways invisible to the operating system directly, so these keepalive and timeout mechanisms are necessary.

Fixes #657
configs/samples/pjsip.conf.sample
contrib/ast-db-manage/config/versions/8fce8496f03e_add_tcp_keepalive_settings_to_ps_.py [new file with mode: 0644]
include/asterisk/res_pjsip.h
res/res_pjsip/config_transport.c
res/res_pjsip/pjsip_config.xml
third-party/pjproject/patches/config_site.h