Bundled PJPROJECT: Disable internal connection oriented keep-alive.

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
This commit is contained in:
Alexander Traud
2018-07-11 11:57:53 -05:00
committed by Richard Mudgett
parent 8167048804
commit d739aa71f8

View File

@@ -76,3 +76,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 global section's keep_alive_interval option in
* pjsip.conf.
*/
#define PJSIP_TCP_KEEP_ALIVE_INTERVAL 0
#define PJSIP_TLS_KEEP_ALIVE_INTERVAL 0