[Freeswitch-svn] [commit] r11558 - freeswitch/trunk/src/mod/applications/mod_commands
FreeSWITCH SVN
anthm at freeswitch.org
Thu Jan 29 13:52:38 PST 2009
Author: anthm
Date: Thu Jan 29 15:52:38 2009
New Revision: 11558
Log:
add all modifier to break
Modified:
freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c
Modified: freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c Thu Jan 29 15:52:38 2009
@@ -1954,7 +1954,11 @@
}
channel = switch_core_session_get_channel(psession);
-
+ if (switch_channel_test_flag(channel, CF_BROADCAST)) {
+ switch_channel_stop_broadcast(channel);
+ } else {
+ switch_channel_set_flag(channel, CF_BREAK);
+ }
switch_core_session_rwunlock(psession);
return SWITCH_STATUS_SUCCESS;
More information about the Freeswitch-svn
mailing list