Improve T.38 gateway V.21 preamble detection.
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 28 Dec 2011 18:59:16 +0000 (18:59 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 28 Dec 2011 18:59:16 +0000 (18:59 +0000)
commitfdda4947767a5c0ee2424532ff5f01250797175d
tree1f46d156caa5b18f979c2cccb8d222659009236e
parentd9651f2be9e5f19d5a5408eb818df7202af3bf1d
Improve T.38 gateway V.21 preamble detection.

This commit removes the V.21 preamble detection code previously added to the
generic DSP implementation in Asterisk, and instead enhances the res_fax module
to be able to utilize V.21 preamble detection functionality made available by
FAX technology modules. This commit also adds such support to res_fax_spandsp,
which uses the Spandsp modem tone detection code to do the V.21 preamble
detection.

There should be no functional change here, other than much more reliable V.21
preamble detection (and thus T.38 gateway initiation).
........

Merged revisions 349248 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@349249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/dsp.h
include/asterisk/res_fax.h
main/dsp.c
res/res_fax.c
res/res_fax_spandsp.c