This commit is contained in:
Anthony Minessale 2013-07-25 14:33:56 -05:00
parent 010085e92d
commit 0b3cb9325c

View File

@ -1936,8 +1936,8 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
}
sofia_glue_tech_set_local_sdp(tech_pvt, NULL, SWITCH_FALSE);
if (switch_true(switch_channel_get_variable(session->channel, "bypass_keep_codec"))) {
switch_channel_set_variable(session->channel, "absolute_codec_string", switch_channel_get_variable(session->channel, "ep_codec_string"));
if (switch_true(switch_channel_get_variable(tech_pvt->channel, "bypass_keep_codec"))) {
switch_channel_set_variable(tech_pvt->channel, "absolute_codec_string", switch_channel_get_variable(tech_pvt->channel, "ep_codec_string"));
}