The Digit File Grammar Format

The Digit file grammar format (“.digit”) is based on Java Properties File, in which a key is defined as “dtmf-x”, where “x” is from the set “0123456789*#ABCD” and its value is the corresponding tag to be returned when a key is pressed or recognized.

You can use an optional entry defined as “word=true” to specify that the word representation of each DTMF digit should be automatically included during a recognition; for example:

word=true
dtmf-star=bye
dtmf-4=4

For an example of Digit File grammar format, see Using the Digit File Grammar Format in the Cisco Unified Contact Center Express Scripting and Development Series: Volume 2, Editor Step Reference Guide.