Skip to content

Function: playDTMF() ​

ts
function playDTMF(id, digits): Promise<void>;

Defined in: Calls.ts:810

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 ​

ParameterTypeDescription
idstringThe call session ID.
digitsstringThe 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).