MODENDP-192

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12358 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-03-02 19:43:17 +00:00
parent 2246250584
commit 6955b86b53

View File

@ -2355,6 +2355,10 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
nchannel = switch_core_session_get_channel(nsession); nchannel = switch_core_session_get_channel(nsession);
if ((hval = switch_event_get_header(var_event, "sip_invite_to_uri"))) {
dest_to = switch_core_session_strdup(nsession, hval);
}
if (!strncasecmp(profile_name, "gateway", 7)) { if (!strncasecmp(profile_name, "gateway", 7)) {
char *gw, *params; char *gw, *params;
sofia_gateway_t *gateway_ptr = NULL; sofia_gateway_t *gateway_ptr = NULL;