send_fax
send_fax
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.
header_info
Header text printed at the top of each fax page.
control_id
Custom control ID. Auto-generated if not provided.
on_completed
Callback invoked when the fax operation completes.
Returns
FaxAction — An action handle with
stop() and wait() methods.