[Freeswitch-svn] [commit] r10457 - freeswitch/trunk/src
FreeSWITCH SVN
anthm at freeswitch.org
Wed Nov 19 08:49:05 PST 2008
Author: anthm
Date: Wed Nov 19 11:49:05 2008
New Revision: 10457
Log:
fix race
Modified:
freeswitch/trunk/src/switch_ivr_bridge.c
Modified: freeswitch/trunk/src/switch_ivr_bridge.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_bridge.c (original)
+++ freeswitch/trunk/src/switch_ivr_bridge.c Wed Nov 19 11:49:05 2008
@@ -724,7 +724,7 @@
switch_channel_set_variable(caller_channel, SWITCH_SIGNAL_BRIDGE_VARIABLE, switch_core_session_get_uuid(peer_session));
switch_channel_set_variable(peer_channel, SWITCH_SIGNAL_BRIDGE_VARIABLE, switch_core_session_get_uuid(session));
- switch_channel_set_flag(caller_channel, CF_ORIGINATOR);
+ switch_channel_set_state_flag(caller_channel, CF_ORIGINATOR);
switch_channel_clear_state_handler(caller_channel, NULL);
switch_channel_clear_state_handler(peer_channel, NULL);
More information about the Freeswitch-svn
mailing list