mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
FS-6805 add support for logging full timestamps with dialplan, defaults to old behavior unless requested
This commit is contained in:
@@ -1980,6 +1980,12 @@ static void switch_load_core_config(const char *file)
|
||||
runtime.core_db_inner_pre_trans_execute = switch_core_strdup(runtime.memory_pool, val);
|
||||
} else if (!strcasecmp(var, "core-db-inner-post-trans-execute") && !zstr(val)) {
|
||||
runtime.core_db_inner_post_trans_execute = switch_core_strdup(runtime.memory_pool, val);
|
||||
} else if (!strcasecmp(var, "dialplan-timestamps")) {
|
||||
if (switch_true(val)) {
|
||||
switch_set_flag((&runtime), SCF_DIALPLAN_TIMESTAMPS);
|
||||
} else {
|
||||
switch_clear_flag((&runtime), SCF_DIALPLAN_TIMESTAMPS);
|
||||
}
|
||||
} else if (!strcasecmp(var, "mailer-app") && !zstr(val)) {
|
||||
runtime.mailer_app = switch_core_strdup(runtime.memory_pool, val);
|
||||
} else if (!strcasecmp(var, "mailer-app-args") && val) {
|
||||
|
Reference in New Issue
Block a user