From 0641315ef6dd8c612de1c7ffac06df6473ec2e4f Mon Sep 17 00:00:00 2001 From: Corey Burke Date: Fri, 2 Oct 2015 08:13:05 -0700 Subject: [PATCH] Use use-dtx setting from config in request to callee. --- src/mod/codecs/mod_opus/mod_opus.c | 2 ++ 1 file changed, 2 insertions(+) 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; }