aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_amd.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_amd.c')
-rw-r--r--apps/app_amd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_amd.c b/apps/app_amd.c
index cb867ba35..131cd01fd 100644
--- a/apps/app_amd.c
+++ b/apps/app_amd.c
@@ -371,6 +371,8 @@ static int load_config(int reload)
struct ast_variable *var = NULL;
struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 };
+ dfltSilenceThreshold = ast_dsp_get_threshold_from_settings(THRESHOLD_SILENCE);
+
if (!(cfg = ast_config_load("amd.conf", config_flags))) {
ast_log(LOG_ERROR, "Configuration file amd.conf missing.\n");
return -1;