Merge branch 'master' of ssh://stash.freeswitch.org:7999/fs/freeswitch

This commit is contained in:
Brian West
2014-10-16 17:03:57 -05:00
4 changed files with 35 additions and 10 deletions
+1 -2
View File
@@ -2073,6 +2073,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);
}
@@ -9026,8 +9027,6 @@ void sofia_handle_sip_i_invite(switch_core_session_t *session, nua_t *nua, sofia
switch_xml_free(x_user);
}
nua_handle_destroy(nh);
if (sip->sip_authorization || sip->sip_proxy_authorization) {
goto fail;
}