From: Anthony Minessale Date: Fri, 3 Oct 2014 15:17:41 +0000 (-0500) Subject: FS-6888 #resolve #comment fix regression from refactoring new feature X-Git-Tag: v1.4.10~1^2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01bf42225c4884525b62840e8ca96e6067cf6a06;p=thirdparty%2Ffreeswitch.git FS-6888 #resolve #comment fix regression from refactoring new feature --- diff --git a/src/switch_channel.c b/src/switch_channel.c index eb38298e37..49aa4e1923 100644 --- a/src/switch_channel.c +++ b/src/switch_channel.c @@ -5230,13 +5230,12 @@ SWITCH_DECLARE(switch_status_t) switch_channel_pass_sdp(switch_channel_t *from_c const char *var; if ((var = switch_channel_get_variable(from_channel, "bypass_media_sdp_filter"))) { - if ((patched_sdp = switch_core_media_process_sdp_filter(use_sdp, var, from_channel->session))) { use_sdp = patched_sdp; } - - switch_channel_set_variable(to_channel, SWITCH_B_SDP_VARIABLE, use_sdp); } + + switch_channel_set_variable(to_channel, SWITCH_B_SDP_VARIABLE, use_sdp); } switch_safe_free(patched_sdp);