avoid seg

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10419 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-11-15 22:22:43 +00:00
parent be846e07ec
commit 756b97c4e1
1 changed files with 1 additions and 1 deletions

View File

@ -3522,7 +3522,7 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_
} }
if (sofia_endpoint_interface) { if (sofia_endpoint_interface) {
if (tech_pvt->profile->pflags & PFLAG_CALLID_AS_UUID) { if (profile->pflags & PFLAG_CALLID_AS_UUID) {
session = switch_core_session_request_uuid(sofia_endpoint_interface, NULL, sip->sip_call_id->i_id); session = switch_core_session_request_uuid(sofia_endpoint_interface, NULL, sip->sip_call_id->i_id);
} else { } else {
session = switch_core_session_request(sofia_endpoint_interface, NULL); session = switch_core_session_request(sofia_endpoint_interface, NULL);