diff options
author | Richard Mudgett <rmudgett@digium.com> | 2016-07-21 22:28:25 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2016-07-26 11:48:52 -0500 |
commit | 49461f37b75aa27275d1c4811007e2a7f94ac002 (patch) | |
tree | a22b7bf9c7e1a90befd5884acef7550a0c28baec /menuselect | |
parent | e2bfcb3e58c426c71aebe64cad0ff290bd3f8560 (diff) |
dsp.c: Fix erroneous fax tone detection.
The Goertzel calculations get less accurate the lower the signal level
being worked with becomes because there is less resolution remaining.
If it is too low we can erroneously detect a tone where none really
exists. The searched for fax frequencies not only need to be so much
stronger than the background noise they must also be a minimum strength.
* Add needed minimum threshold test to tone_detect().
* Set TONE_THRESHOLD to allow low volume frequency spread detection.
ASTERISK-26237 #close
Reported by: Richard Mudgett
Change-Id: I84dbba7f7628fa13720add6a88eae3b129e066fc
Diffstat (limited to 'menuselect')
0 files changed, 0 insertions, 0 deletions