FS-6888 #resolve #comment fix regression from refactoring new feature

This commit is contained in:
Anthony Minessale 2014-10-03 10:17:41 -05:00
parent d52cb335db
commit 01bf42225c
1 changed files with 2 additions and 3 deletions

View File

@ -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);