Automatic Conversion

The script uses grammars independently from the following types of supported media:

  • Cisco Media Termination (CMT)—DTM F digits

  • Automatic Speech Recognition ASR)—Speech

The script automatically converts grammars from one type to the other, based on the media type of the call.

If the call uses a CMT Dialog channel and you have specified a SRGS (.grxml) grammar, the script automatically analyzes the grammar and extracts all defined digits to create a corresponding digit grammar.

If the call uses an ASR Dialog channel and you have specified a digit grammar, the script automatically converts the grammar to a corresponding SRGS (.grxml) grammar. If the grammar is marked with “word=true”, the script includes the spoken representation of the digit, in the current language of the call, in the SRGS grammar.