[Freeswitch-svn] [commit] r9322 - freeswitch/trunk/src
Freeswitch SVN
anthm at freeswitch.org
Tue Aug 19 15:24:01 EDT 2008
Author: anthm
Date: Tue Aug 19 15:24:00 2008
New Revision: 9322
Modified:
freeswitch/trunk/src/switch_ivr_bridge.c
Log:
tweak
Modified: freeswitch/trunk/src/switch_ivr_bridge.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_bridge.c (original)
+++ freeswitch/trunk/src/switch_ivr_bridge.c Tue Aug 19 15:24:00 2008
@@ -466,6 +466,7 @@
switch_channel_t *other_channel = switch_core_session_get_channel(other_session);
switch_event_t *event;
uint8_t ready_a, ready_b;
+ switch_channel_state_t state;
switch_channel_set_variable(channel, SWITCH_UUID_BRIDGE, NULL);
@@ -524,7 +525,9 @@
}
switch_ivr_multi_threaded_bridge(session, other_session, NULL, NULL, NULL);
- if (switch_channel_get_state(channel) < CS_HANGUP) {
+
+ state = switch_channel_get_state(channel);
+ if (state < CS_HANGUP && state != CS_ROUTING && state != CS_PARK) {
switch_channel_set_state(channel, CS_EXECUTE);
}
switch_core_session_rwunlock(other_session);
More information about the Freeswitch-svn
mailing list