[Freeswitch-svn] [commit] r7478 - freeswitch/trunk/src
Freeswitch SVN
anthm at freeswitch.org
Fri Feb 1 17:06:12 EST 2008
Author: anthm
Date: Fri Feb 1 17:06:12 2008
New Revision: 7478
Modified:
freeswitch/trunk/src/switch_ivr_originate.c
Log:
fix race
Modified: freeswitch/trunk/src/switch_ivr_originate.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_originate.c (original)
+++ freeswitch/trunk/src/switch_ivr_originate.c Fri Feb 1 17:06:12 2008
@@ -857,11 +857,11 @@
goto outer_for;
}
- if (switch_core_session_running(peer_sessions[i])) {
- if (!(flags & SOF_NOBLOCK)) {
- switch_channel_set_state(peer_channels[i], CS_RING);
- }
- } else {
+ if (!switch_core_session_running(peer_sessions[i])) {
+ //if (!(flags & SOF_NOBLOCK)) {
+ //switch_channel_set_state(peer_channels[i], CS_RING);
+ //}
+ //} else {
switch_core_session_thread_launch(peer_sessions[i]);
}
}
More information about the Freeswitch-svn
mailing list