From f97892bfd9977be2c937eef11a55d008ad848a24 Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Wed, 29 Jan 2020 19:06:48 +0000 Subject: [PATCH] [mod_native_file] set SWITCH_FILE_NOMUX to prevent overflow in core (we should not channel mux native files) --- src/mod/formats/mod_native_file/mod_native_file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/formats/mod_native_file/mod_native_file.c b/src/mod/formats/mod_native_file/mod_native_file.c index 585109351e..2a40396a4f 100644 --- a/src/mod/formats/mod_native_file/mod_native_file.c +++ b/src/mod/formats/mod_native_file/mod_native_file.c @@ -97,6 +97,7 @@ static switch_status_t native_file_file_open(switch_file_handle_t *handle, const handle->speed = 0; handle->private_info = context; handle->flags |= SWITCH_FILE_NATIVE; + handle->flags |= SWITCH_FILE_NOMUX; switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Opening File [%s] %dhz\n", path, handle->samplerate); return SWITCH_STATUS_SUCCESS;