[Asterisk-code-review] pjproject bundled: Disable TCP/TLS keep-alives. (asterisk[13])

Alexander Traud asteriskteam at digium.com
Mon Oct 16 03:09:24 CDT 2017


Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/6807


Change subject: pjproject_bundled: Disable TCP/TLS keep-alives.
......................................................................

pjproject_bundled: Disable TCP/TLS keep-alives.

Asterisk has its own keep-alive mechanism, see parameter keep_alive_interval
in the configuration file pjsip.conf, which is contained in the module
res_pjsip_transport_management.

ASTERISK-27347 #close

Change-Id: I27c7a87c882b02f56ff3b739630d9b9e5912cc68
---
M third-party/pjproject/patches/config_site.h
1 file changed, 8 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/07/6807/1

diff --git a/third-party/pjproject/patches/config_site.h b/third-party/pjproject/patches/config_site.h
index 561b3a2..706c542 100644
--- a/third-party/pjproject/patches/config_site.h
+++ b/third-party/pjproject/patches/config_site.h
@@ -82,3 +82,11 @@
 #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 keep_alive_interval in pjsip.conf of the module
+ * res_pjsip_transport_management.
+ */
+#define PJSIP_TCP_KEEP_ALIVE_INTERVAL	0
+#define PJSIP_TLS_KEEP_ALIVE_INTERVAL	0

-- 
To view, visit https://gerrit.asterisk.org/6807
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: I27c7a87c882b02f56ff3b739630d9b9e5912cc68
Gerrit-Change-Number: 6807
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171016/2222f899/attachment.html>


More information about the asterisk-code-review mailing list