Phone API Reference - Core - digium.phone.sendDTMF
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 }); |