git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7867 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-03-11 22:41:49 +00:00
parent 9c88a5ea45
commit 018c94df01
1 changed files with 1 additions and 2 deletions

View File

@ -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) {