Revision
14252
Author
brian
Date
2009-07-14 15:48:53 -0500 (Tue, 14 Jul 2009)

Log Message

 remove unused code 

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c (14251 => 14252)


--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c	2009-07-14 19:49:34 UTC (rev 14251)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c	2009-07-14 20:48:53 UTC (rev 14252)
@@ -1323,7 +1323,6 @@
 	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 @@
 		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);