diff --git a/src/mod/formats/mod_file_string/mod_file_string.c b/src/mod/formats/mod_file_string/mod_file_string.c index 6ce064b50b..20a6bbfe3e 100644 --- a/src/mod/formats/mod_file_string/mod_file_string.c +++ b/src/mod/formats/mod_file_string/mod_file_string.c @@ -87,7 +87,8 @@ static int next_file(switch_file_handle_t *handle) handle->seekable = context->fh.seekable; handle->speed = context->fh.speed; handle->interval = context->fh.interval; - + handle->flags = context->fh.flags; + if (context->index == 0) { context->samples = (handle->samplerate / 1000) * 250; }