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;
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;
*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);
}
}