FS-7344: Fix race condition for INVITE right after ACK in 3PCC mode.

This commit is contained in:
Artur Zaprzała committed 2015-09-03 22:32:32 +02:00
1 parent eefe21536d
commit 8ea99bfccf
3 files changed
+14 -6

No files matched your search

+2 -4
View File
@@ -2100,10 +2100,8 @@ SWITCH_DECLARE(int) switch_channel_state_change_pending(switch_channel_t *channe
SWITCH_DECLARE(int) switch_channel_check_signal(switch_channel_t *channel, switch_bool_t in_thread_only)
{
if (!in_thread_only || switch_core_session_in_thread(channel->session)) {
switch_ivr_parse_all_signal_data(channel->session);
}
(void)in_thread_only;
switch_ivr_parse_next_signal_data(channel->session);
return 0;
}