sendDTMF()

sendDTMF(params)

Compatibility:
Prebuilt
Custom

Parameters

  • sessionId participantId of the dialOut Session.
  • tones combined string of the dtmf tone to send (example 1234#).

Return Value

Note

DTMF duration is fixed at 1 second per digit. Talk to help@daily.co if you need different value.

Errors

Below are the possible errors that the caller of sendDTMF() can expect to be thrown:

  • maximum limit of DTMF string is 20 tone(characters).
  • invalid DTMF tone, valid DTMF tones are 0-9, A-D,#, *