add config and woops our config options have dashes not underscores... variables have underscore
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9084 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
94a420c961
commit
f2dc83633c
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue