playDtmfTone

abstract suspend fun playDtmfTone(callId: CallId, dtmfTone: DtmfTone)

Instructs the call with specified callId to play a DTMF tone. The tone will be played for a fixed amount of time before being stopped. Any other currently playing DTMF tone in the specified call is immediately stopped.

DTMF is short for Dual Tone Multi Frequency. This is the signaling system used for tones that correspond to dial-pad characters that can be played during a call, usually by pressing the dial-pad.

If no call exists with the specified callId this method has no effect.

Parameters

callId

The call to send the DTMF tone to.

dtmfTone

The DTMF tone to play.