musta took a wrong toin at albakoyke

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8396 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-05-14 14:22:04 +00:00
parent 1a43d04045
commit f6df5e2033
3 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -2726,6 +2726,8 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_
tech_pvt->remote_ip = switch_core_session_strdup(session, network_ip);
tech_pvt->remote_port = network_port;
channel = tech_pvt->channel = switch_core_session_get_channel(session);
if (sip->sip_contact && sip->sip_contact->m_url) {
char tmp[35] = "";
tech_pvt->record_route = switch_core_session_sprintf(session, "sip:%s@%s:%d",
@@ -2741,7 +2743,6 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_
tech_pvt->key = switch_core_session_strdup(session, key);
}
channel = tech_pvt->channel = switch_core_session_get_channel(session);
if (is_auth) {
switch_channel_set_variable(channel, "sip_authorized", "true");