Make T.38 switchover in ReceiveFAX synchronous.
authorKevin P. Fleming <kpfleming@digium.com>
Mon, 27 Jul 2009 21:21:43 +0000 (21:21 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Mon, 27 Jul 2009 21:21:43 +0000 (21:21 +0000)
commitb6b3fed0c78f4c3b500adcccffe44f0d6243121a
tree0e33b1589ad5f871a4ad309e51ebdf84ac2f13a1
parented8ccbdb739b18ffbe426751fc084de4bfa4f2da
Make T.38 switchover in ReceiveFAX synchronous.

In receive mode, if the channel that ReceiveFAX is running on supports T.38,
we should *always* attempt to switch T.38, rather than listening for an incoming
CNG tone and only triggering on that. The channel may be using a low-bitrate
codec that distorts the CNG tone, the sending FAX endpoint may not send CNG
at all, or there could be a variety of other reasons that we don't detect it,
but in all those cases if T.38 is available we certainly want to use it.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@209256 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_fax.c