mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
make invites use the same contact as the gateway when using a gateway to make calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4847 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -888,6 +888,7 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
|
||||
} else {
|
||||
tech_pvt->dest = switch_core_session_sprintf(nsession, "sip:%s", dest);
|
||||
}
|
||||
tech_pvt->invite_contact = switch_core_session_strdup(nsession, gateway_ptr->register_contact);
|
||||
} else {
|
||||
if (!(dest = strchr(profile_name, '/'))) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid URL\n");
|
||||
|
||||
Reference in New Issue
Block a user