]> 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)
committerGeorge Joseph <gjoseph@sangoma.com>
Thu, 28 Mar 2024 12:55:38 +0000 (06:55 -0600)
commitc8ab570c6faf2a32c95079d2c01a9ba404f5f91f
treed2769220bb453b67bf9c5c1454551e2a115f64ed
parent2de1a683392d94b98734a90a2d818b92f505712d
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