detectFax
Detect a fax tone on the call. A typed convenience over detect()
with the fax detector.
Parameters
options
Detector options.
options.tone
"CED" (called station) or "CNG" (calling station).
options.timeout
Maximum seconds to run the detector before stopping.
options.onCompleted
Callback invoked when the operation reaches a terminal state.
Returns
Promise<DetectAction> — An action handle with stop() and wait() methods. It resolves on the first detection result.