diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-03-05 16:23:44 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-03-05 16:23:44 +0000 |
commit | 8a411ccf839654d3c15452c2f25831693e741baf (patch) | |
tree | f1786eed45ddc28e1bf43faafd02bcc917747afd /apps/app_voicemail.c | |
parent | c6585e5b5d8679cdb2b258145455606c23e217bb (diff) |
Create a centralized configuration option for silencethreshold
(closes issue #11236)
Reported by: philipps
Patches:
20080218__bug11236.diff.txt uploaded by Corydon76 (license 14)
Tested by: philipps
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@106072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r-- | apps/app_voicemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 92e3859af..e250c1fe3 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -8399,7 +8399,7 @@ static int load_config(int reload) } /* Silence treshold */ - silencethreshold = 256; + silencethreshold = ast_dsp_get_threshold_from_settings(THRESHOLD_SILENCE); if ((val = ast_variable_retrieve(cfg, "general", "silencethreshold"))) silencethreshold = atoi(val); |