mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-04 18:27:36 +00:00
revert this cuz its WRONG.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14368 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d3ea1130c1
commit
dbf40cf729
@ -2646,10 +2646,7 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!strchr(dest, '@')) {
|
if (!strchr(dest, '@')) {
|
||||||
tech_pvt->dest = switch_core_session_sprintf(nsession, "sip:%s@%s", dest,
|
tech_pvt->dest = switch_core_session_sprintf(nsession, "sip:%s@%s", dest, sofia_glue_strip_proto(gateway_ptr->register_proxy));
|
||||||
gateway_ptr->outbound_sticky_proxy ?
|
|
||||||
sofia_glue_strip_proto(gateway_ptr->outbound_sticky_proxy) :
|
|
||||||
sofia_glue_strip_proto(gateway_ptr->register_proxy));
|
|
||||||
} else {
|
} else {
|
||||||
tech_pvt->dest = switch_core_session_sprintf(nsession, "sip:%s", dest);
|
tech_pvt->dest = switch_core_session_sprintf(nsession, "sip:%s", dest);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user