diff --git a/src/mod/codecs/mod_opus/mod_opus.c b/src/mod/codecs/mod_opus/mod_opus.c index c30cd66a63..022bee771b 100644 --- a/src/mod/codecs/mod_opus/mod_opus.c +++ b/src/mod/codecs/mod_opus/mod_opus.c @@ -1055,6 +1055,8 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_opus_load) settings = default_codec_settings; + settings.usedtx = opus_prefs.use_dtx; + if (opus_prefs.maxaveragebitrate) { settings.maxaveragebitrate = opus_prefs.maxaveragebitrate; }