mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 14:44:17 +00:00
FS-4836
This commit is contained in:
1 parent
ad49dabd8c
commit
92945f8a01
1 file changed
+5
-9
@@ -891,9 +891,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_queue_message(switch_core_se
|
||||
|
||||
switch_core_session_kill_channel(session, SWITCH_SIG_BREAK);
|
||||
|
||||
if (switch_channel_test_flag(session->channel, CF_PROXY_MODE) || switch_channel_test_flag(session->channel, CF_THREAD_SLEEPING)) {
|
||||
switch_core_session_wake_session_thread(session);
|
||||
}
|
||||
switch_core_session_wake_session_thread(session);
|
||||
|
||||
}
|
||||
|
||||
return status;
|
||||
@@ -975,9 +974,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_queue_signal_data(switch_cor
|
||||
|
||||
switch_core_session_kill_channel(session, SWITCH_SIG_BREAK);
|
||||
|
||||
if (switch_channel_test_flag(session->channel, CF_PROXY_MODE) || switch_channel_test_flag(session->channel, CF_THREAD_SLEEPING)) {
|
||||
switch_core_session_wake_session_thread(session);
|
||||
}
|
||||
switch_core_session_wake_session_thread(session);
|
||||
|
||||
}
|
||||
|
||||
return status;
|
||||
@@ -1048,9 +1046,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_queue_event(switch_core_sess
|
||||
*event = NULL;
|
||||
status = SWITCH_STATUS_SUCCESS;
|
||||
|
||||
if (switch_channel_test_flag(session->channel, CF_PROXY_MODE) || switch_channel_test_flag(session->channel, CF_THREAD_SLEEPING)) {
|
||||
switch_core_session_wake_session_thread(session);
|
||||
}
|
||||
switch_core_session_wake_session_thread(session);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user