[Freeswitch-svn] [commit] r8933 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Tue Jul 8 15:26:44 EDT 2008


Author: anthm
Date: Tue Jul  8 15:26:44 2008
New Revision: 8933

Modified:
   freeswitch/trunk/src/switch_ivr.c

Log:
forgot some code

Modified: freeswitch/trunk/src/switch_ivr.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr.c	(original)
+++ freeswitch/trunk/src/switch_ivr.c	Tue Jul  8 15:26:44 2008
@@ -55,6 +55,12 @@
 			status = SWITCH_STATUS_FALSE;
 			break;
 		}
+		
+		if (switch_channel_test_flag(channel, CF_BREAK)) {
+			switch_channel_clear_flag(channel, CF_BREAK);
+			status = SWITCH_STATUS_BREAK;
+			break;
+		}
 
 		if (now > done || left <= 0) {
 			break;



More information about the Freeswitch-svn mailing list