]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Bundled PJPROJECT: Disable internal connection oriented keep-alive.
authorAlexander Traud <pabstraud@compuserve.com>
Wed, 11 Jul 2018 16:57:53 +0000 (11:57 -0500)
committerGeorge Joseph <gjoseph@digium.com>
Fri, 13 Jul 2018 15:30:05 +0000 (10:30 -0500)
Turn off the periodic sending of CRLNCRLN.  Default is on (90 seconds),
which conflicts with the global section's keep_alive_interval option in
pjsip.conf.

patches:
  pjsip_keep_not_alive.patch submitted by Alexander Traud (License 6520)

ASTERISK-27347

Change-Id: I6a197f56e1830d3b7e5ec70f17025840a290b057

third-party/pjproject/patches/config_site.h

index 67e3451d0f116394f7b179fdd1bfcde2d5624951..9e897d58ed478aa0fe95c7a95fcc7688fe180848 100644 (file)
 #define        PJMEDIA_MAX_SDP_BANDW   4
 #define        PJMEDIA_MAX_SDP_ATTR   (PJMEDIA_MAX_SDP_FMT*2 + 4)
 #define        PJMEDIA_MAX_SDP_MEDIA   16
+
+/*
+ * Turn off the periodic sending of CRLNCRLN.  Default is on (90 seconds),
+ * which conflicts with the global section's keep_alive_interval option in
+ * pjsip.conf.
+ */
+#define PJSIP_TCP_KEEP_ALIVE_INTERVAL  0
+#define PJSIP_TLS_KEEP_ALIVE_INTERVAL  0