From 018c94df01d577f46e1743d14242562a2402854c Mon Sep 17 00:00:00 2001
From: Anthony Minessale <anthony.minessale@gmail.com>
Date: Tue, 11 Mar 2008 22:41:49 +0000
Subject: [PATCH] update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7867 d0543943-73ff-0310-b7d9-9358b9ac24b2
---
 src/switch_ivr_async.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c
index 77b3519e54..f7ad37785e 100644
--- a/src/switch_ivr_async.c
+++ b/src/switch_ivr_async.c
@@ -692,8 +692,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_session(switch_core_session_t
 	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) {