mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-28 22:24:16 +00:00
FS-4655 its not a bug its a behaviour request, try this patch
This commit is contained in:
1 parent
7c84003024
commit
06a3266360
7 files changed
+12
-6
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user