Its even more frustrating when Lync WONT collect these numbers and send to the RTCAB database cause they aren't in E.164 format.
It is possible to add normalization rules for modifying numbers from AD to E.164 so that they are recognised by Lync and sent off to the Database.
If this happens the AddressBook Service will gladly distribute these to Lync user via GAL or WEB.
It will even distribute numbers that aren't in E.164 as long as they have a normalization rule in the "Company Phone Number Normalization Rules" text file that matches the format in AD (as per the Extension Example below)
So how does this work?
Simply create a txt file and copy to the Lync Share
Now populate the txt file with your rules as per the example below:
# Normalize 4-digit extension numbers from Active Directory into E.164
# Legacy extensions
#Normalize NZ National Numbers from Active Directory into E.164
#Normalize NZ Cell numbers from Active Directory into E.164
#Extension Dialing for 8xxx range
To find further Active Directory Normalization failures navigate to the directory:
Just be warned, this isnt validated so if you make any typos you wont find this reported
BUT you can test this by running the ABServer.exe -testphonenorm switch.
Simply run the ABServer .exe from the directory:-
C:\Program Files\Microsoft Lync Server 2010\Server\Core
..\Program Files\Microsoft Lync Server 2010\Server\Core\ABServer.exe" -testphonenorm "021 123 4568"