Synopsis:
Sends arbitrary DTMF digits
Description:
SendDTMF(digits[,timeout_ms[,duration_ms[,channel]]])
Arguments:
Argument | Description |
---|---|
digits | List of digits 0-9,*#,abcd |
timeout_ms | Amount of time, in milliseconds, to wait between tones. (defaults to .25s) |
duration_ms | Duration of each digit, in milliseconds |
channel | Channel where digits will be played |
Sends DTMF digits on a channel.
A ‘w’ as digit will cause a pause of 0.5 seconds.
The timeout option only works in CVS after 12-30-04. If not specified, the default value of the timeout is 250 ms (checked on Asterisk 1.4.21.2)
Note: The Asterisk cmd Dial command comes with the ‘D’ option that is also able to send DTMF to a channel.
See also
- Asterisk DTMF: About Asterisk and DTMF
- Asterisk cmd SIPdtmfmode: Change the DTMF type of an outbound SIP call
- SIP DTMF Signalling
- DTMF
Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ