From: Brian West Date: Tue, 14 Jul 2009 20:48:53 +0000 (+0000) Subject: remove unused code X-Git-Tag: v1.0.4~165 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06782dbe57c0125f0df78418442fc2a0267c29b0;p=thirdparty%2Ffreeswitch.git remove unused code git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14252 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index cc165940c1..55cce60e24 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -1323,7 +1323,6 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session) const char *call_id = NULL; char *route = NULL; char *route_uri = NULL; - char *sendto = NULL; sofia_destination_t *dst = NULL; sofia_cid_type_t cid_type = tech_pvt->profile->cid_type; @@ -1689,10 +1688,6 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session) route = NULL; } - if ((val = switch_channel_get_variable(channel, "sip_network_destination"))) { - sendto = switch_core_session_strdup(session, val); - } - if (route_uri) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "%s Setting proxy route to %s\n", route_uri, switch_channel_get_name(channel)); tech_pvt->route_uri = switch_core_session_strdup(tech_pvt->session, route_uri);