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

Freeswitch SVN anthm at freeswitch.org
Tue Mar 11 18:41:49 EDT 2008


Author: anthm
Date: Tue Mar 11 18:41:49 2008
New Revision: 7867

Modified:
   freeswitch/trunk/src/switch_ivr_async.c

Log:
update

Modified: freeswitch/trunk/src/switch_ivr_async.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_async.c	(original)
+++ freeswitch/trunk/src/switch_ivr_async.c	Tue Mar 11 18:41:49 2008
@@ -692,8 +692,7 @@
 	uint8_t channels = read_codec->implementation->number_of_channels;
 
 	if ((bug = switch_channel_get_private(channel, file))) {
-		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Only 1 of the same file per channel please!\n");
-		return SWITCH_STATUS_FALSE;
+		return switch_ivr_stop_record_session(session, file);
 	}
 
 	if (!fh) {



More information about the Freeswitch-svn mailing list