// // Leave a Comment

[Guide] How to Add and Configure Microsoft Lync Server Common Area Phone Polycom


I have Polycom CX500 Common Area Phone, so here I will show you how to configure Common Area phone with Microsoft Lync Server. You will find more configuration help on Microsoft TechNet URL: http://technet.microsoft.com/en-us/library/gg425854.aspx
1. I am going to prepare my DHCP server
Configuring DHCP Search Options
Right click on IPv4 & click on Set predefined options,

Now Click on Add to add predefined options,

Use below option types & click on OK,
Now right click on Server options & select Configure options
Select DNS Serach list & enter your string value. In my case its mytricks.in
Configuring DHCP Options to Enable Sign-in for IP Phones
This is most tricky part of Common Area phone configuration,
  • If you are using 64-bit Windows DHCP server. Then copy DHCPUtil.exe and DHCPConfigScript.bat files from the following default location on your Lync Server to the Windows Server(s) running DHCP server for subnets where any phones will be connected.
%ProgramFiles%\Common Files\Microsoft Lync Server 2010\DHCPUtil.bat
%ProgramFiles%\Common Files\Microsoft Lync Server 2010\DHCPConfigScript.bat
  • IN my case DHCP server is on windows 32-bit server so follow below steps,
  • If using 32-bit Windows DHCP servers then only copy the DHCPConfigScript.bat file from the Lync server to the DHCP server. The DHCPUtil.exe tool will be run on the Lync server locally and the output will be used to call the batch file manually on the DHCP server.
Executing DHCPutil.exe /? Will return most of the available switches and a quick read-through appear to indicate a number of switches will be necessary. The keys to using this commands are that (1) if a single Lync Server is deployed in the environment then only the -SipServer is required as the same FQDN will be used for the other settings and (2) the –RunConfigScript option needs to be included otherwise the command will only printout what changes it ‘would’ make but will not actually do anything.
So this next step is optional (and purely for education) when dealing with a 64-bit DHCP serverconfiguration, but must be run on the Lync Server for 32-bit DHCP server configuration.
DHCPUtil.exe -SipServer lync.mytricks.in
run this command on Lync server via command prompt (Open Command prompt with “Rus as Administrator “option) (dhcputil.exe located in c:\programfiles\commonfiles\microsoft lync server)
C:\Program Files\Common Files\Microsoft Lync Server 2010>DHCPUtil.exe –sipserver lync.mytricks.in
Below is the output of above command,
SIP Server FQDN : lync.mytricks.in
Certificate Provisioning Service URL : https:// lync.mytricks.in:443/CertProv/Cer
tProvisioningService.svc
Option 120:
00046C796E63077361676974656303636F6D00
Vendor Class Identifier: MS-UC-Client
Option 43 (for vendor=MS-UC-Client):
sub-option 1 <UC Identifier>: 4D532D55432D436C69656E74
sub-option 2 <URL Scheme>: 6874747073
sub-option 3 <Web Server FQDN>: 6C796E632E736167697465632E636F6D
sub-option 4 <Port>: 343433
sub-option 5 <Relative Path for Cert Prov>: 2F4365727450726F762F43657274
50726F766973696F6E696E67536572766963652E737663
To configure DHCP Server with appropriate values, you can do one of the following things:
1. Run DHCPUtil on the DHCP Server: use ‘-RunConfigScript’ switch
2. Run the following command on the DHCP Server (modify the path of DHCP
ConfigScript.bat appropriately):
“C:\Program Files\Common Files\Microsoft Lync Server 2010\DHCPConfigScript.bat”
Configure MS-UC-Client 00046C796E63077361676974656303636F6D00 4D532D55432D436C69
656E74 6874747073 6C796E632E736167697465632E636F6D 343433 2F4365727450726F762F43
65727450726F766973696F6E696E67536572766963652E737663
C:\Program Files\Common Files\Microsoft Lync Server 2010>
Then go to DHCP server (32bit)
C:\ cd Lync (location where u copied dhcpconfigscript from Lync server)
& run below command
C:\dhcpconfigscript.bat Configure MS-UC-Client 00046C796E63077361676974656303636F6D00 4D532D55432D436C69
656E74 6874747073 6C796E632E736167697465632E636F6D 343433 2F4365727450726F762F43
65727450726F766973696F6E696E67536572766963652E737663
Restart Common Area phone & try to login to the phone using pin number & extension.
To create a new Common Area Phone:
New-CsCommonAreaPhone -LineURI “tel:+17805551212;ext=5001″ -RegistrarPool “pool01.contoso.com” -DisplayName “Common Area Phone” -SipAddress “sip:commonphone01@domain.com” -OU “OU=Common Phones,OU=Lync Objects,DC=contoso,DC=com”