]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7649 #resolve
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 15 Jun 2015 20:12:03 +0000 (15:12 -0500)
committerBrian West <brian@freeswitch.org>
Mon, 15 Jun 2015 20:12:03 +0000 (15:12 -0500)
src/mod/endpoints/mod_verto/mod_verto.c

index 68b75d505ad492ac3ecf74f43a7ea16280bbb017..9554f8ec413e30ec01e9c2eeac207aa3f499d22a 100644 (file)
@@ -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));