sendDtmfTones

abstract fun sendDtmfTones(tones: String, playAudibleFeedback: Boolean = false)

Send DTMF tones on the call.

This can be used for interactions with an IVR.

Parameters

tones

The DTMF tones to send. The valid tones are the digits '0' through '9', '*', and '#'. The ',' or ';' characters can be used to insert a short delay. All other characters in the string will be ignored.

playAudibleFeedback

If set true, the SDK will locally play the corresponding audio tones to the current audio device as they are being sent. If false, no local audio will be played for the tones.