Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

Desk Phone API features described in this section are deprecated and supported only on the following models: D40, d45, d50, d60, d62, d65, d70

digium.phone.sendDTMF

Description

Sends DTMF tones in an ongoing call.

Basic Example: 

Code Block
digium.phone.sendDTMF(parameters);

Parameters

Name

Required

Type

Default

Description

digit

Yes

string

Digit 0-9, a letter from A-D*, or #.

duration

No

integer

Length of time in milliseconds to play the tone.

...

digium.phone.sendDTMF with a tone to play

Code Block
digium.phone.sendDTMF({
    'duration' : 5000,
    'digit' : 5
});