]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 11 Mar 2008 22:41:49 +0000 (22:41 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 11 Mar 2008 22:41:49 +0000 (22:41 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7867 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_async.c

index 77b3519e54dd2e5d4cb08f8e141ba9e5aebeae2a..f7ad37785e1ad52508a4107368ee1046d9f0bda4 100644 (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) {