git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5298 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-06-08 23:05:12 +00:00
parent 724de2b52d
commit eb717cf250

View File

@ -1763,6 +1763,7 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_
}
return;
}
switch_channel_set_variable(channel, "sip_authorized", "true");
}
if (!(session = switch_core_session_request(&sofia_endpoint_interface, NULL))) {
@ -1786,7 +1787,8 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_
get_addr(network_ip, sizeof(network_ip), &((struct sockaddr_in *) msg_addrinfo(nua_current_request(nua))->ai_addr)->sin_addr);
channel = switch_core_session_get_channel(session);
switch_channel_set_variable(channel, "sip_authorized", "true");
if (v_event) {