mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-26 19:57:42 +00:00
remove unused code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14252 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
6136965cd5
commit
06782dbe57
@ -1323,7 +1323,6 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
|
|||||||
const char *call_id = NULL;
|
const char *call_id = NULL;
|
||||||
char *route = NULL;
|
char *route = NULL;
|
||||||
char *route_uri = NULL;
|
char *route_uri = NULL;
|
||||||
char *sendto = NULL;
|
|
||||||
sofia_destination_t *dst = NULL;
|
sofia_destination_t *dst = NULL;
|
||||||
sofia_cid_type_t cid_type = tech_pvt->profile->cid_type;
|
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;
|
route = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((val = switch_channel_get_variable(channel, "sip_network_destination"))) {
|
|
||||||
sendto = switch_core_session_strdup(session, val);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (route_uri) {
|
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));
|
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);
|
tech_pvt->route_uri = switch_core_session_strdup(tech_pvt->session, route_uri);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user