Exchange 2013: Custom address list for Unified Messaging and update speech grammar file
In this article, let's have a look at few important things that we need to consider before enabling Unified Messaging feature for the end users.
When the Unified Messaging server feature is enabled it requires a grammar file to provide voice user interface (VUI) that uses Automatic Speech Recognition (ASR). It updates the grammar for the UM enabled users through global address lists based on the speech grammar filters, languages that are configured.
It's better to create a custom address list for the UM auto attendant and allow callers to send voice messages only to this custom address list.
There are a few benefits of doing this:
- You add only the users who require UM enabled on this custom address list.
- You create the custom address list only with the mailbox users so that the contacts present in the address list will be excluded.
Now let's have a look at how to accomplish this task.
Run the below command to create a custom address list for the Unified Messaging.
New-Addresslist -Name UMVoice -IncludedRecipients MailboxUsers
https://exchangequery.files.wordpress.com/2015/07/al1.png?w=600&h=70
IMP:
For a grammar file to be generated for a distribution list, the distribution list must not be hidden.
Later scope the UMAutoAttendant only for this custom address list created as below.
Open EAC – Navigate to Unified Messaging –
https://exchangequery.files.wordpress.com/2015/07/um2.png?w=600&h=506
Select the Transfer & Search option and choose only the address list which was created for UM. You can add only the users for whom you have UM feature enabled.
https://exchangequery.files.wordpress.com/2015/07/um3.png?w=600&h=400
You can run the below command as well to accomplish this task:
Set-UMAutoAttendant -Identity MyUMAutoAttendant -ContactScope UMVoice
By this way you can exclude the contacts.
Exchange Unified messaging role gets the Speech inputs from users to perform directory look-ups. Then it looks up the display name of the UM enabled user in the GAL and then inserts into the speech grammar.
When the Display Names has periods then the speech inputs might not be recognized properly at times in Exchange 2010 UM servers.
You can run the below command to rectify this issue for Exchange 2010:
Set-Csuser -Identity sathish@exchangequery.com -PhoneticDisplayName ‘Sathish Ravi’
After performing the above you need to ran Galgrammargenerator.exe/GGG.exe
For Exchange 2010, run this command – Galgrammargenerator.exe -d MyUMDialPlan
For Exchange 2013 there is no commands to perform this action.
For Exchange 2013, the GAL speech grammar file is stored in the arbitration mailbox and then later downloaded to all Mailbox servers in that Exchange organization.
By default, the Mailbox Assistant runs every 24 hours. You can adjust the frequency by using the Set-MailboxServer -ManagedFolderWorkCycle
assistant cmdlet and change the frequency.
But the better way to address this is to just restart the Microsoft Exchange Mailbox Assistants after you create a new dial plan and leave the generation cycle as such to 24 hours. So when we restart all the GAL speech grammar files will be updated.