Signature
Parameters
Returns
Promise<void>
The promise resolves after the SDK passes the tones to the SIP library. It doesn’t wait until the tones are played or until the remote party receives them.
Throws
An error if there is no active session, if the call isn’t established, or if the SIP library rejects the tones. The error messages start withFailed to send DTMF:, for example, Failed to send DTMF: No active session to send DTMF.
Example
With Options
More Information
- dtmfSent event
- SendDTMFOptions
- sendInfo