cleanup since from_domain is now in the gateway and will default to proxy , realm or from-domain if set properly.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14253 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West
2009-07-14 20:56:09 +00:00
parent 06782dbe57
commit e3a2e3d41d
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2646,7 +2646,7 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
}
if (!strchr(dest, '@')) {
tech_pvt->dest = switch_core_session_sprintf(nsession, "sip:%s@%s", dest, sofia_glue_strip_proto(gateway_ptr->register_proxy));
tech_pvt->dest = switch_core_session_sprintf(nsession, "sip:%s@%s", dest, gateway_ptr->from_domain);
} else {
tech_pvt->dest = switch_core_session_sprintf(nsession, "sip:%s", dest);
}