params have dashes in them

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15945 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2009-12-14 16:39:15 +00:00
parent 0ee3a30af8
commit a696e9279f
2 changed files with 10 additions and 10 deletions

View File

@ -24,25 +24,25 @@
<param name="sessions-per-second" value="30"/> <param name="sessions-per-second" value="30"/>
<!-- Default Global Log Level - value is one of debug,info,notice,warning,err,crit,alert --> <!-- Default Global Log Level - value is one of debug,info,notice,warning,err,crit,alert -->
<param name="loglevel" value="debug"/> <param name="loglevel" value="debug"/>
<!-- The min_dtmf_duration specifies the minimum DTMF duration to use on <!-- The min-dtmf-duration specifies the minimum DTMF duration to use on
outgoing events. Events shorter than this will be increased in duration outgoing events. Events shorter than this will be increased in duration
to match min_dtmf_duration. You cannot configure a dtmf duration on a to match min_dtmf_duration. You cannot configure a dtmf duration on a
profile that is less than this setting. You may increase this value, profile that is less than this setting. You may increase this value,
but cannot set it lower than 400. This value cannot exceed but cannot set it lower than 400. This value cannot exceed
max_dtmf_duration. --> max-dtmf-duration. -->
<!--<param name="min_dtmf_duration" value="400"/>--> <!--<param name="min-dtmf-duration" value="400"/>-->
<!-- The max_dtmf_duration caps the playout of a DTMF event at the specified <!-- The max-dtmf-duration caps the playout of a DTMF event at the specified
duration. Events exceeding this duration will be truncated to this duration. Events exceeding this duration will be truncated to this
duration. You cannot configure a duration on a profile that exceeds duration. You cannot configure a duration on a profile that exceeds
this setting. This setting can be lowered, but cannot exceed 192000. this setting. This setting can be lowered, but cannot exceed 192000.
This setting cannot be set lower than min_dtmf_duration. --> This setting cannot be set lower than min_dtmf_duration. -->
<!--<param name="max_dtmf_duration" value="192000"/>--> <!--<param name="max-dtmf-duration" value="192000"/>-->
<!-- The default_dtmf_duration specifies the DTMF duration to use on <!-- The default_dtmf_duration specifies the DTMF duration to use on
originated DTMF events or on events that are received without a originated DTMF events or on events that are received without a
duration specified. This value can be increased or lowered. This duration specified. This value can be increased or lowered. This
value is lower-bounded by min_dtmf_duration and upper-bounded by value is lower-bounded by min_dtmf_duration and upper-bounded by
max_dtmf_duration. --> max-dtmf-duration\. -->
<!--<param name="default_dtmf_duration" value="2000"/>--> <!--<param name="default-dtmf-duration" value="2000"/>-->
<!-- <!--
If you want to send out voicemail notifications via Windows you'll need to change the mailer-app If you want to send out voicemail notifications via Windows you'll need to change the mailer-app
variable to the setting below: variable to the setting below:

View File

@ -1392,17 +1392,17 @@ static void switch_load_core_config(const char *file)
runtime.mailer_app_args = switch_core_strdup(runtime.memory_pool, val); runtime.mailer_app_args = switch_core_strdup(runtime.memory_pool, val);
} else if (!strcasecmp(var, "sessions-per-second") && !zstr(val)) { } else if (!strcasecmp(var, "sessions-per-second") && !zstr(val)) {
switch_core_sessions_per_second(atoi(val)); switch_core_sessions_per_second(atoi(val));
} else if (!strcasecmp(var, "max_dtmf_duration") && !zstr(val)) { } else if (!strcasecmp(var, "max-dtmf-duration") && !zstr(val)) {
int tmp = atoi(val); int tmp = atoi(val);
if (tmp > 0) { if (tmp > 0) {
switch_core_max_dtmf_duration((uint32_t) tmp); switch_core_max_dtmf_duration((uint32_t) tmp);
} }
} else if (!strcasecmp(var, "min_dtmf_duration") && !zstr(val)) { } else if (!strcasecmp(var, "min-dtmf-duration") && !zstr(val)) {
int tmp = atoi(val); int tmp = atoi(val);
if (tmp > 0) { if (tmp > 0) {
switch_core_min_dtmf_duration((uint32_t) tmp); switch_core_min_dtmf_duration((uint32_t) tmp);
} }
} else if (!strcasecmp(var, "default_dtmf_duration") && !zstr(val)) { } else if (!strcasecmp(var, "default-dtmf-duration") && !zstr(val)) {
int tmp = atoi(val); int tmp = atoi(val);
if (tmp > 0) { if (tmp > 0) {
switch_core_default_dtmf_duration((uint32_t) tmp); switch_core_default_dtmf_duration((uint32_t) tmp);