mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user