StoreDTMF()
Synopsis
Stores DTMF digits transmitted or received on a channel.
Description
The StoreDTMF function can be used to obtain digits sent in the TX
or RX
direction of any channel.
The arguments are:
var_name: Name of variable to which to append digits.
max_digits: The maximum number of digits to store in the variable. Defaults to 0 (no maximum). After reading maximum digits, no more digits will be stored.
Example: Store digits in CDR variable
Example: Store up to 24 digits
Example: Disable digit collection
Syntax
StoreDTMF(direction)
Arguments
direction
- Must beTX
orRX
to store digits, orremove
to disable.
See Also
Import Version
This documentation was imported from Asterisk Version GIT-20-a9223f2