sendFax
Send a fax document on the call. The document must be accessible via URL.
Returns a FaxAction that you can
use to stop the fax or wait for it to complete.
This method emits calling.call.fax events. See Call Events for payload details.
Parameters
document
URL of the document to fax (PDF or TIFF format).
identity
Caller identity string (TSI) transmitted with the fax.
headerInfo
Header text printed at the top of each fax page.
controlId
Custom control ID. Auto-generated if not provided.
onCompleted
Callback invoked when the fax operation completes.
Returns
Promise<FaxAction> — An action handle with
stop() and wait() methods.