Home > sip.js > SessionDescriptionHandler > sendDtmf
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;
Parameter | Type | Description |
---|---|---|
tones | string |
A string containing DTMF digits. |
options | { duration: number; interToneGap: number; } |
Options object to be used by sendDtmf. |
Returns:
boolean