]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
allow longer 'busy' tones to be detected (issue #5085)
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 1 Sep 2005 22:34:24 +0000 (22:34 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 1 Sep 2005 22:34:24 +0000 (22:34 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6498 65c4cc65-6c06-0410-ace0-fbb531ad65f3

dsp.c

diff --git a/dsp.c b/dsp.c
index 9c74467ed00ba1b6c96b2f54b9113babe8072be2..b1bdacef0eac4906b640ae0130ab74a2045125e1 100755 (executable)
--- a/dsp.c
+++ b/dsp.c
@@ -97,7 +97,7 @@ static struct progress {
 #define BUSY_PAT_PERCENT       7       /* The percentage difference between measured and actual pattern */
 #define BUSY_THRESHOLD         100     /* Max number of ms difference between max and min times in busy */
 #define BUSY_MIN               75      /* Busy must be at least 80 ms in half-cadence */
-#define BUSY_MAX               1100    /* Busy can't be longer than 1100 ms in half-cadence */
+#define BUSY_MAX               3100    /* Busy can't be longer than 3100 ms in half-cadence */
 
 /* Remember last 15 units */
 #define DSP_HISTORY            15