Monday, October 21, 2013

Configuring DHCP scope options for Lync phone in non-windows environment

Dealing non-windows environment has always been exciting for a windows professional. A non-windows DHCP server can be configured with hex value to support Lync phone login.  Usually this is what you configure in Windows DHCP server.

Option Number
Option Name
String Value
1
UCIdentifier
MS-UC-Client
2
URLScheme
https
3
WebServerFQDN
Lyncweb.contoso.com
4
WebServerPort
443
5
CertProvRelPath
CertProv/CertProvisioningService.svc
120
SIP-Servers
lyncpool.contoso.com
 
Which you can convert to hex using any online string to hex converter. However it may not be sufficient. During an engagement I used several string to hex converters, but of no use. Finally I used the tool which I should have used at first go; DHCPUtil.exe. :)
 
Located DHCPUtil.exe on Lync server (%ProgramFiles%\Common Files\Microsoft Lync Server 2013) command prompt. Ran following command.

DHCPUtil.exe -SipServer lyncpool.contoso.com -WebServer lyncweb.contoso.com >Hex.txt

It created a file Hex.txt under %ProgramFiles%\Common Files\Microsoft Lync Server 2013. This file has corresponding hex values for DHCP scope options. We could login in Lync phone clients (hard reboot is required) successfully after configuring the DHCP server with HEX values.

For detailed instruction on how to configure DHCP scope options for Lync phone client: http://blog.schertz.name/2010/12/configuring-lync-server-for-phone-edition-devices/
 

No comments:

Post a Comment