FS-4655 its not a bug its a behaviour request, try this patch

This commit is contained in:
Anthony Minessale committed 2012-09-27 14:27:28 -05:00
1 parent 7c84003024
commit 06a3266360
7 files changed
+12 -6

No files matched your search

+5
View File
@@ -1682,6 +1682,11 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_set_uuid(switch_core_session
switch_assert(use_uuid);
if (!strcmp(use_uuid, session->uuid_str)) {
return SWITCH_STATUS_SUCCESS;
}
switch_mutex_lock(runtime.session_hash_mutex);
if (switch_core_hash_find(session_manager.session_table, use_uuid)) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_CRIT, "Duplicate UUID!\n");