Phone API Reference - Core - digium.phone.sendDTMF
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:
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. |
Examples
digium.phone.sendDTMF with a tone to play
digium.phone.sendDTMF({
'duration' : 5000,
'digit' : 5
}); |