From eb1abd70b573afc0e20c811b8582a479b4b4cfc1 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 15 Jun 2015 15:12:03 -0500 Subject: [PATCH] FS-7649 #resolve --- src/mod/endpoints/mod_verto/mod_verto.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/mod/endpoints/mod_verto/mod_verto.c b/src/mod/endpoints/mod_verto/mod_verto.c index 68b75d505a..9554f8ec41 100644 --- a/src/mod/endpoints/mod_verto/mod_verto.c +++ b/src/mod/endpoints/mod_verto/mod_verto.c @@ -4982,17 +4982,12 @@ static switch_call_cause_t verto_outgoing_channel(switch_core_session_t *session if (session) { switch_channel_t *ochannel = switch_core_session_get_channel(session); - const char *ep_codec; - + if (switch_true(switch_channel_get_variable(ochannel, SWITCH_BYPASS_MEDIA_VARIABLE))) { switch_channel_set_flag(channel, CF_PROXY_MODE); switch_channel_set_flag(ochannel, CF_PROXY_MODE); switch_channel_set_cap(channel, CC_BYPASS_MEDIA); } - - if ((ep_codec = switch_channel_get_variable(ochannel, "ep_codec_string"))) { - switch_channel_set_variable(tech_pvt->channel, "codec_string", ep_codec); - } } tech_pvt->call_id = switch_core_session_strdup(*new_session, switch_core_session_get_uuid(*new_session));