Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2007-06-06

This topic explains how to use the galgrammargenerator.exe program to update the Automatic Speech Recognition (ASR) grammar files for Microsoft Exchange Server 2007 Unified Messaging. Speech grammar files have a file name extension of .cfg or .grxml and are used by Unified Messaging to enable callers to use ASR or speech inputs to perform directory lookups. Because ASR is enabled by default for U.S. English, a folder named \grammars\en is created on each Exchange 2007 server that has the Unified Messaging server role installed. A folder is created for each language pack that you install on the Unified Messaging server. These folders contains the grammar files that are used for Outlook Voice Access and the grammar files that are generated by the Microsoft Exchange Unified Messaging service for the global address list, custom address lists, UM dial plans, and UM auto attendants.

The grammar files are updated the following ways:

Each grammar file is overwritten every time that the Microsoft Exchange Unified Messaging service automatically runs or when you manually run the galgrammargenerator.exe program to force an update of the grammar files. This ensures that newly created UM-enabled users can be accessed from the directory search in a time-efficient manner when a caller uses ASR. You can use the galgrammargenerator.exe program to force an update, or to generate or overwrite the grammar files that are used by Unified Messaging if they become corrupted.

Before You Begin

To perform this procedure, the account you use must be delegated the Exchange Server Administrator role and membership in the local Administrators group for the target server.

For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.

Procedure

To use the galgrammargenerator.exe program to update the speech grammar files on a Unified Messaging server

  • Run the following at a command prompt:

    Copy Code
    Galgrammargenerator.exe -s MyUmServer
    

For more information about syntax and parameters, at the command prompt, type galgrammargenerator.exe -?

For More Information