--- third-party/pjproject/patches/config_site.h (Asterisk 13.8.0) +++ third-party/pjproject/patches/config_site.h (working copy) @@ -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