mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
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:
parent
0ee3a30af8
commit
a696e9279f
@ -24,25 +24,25 @@
|
||||
<param name="sessions-per-second" value="30"/>
|
||||
<!-- Default Global Log Level - value is one of debug,info,notice,warning,err,crit,alert -->
|
||||
<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
|
||||
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,
|
||||
but cannot set it lower than 400. This value cannot exceed
|
||||
max_dtmf_duration. -->
|
||||
<!--<param name="min_dtmf_duration" value="400"/>-->
|
||||
<!-- The max_dtmf_duration caps the playout of a DTMF event at the specified
|
||||
max-dtmf-duration. -->
|
||||
<!--<param name="min-dtmf-duration" value="400"/>-->
|
||||
<!-- 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. You cannot configure a duration on a profile that exceeds
|
||||
this setting. This setting can be lowered, but cannot exceed 192000.
|
||||
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
|
||||
originated DTMF events or on events that are received without a
|
||||
duration specified. This value can be increased or lowered. This
|
||||
value is lower-bounded by min_dtmf_duration and upper-bounded by
|
||||
max_dtmf_duration. -->
|
||||
<!--<param name="default_dtmf_duration" value="2000"/>-->
|
||||
max-dtmf-duration\. -->
|
||||
<!--<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
|
||||
variable to the setting below:
|
||||
|
@ -1392,17 +1392,17 @@ static void switch_load_core_config(const char *file)
|
||||
runtime.mailer_app_args = switch_core_strdup(runtime.memory_pool, val);
|
||||
} else if (!strcasecmp(var, "sessions-per-second") && !zstr(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);
|
||||
if (tmp > 0) {
|
||||
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);
|
||||
if (tmp > 0) {
|
||||
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);
|
||||
if (tmp > 0) {
|
||||
switch_core_default_dtmf_duration((uint32_t) tmp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user