From 0911849154a4a267d975e80777524dade3d73898 Mon Sep 17 00:00:00 2001
From: Brian West <brian@freeswitch.org>
Date: Wed, 19 Feb 2014 12:46:23 -0600
Subject: [PATCH] Missed this we don't use underscores in settings in config
 files to prevent confusiong between variables and settings

---
 conf/vanilla/autoload_configs/opus.conf.xml | 2 +-
 src/mod/codecs/mod_opus/mod_opus.c          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/vanilla/autoload_configs/opus.conf.xml b/conf/vanilla/autoload_configs/opus.conf.xml
index bde782a8a6..747a8f762f 100644
--- a/conf/vanilla/autoload_configs/opus.conf.xml
+++ b/conf/vanilla/autoload_configs/opus.conf.xml
@@ -1,6 +1,6 @@
 <configuration name="opus.conf">
     <settings>
-        <param name="use_vbr" value="1"/>
+        <param name="use-vbr" value="1"/>
         <param name="complexity" value="10"/>
     </settings>
 </configuration>
diff --git a/src/mod/codecs/mod_opus/mod_opus.c b/src/mod/codecs/mod_opus/mod_opus.c
index 0dadd18134..b7c3c51e12 100644
--- a/src/mod/codecs/mod_opus/mod_opus.c
+++ b/src/mod/codecs/mod_opus/mod_opus.c
@@ -409,7 +409,7 @@ static switch_status_t opus_load_config(switch_bool_t reload)
 			char *key = (char *) switch_xml_attr_soft(param, "name");
 			char *val = (char *) switch_xml_attr_soft(param, "value");
 			
-			if (!strcasecmp(key, "use_vbr") && !zstr(val)) {
+			if (!strcasecmp(key, "use-vbr") && !zstr(val)) {
 				opus_prefs.use_vbr = atoi(val);
 			} else if (!strcasecmp(key, "complexity")) {
 				opus_prefs.complexity = atoi(val);