detectFax
detectFax
- detectFax(
params?):Promise<CallDetect>
Detects the presence of a fax machine.
Parameters
params
Object containing the parameters for fax detection.
timeout
Number of seconds to run the detector for.
tone
The fax tone to detect: CED or CNG.
waitForBeep
Whether to wait until the device is ready for voicemail delivery.
Returns
Promise<CallDetect>
A promise that resolves to a CallDetect object that you can use to
view the current state and results of the detect session.