fix mod_native_file extension thingy

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4212 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-02-12 22:56:08 +00:00
parent 8e2c70d797
commit e360d6500c
3 changed files with 7 additions and 1 deletions

View File

@@ -1142,6 +1142,9 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess
switch_core_session_reset(session);
return SWITCH_STATUS_NOTFOUND;
}
if (switch_test_flag(fh, SWITCH_FILE_NATIVE)) {
asis = 1;
}
write_frame.data = abuf;