mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
allow longer 'busy' tones to be detected (issue #5085)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
dsp.c
2
dsp.c
@@ -97,7 +97,7 @@ static struct progress {
|
|||||||
#define BUSY_PAT_PERCENT 7 /* The percentage difference between measured and actual pattern */
|
#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_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_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 */
|
/* Remember last 15 units */
|
||||||
#define DSP_HISTORY 15
|
#define DSP_HISTORY 15
|
||||||
|
Reference in New Issue
Block a user