[Freeswitch-svn] [commit] r10174 - freeswitch/trunk/src
Freeswitch SVN
anthm at freeswitch.org
Mon Oct 27 13:14:55 EDT 2008
Author: anthm
Date: Mon Oct 27 13:14:55 2008
New Revision: 10174
Modified:
freeswitch/trunk/src/switch_ivr.c
Log:
fix park flag
Modified: freeswitch/trunk/src/switch_ivr.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr.c (original)
+++ freeswitch/trunk/src/switch_ivr.c Mon Oct 27 13:14:55 2008
@@ -1711,8 +1711,9 @@
SWITCH_DECLARE(void) switch_ivr_park_session(switch_core_session_t *session)
{
switch_channel_t *channel = switch_core_session_get_channel(session);
- switch_channel_set_state_flag(channel, CF_TRANSFER);
switch_channel_set_state(channel, CS_PARK);
+ switch_channel_set_flag(channel, CF_TRANSFER);
+
}
SWITCH_DECLARE(void) switch_ivr_delay_echo(switch_core_session_t *session, uint32_t delay_ms)
More information about the Freeswitch-svn
mailing list