detect
Start a detector on an active call. Detectors can identify answering machines, fax tones, or DTMF digits.
control_id is a caller-chosen identifier for this operation, unique per
active operation of this kind on the call. The TypeScript SDK types it as
optional, but the API requires it — a request that omits it is rejected.
Keep it — detectStop() uses it to end the detector.
Request
id
The unique identifying ID of an existing call.
params
An object of parameters that will be utilized by the active command.
Response
Call Leg
Returned when the call is a standard PSTN, SIP, or WebRTC call.
OR
Fabric Subscriber Device Leg
Returned when the call is a Fabric subscriber device leg. The status field is always null for this type.