From: Anthony Minessale Date: Wed, 21 Oct 2015 16:28:37 +0000 (-0500) Subject: FS-8372 #resolve [Wrong response to RTP/SAVPF without DTLS] X-Git-Tag: v1.6.4~1^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=072f269ee7a59fe0c9f81dbc25159194978fc262;p=thirdparty%2Ffreeswitch.git FS-8372 #resolve [Wrong response to RTP/SAVPF without DTLS] --- diff --git a/src/switch_core_media.c b/src/switch_core_media.c index de0848704f..a231a93e95 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -6728,7 +6728,7 @@ static const char *get_media_profile_name(switch_core_session_t *session, int se switch_assert(session); if (switch_channel_test_flag(session->channel, CF_AVPF)) { - if (switch_channel_test_flag(session->channel, CF_DTLS)) { + if (switch_channel_test_flag(session->channel, CF_DTLS) || secure) { if (switch_channel_test_flag(session->channel, CF_AVPF_MOZ)) { return "UDP/TLS/RTP/SAVPF"; } else {