Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 930 Bytes

sip.js.sessiondescriptionhandler.senddtmf.md

File metadata and controls

28 lines (18 loc) · 930 Bytes

Home > sip.js > SessionDescriptionHandler > sendDtmf

SessionDescriptionHandler.sendDtmf() method

Send DTMF via RTP (RFC 4733). Returns true if DTMF send is successful, false otherwise.

Signature:

sendDtmf(tones: string, options?: {
        duration: number;
        interToneGap: number;
    }): boolean;

Parameters

Parameter Type Description
tones string A string containing DTMF digits.
options {
duration: number;
interToneGap: number;
}
Options object to be used by sendDtmf.

Returns:

boolean