Search This Blog

Tuesday, September 13, 2011

Microsoft Lync 2010 Server Address Book Normalization

As in Precious version of Clients , any phone Numbers stored in AD "Active Directory" phone Attributes using the E.164 formats will be displayed by Lync Client on both Contat Call menu , and contact card Details.

For example the Pattern +97112345678901 is populated on the AD and will appear on the Lync Call menu and contact card.

but if the Pattern is 0097112345678901 or 97112345678901, Lync server will fail to normalize it into E.164 and so , will not appear on the Lync Contact Card or call menu.


In order to display Number formats that not E.164 , Lync Server will need to be manually configured to properly normalize those numbers.

Configuring Address Book Normalization

By default normalization is already enabled in Lync Server which can be verified by the viewing the Lync Server’s current Address Book configuration.

to Verify this :
Open Lync Server Managment Shell (using account with Admin Previliges ) , and write the following Command:
Get-CsAddressBookConfiguration




the UseNormalizationRules Value should be Already Set to "True".

Now locate the Lync Server’s shared directory which was configured during the initial server deployment. The file server FQDN and share name can be identified in the Topology Builder under File Stores.

Browse to the share directory on the server and locate the ABFiles subdirectory.
\\LyncFEserver\LyncShare\1-WebServices-1\ABFiles

Create a new text file named Company_Phone_Number_Normalization_Rules.txt in the ABFiles directory. This normalization rules file must be stored in this location and not down a few directories where the actual address book files are stored as it was in Lync server.

Edit the file with Notepad and enter the following example normalization and translation patterns. This rule will apply to the users configured with phone numbers in this standard 14-digit format: 0097112345678901. (The first three lines are commented out and are not required in the text file.)

this Normalization rule will remove the First two Digits (00) and Add (+) instead. to convert it to the E.164 formats.

##
## Normalization rule to convert the 14-digits number starting with (00) to E.164 format
##
^00(\d{12})$
+$1

Save the changes to the Txt File and close it.
Now you will need to Update the address book for Lync Server for the new Configuration to take place,

this might take up to 5 minutes to happpen.

To Update the AddressBook use the following Command-line in the Lync Management Shell:

> Update-CsAddressBook

after 5 mintues sing out and sing in again to your Lync Client and the Phone numbers will be appearing in Lync Dial menu.

No comments:

Post a Comment