[Freeswitch-svn] [commit] r10329 - freeswitch/trunk/src
FreeSWITCH SVN
anthm at freeswitch.org
Tue Nov 11 07:03:10 PST 2008
Author: anthm
Date: Tue Nov 11 10:03:09 2008
New Revision: 10329
Log:
let b legs use park_after_bridge too
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 Tue Nov 11 10:03:09 2008
@@ -463,6 +463,10 @@
state = switch_channel_get_state(channel);
+ if (state < CS_HANGUP && switch_true(switch_channel_get_variable(channel, SWITCH_PARK_AFTER_BRIDGE_VARIABLE))) {
+ switch_ivr_park_session(session);
+ }
+
if (!switch_channel_test_flag(channel, CF_TRANSFER) && bd && !bd->clean_exit && state != CS_PARK &&
state != CS_ROUTING && !switch_channel_test_flag(channel, CF_INNER_BRIDGE)) {
switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING);
More information about the Freeswitch-svn
mailing list