actual fix for commit cff5209ca3 which was in the wrong place

This commit is contained in:
Anthony Minessale 2014-10-16 16:04:15 -05:00
parent 725a121086
commit 30a950b5a9
1 changed files with 1 additions and 0 deletions

View File

@ -1798,6 +1798,7 @@ void sofia_event_callback(nua_event_t event,
switch_mutex_lock(profile->flag_mutex);
switch_core_hash_insert(profile->chat_hash, tech_pvt->call_id, strdup(switch_core_session_get_uuid(session)));
switch_mutex_unlock(profile->flag_mutex);
nua_handle_destroy(nh);
} else {
switch_channel_hangup(channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER);
}