]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak
authorAnthony Minessale <anthony.minessale@gmail.com>
Sat, 10 Jan 2009 16:04:34 +0000 (16:04 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Sat, 10 Jan 2009 16:04:34 +0000 (16:04 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11113 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_play_say.c

index 7429de95c4a09e938041468c61aa73f64fb6e885..a41f7c0326f84ff3fc183f1a14ed34b537f1168f 100644 (file)
@@ -431,6 +431,10 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_file(switch_core_session_t *se
                return SWITCH_STATUS_GENERR;
        }
 
+       if (switch_test_flag(fh, SWITCH_FILE_NATIVE)) {
+               asis = 1;
+       }
+
        switch_channel_pre_answer(channel);
 
        if ((p = switch_channel_get_variable(channel, "RECORD_TITLE"))) {