From: Dragos Oancea Date: Wed, 29 Jan 2020 19:06:48 +0000 (+0000) Subject: [mod_native_file] set SWITCH_FILE_NOMUX to prevent overflow in core (we should not... X-Git-Tag: v1.10.3^2~239^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F255%2Fhead;p=thirdparty%2Ffreeswitch.git [mod_native_file] set SWITCH_FILE_NOMUX to prevent overflow in core (we should not channel mux native files) --- 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;