]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add config and woops our config options have dashes not underscores... variables...
authorBrian West <brian@freeswitch.org>
Thu, 17 Jul 2008 23:49:25 +0000 (23:49 +0000)
committerBrian West <brian@freeswitch.org>
Thu, 17 Jul 2008 23:49:25 +0000 (23:49 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9084 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/autoload_configs/pocketsphinx.conf.xml
src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c

index 2fbd4a6506a65a6389a1e830560654f941067b24..39d9154e3ae29f64950b71ebc3c79f45574c4c82 100644 (file)
@@ -4,5 +4,7 @@
     <param name="silence-hits" value="25"/>
     <param name="listen-hits" value="1"/>
     <param name="auto-reload" value="true"/>
+    <!--<param name="narrowband-model" value="communicator"/>-->
+    <!--<param name="wideband-model" value="wsj1"/>-->
   </settings>
 </configuration>
index edc8b60d8664233f291fe9494b5e5e4ba193937f..f30cce767bcac64a224b59529f5739ea147d96f6 100644 (file)
@@ -443,9 +443,9 @@ static switch_status_t load_config(void)
                                globals.listen_hits = atoi(val);
                        } else if (!strcasecmp(var, "auto-reload")) {
                                globals.auto_reload = switch_true(val);
-                       } else if (!strcasecmp(var, "narrowband_model")) {
+                       } else if (!strcasecmp(var, "narrowband-model")) {
                                globals.model8k = switch_core_strdup(globals.pool, val);
-                       } else if (!strcasecmp(var, "wideband_model")) {
+                       } else if (!strcasecmp(var, "wideband-model")) {
                                globals.model16k = switch_core_strdup(globals.pool, val);
                        }
                }