send_digits
Send digit presses as DTMF tones.
Parameters
Name | Type | Required? | Default | Description |
---|---|---|---|---|
digits | string | Required | The digits to send. Valid values are 0123456789*#ABCDWw . Character W is a 1 second delay, and w is a 500 ms delay. |
Variables
Set by the method:
- send_digits_result: (out)
success
|failed
Examples
Send digits
- YAML
- JSON
version: 1.0.0
sections:
main:
- answer
- send_digits: "012345"
- play: "say: %{send_digits_result}"
{
"version": "1.0.0",
"sections": {
"main": [
"answer",
{
"send_digits": "012345"
},
{
"play": "say: %{send_digits_result}"
}
]
}
}