Function: playDTMF()
ts
function playDTMF(id, digits): Promise<void>;Defined in: Calls.ts:809
Plays DTMF tones during a call.
The system will emit a DTMFEvent. Send the tones through your media connection when you receive this event.
Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | The call session ID. |
digits | string | The DTMF digits to play (0-9, *, #). |
Returns
Promise<void>
See
addDTMFListener — fires when the system requests DTMF tones (e.g. from the in-call keypad).