]> 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)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 9 May 2024 13:56:11 +0000 (13:56 +0000)
commit855ed6c1685a265d74208ad284e5a6945afb9168
tree645d801694db4be078bfd40cf43002a697a40b92
parent378ce2d87f117ff8c93b1acde477b7ca1612931a
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

(cherry picked from commit 3d40d3427106fc751d77d2d5f182a92becfdd53a)
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