From: Liyang Date: Tue, 30 Jul 2019 17:05:41 +0000 (+0800) Subject: FS-11971: [core] fix 488 when receive invite with SRTP/RTP X-Git-Tag: v1.10.0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f1ee43cd0ef60607dd9e3a08efc6a59f5147a01;p=thirdparty%2Ffreeswitch.git FS-11971: [core] fix 488 when receive invite with SRTP/RTP --- diff --git a/src/switch_core_media.c b/src/switch_core_media.c index 811e93cd98..81a3e8591e 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -5469,9 +5469,9 @@ SWITCH_DECLARE(uint8_t) switch_core_media_negotiate_sdp(switch_core_session_t *s } if (got_crypto == -1 && got_savp && !got_avp && !got_webrtc) { - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "Declining invite with only SAVP because secure media is administratively disabled\n"); + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "Received invite with SAVP but secure media is administratively disabled\n"); match = 0; - break; + continue; } connection = sdp->sdp_connection;