Summary:ASTERISK-26214: Allow arbitrary time for fax detection to end on a channel
Reporter:Richard Mudgett (rmudgett)Labels:
Date Opened:2016-07-19 09:53:23Date Closed:2016-07-21 18:27:43
Status:Closed/CompleteComponents:Channels/chan_dahdi/NewFeature Channels/chan_pjsip Resources/res_fax
Versions:13.9.1 Frequency of
Description:Alice dials 5551234 (Bob) through some arbitrary public network
Alice and Bob converse.
After an arbitrary period of time, anywhere from 20 seconds to 7 minutes, Bob hears a fax tone.
Asterisk starts processing the call as though it were a fax.
Alice and Bob are no longer speaking. :(

We need a way to allow fax detection to happen for an arbitrary period of time only, and to be disabled after that time.  Bob understands that he'll lose the ability to handle a mid-call fax if he enables such an option.

* The FAXOPT(faxdetect) option already has a timeout feature but it is broken.  If you try to use the timeout it immediately times out and disables fax detection.  {{FAXOPT(faxdetect)=yes|cng|t38,<timeout>}}
* The channel driver specific fax detect options do not have a timeout feature.