From: William King Date: Thu, 16 Apr 2015 18:33:03 +0000 (-0700) Subject: CID: 1294489 missing break statement which would cause recvonly sdp to be treated... X-Git-Tag: v1.6.2~614^2~162 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f09dad317f9f65887b964b9965a162c539c8a000;p=thirdparty%2Ffreeswitch.git CID: 1294489 missing break statement which would cause recvonly sdp to be treated as sendrecv --- diff --git a/src/switch_core_media.c b/src/switch_core_media.c index 3a9aae56cc..d716510a6b 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -3742,6 +3742,7 @@ SWITCH_DECLARE(uint8_t) switch_core_media_negotiate_sdp(switch_core_session_t *s case SWITCH_MEDIA_FLOW_SENDONLY: switch_channel_set_variable(smh->session->channel, "audio_media_flow", "recvonly"); a_engine->smode = SWITCH_MEDIA_FLOW_RECVONLY; + break; default: switch_channel_set_variable(smh->session->channel, "audio_media_flow", "sendrecv"); a_engine->smode = SWITCH_MEDIA_FLOW_SENDRECV;