<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Rui Silva - UCspotting : Device Update Service</title><link>http://blogs.technet.com/ucspotting/archive/tags/Device+Update+Service/default.aspx</link><description>Tags: Device Update Service</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>The OCPhone Update Wars: The Return of the LG-Nortel 1.0.199</title><link>http://blogs.technet.com/ucspotting/archive/2009/05/23/3244869.aspx</link><pubDate>Sat, 23 May 2009 13:51:01 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3244869</guid><dc:creator>ucspotting</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/ucspotting/comments/3244869.aspx</comments><wfw:commentRss>http://blogs.technet.com/ucspotting/commentrss.aspx?PostID=3244869</wfw:commentRss><description>&lt;p&gt;In a previous post, &lt;a href="http://blogs.technet.com/ucspotting/archive/2009/04/16/how-to-upgrade-polycom-cx700-1-0-452-0-using-the-ocs-2007-r2-device-update-service.aspx" target="_blank"&gt;How to upgrade Polycom CX700 1.0.452.0 using the OCS 2007 R2 Device Update Service&lt;/a&gt;, I asked if someone could lend me an Office Communicator Phone Edition (OCPhone) with firmware version 1.0.199. Well, &lt;a href="http://www.linkedin.com/pub/minsoo-park/b/bb7/a44" target="_blank"&gt;Minsoo Park&lt;/a&gt; from LG-Nortel (kudos for him) was kind enough to lend me one IP Phone 8540 with this old firmware version, so that I could test the OCS 2007 R2 Device Update Service is capable of upgrading it.&lt;/p&gt;  &lt;p&gt;My first step was to provision the Device Updater with an appropriate firmware version (&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=565595be-6cf3-4a61-a1e4-12555749ca64&amp;amp;amp;displaylang=en&amp;amp;displaylang=en" target="_blank"&gt;3.5.6907.9&lt;/a&gt;) for the LG-Nortel IP Phone 8540, which I immediately approved.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/TheOCPhoneWarsTheReturnoftheLGNortel.199_9132/device-updater_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="device-updater" border="0" alt="device-updater" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/TheOCPhoneWarsTheReturnoftheLGNortel.199_9132/device-updater_thumb.png" width="484" height="364" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;There was no need to modify the Client Version Filter, since I was already allowing OCPhone software version 1.0.199 and higher to connect to my OCS pool. &lt;/p&gt;  &lt;p&gt;As soon as I plugged the device in and signed in with valid credentials, I noticed it was requesting the Address Book files, but there was no sign of it willing to contact the update service.&lt;/p&gt;  &lt;div style="border-bottom: gray 1px solid; border-left: gray 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; max-height: 200px; font-size: 8pt; overflow: auto; border-top: gray 1px solid; cursor: text; border-right: gray 1px solid; padding-top: 4px"&gt;   &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;#Software: Microsoft Internet Information Services 7.0
#Version: 1.0
#&lt;span style="color: #0000ff"&gt;Date&lt;/span&gt;: 2009-05-22 16:05:55
#Fields: &lt;span style="color: #0000ff"&gt;date&lt;/span&gt; time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2009-05-22 16:51:13 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/F-0bf7.dabs - 443 - 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 401 2 5 0
2009-05-22 16:51:15 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/F-0bf7.dabs - 443 - 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 401 1 2148074254 0
2009-05-22 16:51:15 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/F-0bf7.dabs - 443 DEMO\ocphone 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 200 0 0 15
2009-05-22 17:05:50 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/D-0bf7-0d8b.dabs - 443 - 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 401 2 5 15
2009-05-22 17:05:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/D-0bf7-0d8b.dabs - 443 - 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 401 1 2148074254 0
2009-05-22 17:05:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/D-0bf7-0d8b.dabs - 443 DEMO\ocphone 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 404 0 0 15
2009-05-22 17:05:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/F-0d8b.dabs - 443 - 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 401 2 5 0
2009-05-22 17:05:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/F-0d8b.dabs - 443 - 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 401 1 2148074254 0
2009-05-22 17:05:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/F-0d8b.dabs - 443 DEMO\ocphone 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 404 0 0 0
2009-05-22 17:05:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/D-0bf7-0d8a.dabs - 443 - 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 401 2 5 0
2009-05-22 17:05:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/D-0bf7-0d8a.dabs - 443 - 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 401 1 2148074254 15
2009-05-22 17:05:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/D-0bf7-0d8a.dabs - 443 DEMO\ocphone 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 404 0 0 0
2009-05-22 17:05:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/F-0d8a.dabs - 443 - 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 401 2 5 0
2009-05-22 17:05:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/F-0d8a.dabs - 443 - 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 401 1 2148074254 0
2009-05-22 17:05:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/F-0d8a.dabs - 443 DEMO\ocphone 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 404 0 0 0
2009-05-22 17:05:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/D-0bf7-0d89.dabs - 443 - 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 401 2 5 0
2009-05-22 17:05:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/D-0bf7-0d89.dabs - 443 - 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 401 1 2148074254 0
2009-05-22 17:05:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/D-0bf7-0d89.dabs - 443 DEMO\ocphone 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 404 0 0 15
2009-05-22 17:05:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/F-0d89.dabs - 443 - 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 401 2 5 0
2009-05-22 17:05:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/F-0d89.dabs - 443 - 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 401 1 2148074254 0
2009-05-22 17:05:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/F-0d89.dabs - 443 DEMO\ocphone 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 404 0 0 0
2009-05-22 17:06:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/D-0bf7-0d8b.dabs - 443 - 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 401 2 5 0
2009-05-22 17:06:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/D-0bf7-0d8b.dabs - 443 - 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 401 1 2148074254 0
2009-05-22 17:06:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/D-0bf7-0d8b.dabs - 443 DEMO\ocphone 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 404 0 0 0
2009-05-22 17:06:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/F-0d8b.dabs - 443 - 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 401 2 5 0
2009-05-22 17:06:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/F-0d8b.dabs - 443 - 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 401 1 2148074254 0
2009-05-22 17:06:53 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/F-0d8b.dabs - 443 DEMO\ocphone 192.168.20.115 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 404 0 0 0&lt;/pre&gt;
&lt;/div&gt;

&lt;h3&gt;The solution &lt;/h3&gt;

&lt;p&gt;The solution to this particular problem is at the very end of the &lt;a href="http://download.microsoft.com/download/8/5/E/85E9537C-5F96-4B5B-9E8C-60099699D708/Office_Communicator_2007_R2_Phone_Edition_Relnotes.htm" target="_blank"&gt;Microsoft Office Communicator 2007 R2 Phone Edition Release Notes&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;If the &lt;b&gt;ExternalUpdatesDownloadURL&lt;/b&gt; and &lt;b&gt;ExternalUpdatesStoreURL&lt;/b&gt; properties of the Windows Management Instrumentation (WMI) class &lt;b&gt;MSFT_SIPUpdatesServerSetting&lt;/b&gt; are set to NULL, you need to use the following procedure to change the settings to update the device.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Click &lt;b&gt;Start&lt;/b&gt;, click &lt;b&gt;Run&lt;/b&gt;, and then type &lt;b&gt;wbemtest&lt;/b&gt; to open Window Management Instrumentation Tester. &lt;/li&gt;

  &lt;li&gt;Click &lt;b&gt;Connect&lt;/b&gt;. In &lt;b&gt;Namespace&lt;/b&gt;, type &lt;b&gt;root\cimv2&lt;/b&gt;, and then click &lt;b&gt;Enter&lt;/b&gt;. This enables all the buttons on the wbemtest user interface. &lt;/li&gt;

  &lt;li&gt;Click &lt;b&gt;Query&lt;/b&gt;, and type the following query, where&lt;strong&gt; $poolbackend$&lt;/strong&gt; is the back-end database for the pool (use '(local)\\rtc' for the OCS Standard Edition): 

    &lt;br /&gt;&lt;font face="Courier New"&gt;select * from MSFT_SIPUpdatesServerSetting where backend='$poolbackend$'&lt;/font&gt; &lt;/li&gt;

  &lt;li&gt;This query opens one instance of this class. Double-click the instance. &lt;/li&gt;

  &lt;li&gt;Double-click the &lt;b&gt;ExternalUpdatesDownloadURL&lt;/b&gt; and &lt;b&gt;ExternalUpdatesStoreURL&lt;/b&gt; properties to edit them, and type the values for each property as follows: 

    &lt;br /&gt;For &lt;b&gt;ExternalUpdatesDownloadURL&lt;/b&gt;, type: 

    &lt;br /&gt;https://**POOL_FQDN**/RequestHandlerExt/ucdevice.upx 

    &lt;br /&gt;For &lt;b&gt;ExternalUpdatesStoreURL&lt;/b&gt;, type: 

    &lt;br /&gt;https:// **POOL_FQDN**/DeviceUpdateFiles_Ext &lt;/li&gt;

  &lt;li&gt;Click &lt;b&gt;Save Property&lt;/b&gt; and &lt;b&gt;Save Object&lt;/b&gt; to save the instance. &lt;/li&gt;

  &lt;li&gt;Verify that the Windows Management Instrumentation (WMI) values are updated by querying the class as described in step 3. The &lt;b&gt;ExternalUpdatesDownloadURL&lt;/b&gt; and &lt;b&gt;ExternalUpdatesStoreURL&lt;/b&gt; properties&amp;#160; should be set to a non-NULL value. &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Updating older firmware versions fails because the devices are expecting both the internal and external download URLs to be populated in the inband provisioning data received from the pool. With a clean R2 install, those fields are not populated, and as a result, the device rejects the inband provisioning data (thanks &lt;a href="http://blogs.microsoft.nl/members/Thijs-Janssen.aspx" target="_blank"&gt;Thijs&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;After making these changes and restarting the OCS Frontend Service, I rebooted once again the IP Phone 8540 and it was magic! &lt;span style="background-color: #ffff99"&gt;The device got the inband provisioning and the expected 2-step upgrade process (update first to the interim version 1.0.522.103 and afterwards to the R2 version 3.5.6907.9) ran really smoothly&lt;/span&gt;, as you can see from the IIS logs below…&lt;/p&gt;

&lt;div style="border-bottom: gray 1px solid; border-left: gray 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; height: 233px; max-height: 200px; font-size: 8pt; overflow: auto; border-top: gray 1px solid; cursor: text; border-right: gray 1px solid; padding-top: 4px"&gt;
  &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;#Software: Microsoft Internet Information Services 7.0
#Version: 1.0
#&lt;span style="color: #0000ff"&gt;Date&lt;/span&gt;: 2009-05-22 17:38:28
#Fields: &lt;span style="color: #0000ff"&gt;date&lt;/span&gt; time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2009-05-22 17:40:13 192.168.200.101 POST /RequestHandler/ucdevice.upx - 80 - 192.168.20.115 Microsoft+UCPhone+Device 200 0 0 6563
2009-05-22 17:42:27 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /DeviceUpdateFiles_Int/OCInterim/ENU/CPE.nbt - 80 - 192.168.20.115 Microsoft+UCPhone+Device 200 0 0 134262
2009-05-22 17:42:27 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /DeviceUpdateFiles_Int/OCInterim/ENU/CPE.cat - 80 - 192.168.20.115 Microsoft+UCPhone+Device 200 0 0 31
2009-05-22 18:10:09 192.168.200.101 POST /RequestHandler/ucdevice.upx - 443 - 192.168.20.115 Microsoft+UCPhone+Device 200 0 0 171
2009-05-22 18:13:02 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /DeviceUpdateFiles_Int/UCPhone/LG-Nortel/IP8540/A/ENU/3.5.6907.9/CPE/CPE.nbt - 80 - 192.168.20.115 Microsoft+UCPhone+Device 200 0 0 172705
2009-05-22 18:13:02 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /DeviceUpdateFiles_Int/UCPhone/LG-Nortel/IP8540/A/ENU/3.5.6907.9/CPE/CPE.cat - 80 - 192.168.20.115 Microsoft+UCPhone+Device 200 0 0 31
2009-05-22 18:15:14 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/F-0bf7.dabs - 443 - 192.168.20.115 Microsoft+UCPhone+Device 401 2 5 15
2009-05-22 18:15:14 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/F-0bf7.dabs - 443 - 192.168.20.115 Microsoft+UCPhone+Device 401 1 2148074254 0
2009-05-22 18:15:14 192.168.200.101 &lt;span style="color: #0000ff"&gt;GET&lt;/span&gt; /Abs/Int/Handler/F-0bf7.dabs - 443 DEMO\ocphone 192.168.20.115 Microsoft+UCPhone+Device 200 0 0 0
2009-05-22 18:19:17 192.168.200.101 POST /requestHandler/ucdevice.upx - 80 - 192.168.20.115 Microsoft+UCPhone+Device 200 0 0 125
2009-05-22 18:21:48 192.168.200.101 POST /RequestHandler/ucdevice.upx - 443 - 192.168.20.115 Microsoft+UCPhone+Device 200 0 0 171&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;…and also from the Device Update Audit logs:&lt;/p&gt;

&lt;div style="border-bottom: gray 1px solid; border-left: gray 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; height: 110px; max-height: 200px; font-size: 8pt; overflow: auto; border-top: gray 1px solid; cursor: text; border-right: gray 1px solid; padding-top: 4px"&gt;
  &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;Logging DateTime,User Name,User Host Address,Device Type,Request DateTime,Mac Address,Serial Number,Vendor,Model,Revision,Locale,Requested&amp;lt;FileName;Version;TimeStamp&amp;gt;[# Seperated &lt;span style="color: #0000ff"&gt;for&lt;/span&gt; Multiple],Response&amp;lt;FileName;Version;TimeStamp&amp;gt;[# Seperated &lt;span style="color: #0000ff"&gt;for&lt;/span&gt; Multiple]
05-22-2009 18:40:12,,192.168.20.115,UCPhone,22-05-2009 10:40:06,&lt;span style="color: #006080"&gt;&amp;quot;001B9E2CCD9A&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;1108006386&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;LG-Nortel&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;IP8540&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;A&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;ENU&amp;quot;&lt;/span&gt;,cpe.nbt;0.0.0.0;01-01-1601 00:00:00,http://PTSTU-OCS01.demo.local/DeviceUpdateFiles_Int/OCInterim/ENU/CPE.nbt;1.0.522.103;05-04-2009 20:09:14
05-22-2009 19:10:09,ocphone@demo.local,192.168.20.115,UCPhone,22-05-2009 11:10:10,&lt;span style="color: #006080"&gt;&amp;quot;001B9E2CCD9A&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;1108006386&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;LG-Nortel&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;IP8540&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;A&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;ENU&amp;quot;&lt;/span&gt;,cpe.nbt;1.0.522.103;05-04-2009 20:09:14,http://PTSTU-OCS01.demo.local/DeviceUpdateFiles_Int/UCPhone/LG-Nortel/IP8540/A/ENU/3.5.6907.9/CPE/CPE.nbt;3.5.6907.9;05-04-2009 20:09:14
05-22-2009 19:19:17,,192.168.20.115,UCPhone,22-05-2009 11:18:00,&lt;span style="color: #006080"&gt;&amp;quot;001B9E2CCD9A&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;1108006386&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;LG-Nortel&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;IP8540&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;A&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;ENU&amp;quot;&lt;/span&gt;,cpe.nbt;3.5.6907.9;05-04-2009 20:09:14,
05-22-2009 19:21:48,ocphone@demo.local,192.168.20.115,UCPhone,22-05-2009 11:21:47,&lt;span style="color: #006080"&gt;&amp;quot;001B9E2CCD9A&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;1108006386&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;LG-Nortel&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;IP8540&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;A&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;ENU&amp;quot;&lt;/span&gt;,cpe.nbt;3.5.6907.9;05-04-2009 20:09:14,&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;&amp;#160;&lt;/p&gt;

&lt;p&gt;With this post I conclude the OCS 2007 R2 Device Update Service Troubleshooting trilogy:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;a href="http://blogs.technet.com/ucspotting/archive/2009/03/11/troubleshooting-ocs-2007-r2-device-update-service-for-communicator-phone-edition.aspx"&gt;Troubleshooting OCS 2007 R2 Device Update Service for Communicator Phone Edition&lt;/a&gt; &lt;/li&gt;

  &lt;li&gt;&lt;a href="http://blogs.technet.com/ucspotting/archive/2009/04/16/how-to-upgrade-polycom-cx700-1-0-452-0-using-the-ocs-2007-r2-device-update-service.aspx"&gt;How to upgrade Polycom CX700 1.0.452.0 using the OCS 2007 R2 Device Update Service&lt;/a&gt; &lt;/li&gt;

  &lt;li&gt;&lt;a href="http://blogs.technet.com/ucspotting/archive/2009/05/23/3244869.aspx" target="_blank"&gt;The OCPhone Update Wars: The Return of the LG-Nortel 1.0.199&lt;/a&gt; &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style="background-color: #ffff99"&gt;QED, quod erat demonstrandum, the Device Update Service from Office Communications Server 2007 R2 can successfully upgrade any Communicator Phone Device that has firmware version 1.0.199 or later&lt;/span&gt;.&lt;/p&gt;

&lt;p&gt;A final note, there are some very, very old pre-production devices that have firmware version 1.0.111.0, which cannot be updated neither by OCS 2007 R2 nor by OCS 2007 “R1”. The pre-production devices &lt;b&gt;can&lt;/b&gt; be updated to newer R1 firmware using the Beta3 Update Server of OCS 2007 (good luck trying to find the Beta 3 version!). However, you cannot use them against an RTM 2007 or 2007 R2 Update Server. The problem is that devices must report their brand, firmware, version, model, etc to the Update Server. The pre-production devices report an empty string for brand, model and revision, which the Update Server doesn’t understand or accept (thanks again &lt;a href="http://blogs.microsoft.nl/members/Thijs-Janssen.aspx" target="_blank"&gt;Thijs&lt;/a&gt;).&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3244869" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/ucspotting/archive/tags/Communicator+Phone+Edition/default.aspx">Communicator Phone Edition</category><category domain="http://blogs.technet.com/ucspotting/archive/tags/OCS+2007+R2/default.aspx">OCS 2007 R2</category><category domain="http://blogs.technet.com/ucspotting/archive/tags/Device+Update+Service/default.aspx">Device Update Service</category></item><item><title>How to upgrade Polycom CX700 1.0.452.0 using the OCS 2007 R2 Device Update Service</title><link>http://blogs.technet.com/ucspotting/archive/2009/04/16/how-to-upgrade-polycom-cx700-1-0-452-0-using-the-ocs-2007-r2-device-update-service.aspx</link><pubDate>Thu, 16 Apr 2009 11:55:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3227102</guid><dc:creator>ucspotting</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.technet.com/ucspotting/comments/3227102.aspx</comments><wfw:commentRss>http://blogs.technet.com/ucspotting/commentrss.aspx?PostID=3227102</wfw:commentRss><description>&lt;p&gt;Let me start by saying that, although the title of this post refers Polycom CX700 (because was this device I used), &lt;span style="background-color: #ffff99"&gt;the procedures described here will probably work with other devices (e.g. LG-Nortel or Microsoft)&lt;/span&gt;.&lt;/p&gt;  &lt;p&gt;If you read my previous post &lt;a href="http://blogs.technet.com/ucspotting/archive/2009/03/11/troubleshooting-ocs-2007-r2-device-update-service-for-communicator-phone-edition.aspx" target="_blank"&gt;Troubleshooting OCS 2007 R2 Device Update Service for Communicator Phone Edition&lt;/a&gt;, you probably noticed the comments about upgrading Office Communicator Phone Edition (OCPE) version 1.0.452.0.&lt;/p&gt;  &lt;p&gt;When I wrote that post, I hadn’t tested anything lower than 1.0.522.34, so, to tell you the truth, I was not sure it was possible to upgrade these early (Beta) versions. Until today!&lt;/p&gt;  &lt;p&gt;When I had the chance to put my hands on one of these early babies (thanks &lt;a href="http://techdays.canoas.com/Agenda/OradorBio.aspx/103" target="_blank"&gt;Paulo Silva&lt;/a&gt;), I didn’t think twice.&lt;/p&gt;  &lt;h3&gt;The upgrade process&lt;/h3&gt;  &lt;p&gt;As soon as I plugged the device into my test environment and tried to sign in, I got the following error:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#ff0000"&gt;Cannot sign in to Communications Service. Current version        &lt;br /&gt;does not work with the available server. Contact your         &lt;br /&gt;system administrator.&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;I immediately understood what the problem was: the Client Version Filter. Lowering the allowed OCPhone version to 1.0.199 did the trick.&lt;/p&gt;  &lt;p&gt;After a quick reboot and still no signs of a successful upgrade, I noticed that I was getting an Update Status (0x0/404) on the phone. The IIS log confirmed the HTTP error 404 – File Not Found. The device was requesting the file &lt;strong&gt;/UCDeviceUpdates/ucdevice.upx&lt;/strong&gt;, which cannot be found because the virtual dir &lt;strong&gt;/UCDevicesUpdate&lt;/strong&gt; doesn’t exist.&lt;/p&gt;  &lt;div style="border-bottom: gray 1px solid; border-left: gray 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; height: 52px; max-height: 200px; font-size: 8pt; overflow: auto; border-top: gray 1px solid; cursor: text; border-right: gray 1px solid; padding-top: 4px"&gt;   &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2009-04-15 17:47:37 192.168.200.101 POST /UCDeviceUpdates/ucdevice.upx - 80 - 192.168.20.103 Microsoft+UCPhone+Device 404 0 2 0&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;I’m not sure why the device requests that specific URL. In the &lt;a href="http://blogs.technet.com/ucspotting/archive/2008/11/18/upgrade-tanjay-1-0-199-yes-we-can.aspx" target="_blank"&gt;tests I made with an even lower version, 1.0.199&lt;/a&gt;, the requested URL was &lt;strong&gt;/RequestHandler/ucdevice.upx&lt;/strong&gt;, which is the correct one. Further investigation is needed to determine the cause of this issue.&lt;/p&gt;

&lt;p&gt;In order to try to overcome the situation, I decided to create the &lt;strong&gt;/UCDevicesUpdate&lt;/strong&gt; virtual dir, replicating all the settings of the &lt;strong&gt;/RequestHandler&lt;/strong&gt; folder. Here’s how to do it on IIS 7.0 (with IIS 6.0 would probably be easier, since there is an option to redirect a virtual dir):&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Open &lt;strong&gt;Internet Information Services (IIS) Manager&lt;/strong&gt;, right click the web site and select &lt;strong&gt;Add Application&lt;/strong&gt;. Name it &lt;em&gt;UCDeviceUpdates&lt;/em&gt;, select the &lt;em&gt;LSGroupExpAppPool&lt;/em&gt;, and point it to the same Physical path as &lt;strong&gt;/RequestHandler&lt;/strong&gt;. 

    &lt;br /&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/How.0usingtheOCS2007R2DeviceUpdateServic_12E4A/01-virtual-dir_2.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="01-virtual-dir" border="0" alt="01-virtual-dir" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/How.0usingtheOCS2007R2DeviceUpdateServic_12E4A/01-virtual-dir_thumb.gif" width="452" height="315" /&gt;&lt;/a&gt; &lt;/li&gt;

  &lt;li&gt;Select the newly created application (&lt;strong&gt;/UCDeviceUpdates&lt;/strong&gt;), on the &lt;strong&gt;Features View&lt;/strong&gt; select &lt;strong&gt;Authentication&lt;/strong&gt; and then disable Windows Authentication. 

    &lt;br /&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/How.0usingtheOCS2007R2DeviceUpdateServic_12E4A/02-disable-windows-authentication_2.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="02-disable-windows-authentication" border="0" alt="02-disable-windows-authentication" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/How.0usingtheOCS2007R2DeviceUpdateServic_12E4A/02-disable-windows-authentication_thumb.gif" width="484" height="342" /&gt;&lt;/a&gt; 

    &lt;br /&gt;If we stop now (as I first did), we would get the HTTP Error 405.0 - Method not allowed. 

    &lt;div style="border-bottom: gray 1px solid; border-left: gray 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; height: 51px; max-height: 200px; font-size: 8pt; overflow: auto; border-top: gray 1px solid; cursor: text; border-right: gray 1px solid; padding-top: 4px"&gt;
      &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2009-04-15 18:07:35 192.168.200.101 POST /UCDeviceUpdates/ucdevice.upx - 80 - 192.168.20.103 Microsoft+UCPhone+Device 405 0 64 31&lt;/pre&gt;
    &lt;/div&gt;
  &lt;/li&gt;

  &lt;li&gt;The &lt;strong&gt;Handler Mappings&lt;/strong&gt; for &lt;strong&gt;/UCDeviceUpdates &lt;/strong&gt;must be changed so that they match &lt;strong&gt;/RequestHandler&lt;/strong&gt;, particularly the *.upx Script Map. 

    &lt;br /&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/How.0usingtheOCS2007R2DeviceUpdateServic_12E4A/03-handler-mappings_2.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="03-handler-mappings" border="0" alt="03-handler-mappings" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/How.0usingtheOCS2007R2DeviceUpdateServic_12E4A/03-handler-mappings_thumb.gif" width="484" height="342" /&gt;&lt;/a&gt; 

    &lt;br /&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/How.0usingtheOCS2007R2DeviceUpdateServic_12E4A/04-upx-script-mapping_2.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="04-upx-script-mapping" border="0" alt="04-upx-script-mapping" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/How.0usingtheOCS2007R2DeviceUpdateServic_12E4A/04-upx-script-mapping_thumb.gif" width="400" height="329" /&gt;&lt;/a&gt; &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;With these changes in place, the upgrade process went as expected: the device gets in-band provisioning about the update URL, downloads and installs the interim version (1.0.522.103), reboots, downloads and installs the approved version (&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=565595be-6cf3-4a61-a1e4-12555749ca64&amp;amp;displaylang=en&amp;amp;tm" target="_blank"&gt;3.5.6907.9&lt;/a&gt;), does a final reset and it’s ready to use with Office Communications Server 2007 R2.&lt;/p&gt;

&lt;div style="border-bottom: gray 1px solid; border-left: gray 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; height: 196px; max-height: 200px; font-size: 8pt; overflow: auto; border-top: gray 1px solid; cursor: text; border-right: gray 1px solid; padding-top: 4px"&gt;
  &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2009-04-15 18:36:09 192.168.200.101 POST /UCDeviceUpdates/ucdevice.upx - 80 - 192.168.20.103 Microsoft+UCPhone+Device 200 0 0 6531
2009-04-15 18:38:28 192.168.200.101 GET /DeviceUpdateFiles_Int/OCInterim/ENU/CPE.nbt - 80 - 192.168.20.103 Microsoft+UCPhone+Device 200 0 0 139006
2009-04-15 18:38:28 192.168.200.101 GET /DeviceUpdateFiles_Int/OCInterim/ENU/CPE.cat - 80 - 192.168.20.103 Microsoft+UCPhone+Device 200 0 0 15
2009-04-15 18:46:05 192.168.200.101 POST /requestHandler/ucdevice.upx - 80 - 192.168.20.103 Microsoft+UCPhone+Device 200 0 0 2093
2009-04-15 18:49:09 192.168.200.101 GET /DeviceUpdateFiles_Int/UCPhone/Polycom/CX700/A/ENU/3.5.6907.9/CPE/CPE.nbt - 80 - 192.168.20.103 Microsoft+UCPhone+Device 200 0 0 183461
2009-04-15 18:49:09 192.168.200.101 GET /DeviceUpdateFiles_Int/UCPhone/Polycom/CX700/A/ENU/3.5.6907.9/CPE/CPE.cat - 80 - 192.168.20.103 Microsoft+UCPhone+Device 200 0 0 15
2009-04-15 18:50:29 192.168.200.101 POST /requestHandler/ucdevice.upx - 80 - 192.168.20.103 Microsoft+UCPhone+Device 200 0 0 140
2009-04-15 18:51:51 192.168.200.101 POST /RequestHandler/ucdevice.upx - 443 - 192.168.20.103 Microsoft+UCPhone+Device 200 0 0 187
2009-04-15 18:56:47 192.168.200.101 GET /Abs/Int/Handler/F-0bd2.dabs - 443 - 192.168.20.103 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 401 2 5 0
2009-04-15 18:56:47 192.168.200.101 GET /Abs/Int/Handler/F-0bd2.dabs - 443 DEMO\OCPhone 192.168.20.103 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+CE) 200 0 0 125&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;A final note: &lt;span style="background-color: #ffff99"&gt;I didn’t use the &lt;strong&gt;Test Devices&lt;/strong&gt; option, instead I approved the update&lt;/span&gt; (this means that all qualified devices would get the update without first testing it).&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;h3&gt;Epilogue&lt;/h3&gt;

&lt;p&gt;So far, the OCS 2007 R2 Device Update Service revealed to be capable of successfully upgrading OCPE version 1.0.452.0 and later. The early beta versions can sometimes be tricky and require some tweaks, like creating a new virtual dir (as explained in this post). &lt;/p&gt;

&lt;p&gt;I’ve read some post regarding the 1.0.452.0 version stating that WINS is required. In the tests I made, I didn’t use WINS, only DNS (&lt;span style="background-color: #ffff99"&gt;I had the UCUPDATES and UCUPDATES-R2 defined as A records and pointing to the OCS pool IP address&lt;/span&gt;).&lt;/p&gt;

&lt;p&gt;I would love to test version 1.0.199. Can someone lend me one? :-)&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3227102" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/ucspotting/archive/tags/Communicator+Phone+Edition/default.aspx">Communicator Phone Edition</category><category domain="http://blogs.technet.com/ucspotting/archive/tags/Device+Update+Service/default.aspx">Device Update Service</category></item><item><title>Troubleshooting OCS 2007 R2 Device Update Service for Communicator Phone Edition</title><link>http://blogs.technet.com/ucspotting/archive/2009/03/11/troubleshooting-ocs-2007-r2-device-update-service-for-communicator-phone-edition.aspx</link><pubDate>Wed, 11 Mar 2009 14:24:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3211600</guid><dc:creator>ucspotting</dc:creator><slash:comments>16</slash:comments><comments>http://blogs.technet.com/ucspotting/comments/3211600.aspx</comments><wfw:commentRss>http://blogs.technet.com/ucspotting/commentrss.aspx?PostID=3211600</wfw:commentRss><description>&lt;p&gt;One of the big improvements with the release of Office Communications Server (OCS) 2007 R2 was the new Device Update Service, much more simple than the &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=889c542e-8b09-46c2-bd86-671c21668830&amp;amp;DisplayLang=en" target="_blank"&gt;previous version&lt;/a&gt;. Goodbye Windows SharePoint Services on a different server, no more additional complexity in order to update the UC devices deployed in an organization. Now, the Device Update Service is automatically installed on the Web Components Server, which is part of the Front-end server, on a consolidated topology (the only one supported in R2).&lt;/p&gt;  &lt;p&gt;Device Update Service supports two types of UC devices: OCS 2007 R2 Communicator Phone Edition (OCPE or Tanjay) and RoundTable (must be manually configured). &lt;/p&gt;  &lt;p&gt;Device Update Service is mostly used to upgrade OCPE phones (LG-Nortel IP8540, Polycom CX700 and older Microsoft branded), so one could expect this process to be the most common cause of troubles and frustration. And that is, in fact, the case! Now even more, since there is a &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=565595be-6cf3-4a61-a1e4-12555749ca64&amp;amp;displaylang=en&amp;amp;tm" target="_blank"&gt;new version of the firmware&lt;/a&gt; for OCS 2007 R2.&lt;/p&gt;  &lt;p&gt;Before we dive into the troubleshooting process, let us know better the &lt;a href="http://technet.microsoft.com/en-us/library/dd441236(office.13).aspx" target="_blank"&gt;Device Update Service Architecture&lt;/a&gt; and how it works:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/TroubleshootingOCS2007R2DeviceUpdateServ_113F4/Dd441236.80ffe373-2814-4651-8b26-e03fcaf50762(en-us,office.13)%5B1%5D_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Dd441236.80ffe373-2814-4651-8b26-e03fcaf50762(en-us,office.13)[1]" border="0" alt="Dd441236.80ffe373-2814-4651-8b26-e03fcaf50762(en-us,office.13)[1]" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/TroubleshootingOCS2007R2DeviceUpdateServ_113F4/Dd441236.80ffe373-2814-4651-8b26-e03fcaf50762(en-us,office.13)%5B1%5D_thumb.jpg" width="480" height="336" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;In the default configuration, Communicator Phone Edition connects to Device Update Service in the following manner: &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;The first time a user starts Communicator Phone Edition and signs in, the device gets in-band provisioning information from the server or Enterprise pool hosting the device user account. The information contains the internal and external URL of the server running Device Update Service.      &lt;br /&gt;&lt;span style="background-color: #ffff99"&gt;If the device is turned on, but no user signs on, and no user has ever previously signed on to the device, the device sends a DNS lookup request to ucupdates-r2.&amp;lt;DNS domain name that was provided by DHCP&amp;gt;&lt;/span&gt; and obtains the internal and external URL of the server running Device Update Service. &lt;/li&gt;    &lt;li&gt;Thereafter, when the device is turned on as well as every 24 hours by default, Communicator Phone Edition checks for updates by sending an HTTP request over port 443 to the Web Components Server hosting Device Update Service. The request includes the current version that Communicator Phone Edition is running. &lt;/li&gt;    &lt;li&gt;Device Update Service returns a response containing one of the following:      &lt;ul&gt;       &lt;li&gt;If no approved updates exist for the current version of the firmware, the response contains &lt;b&gt;downloads=0&lt;/b&gt;. For test devices, updates must be pending rather than approved for this to occur. &lt;/li&gt;        &lt;li&gt;If an approved update exists for the current version, the response contains an internal and external URL for Device Update Service. For test devices, updates must be pending rather than approved for this to occur. &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;In the latter case, Communicator Phone Edition sends an HTTPS update request over port 443 to Device Update Service. &lt;/li&gt;    &lt;li&gt;The update image is downloaded to the device. &lt;/li&gt;    &lt;li&gt;&lt;span style="background-color: #ffff99"&gt;The device waits for five minutes of idle activity&lt;/span&gt;, and then restarts to complete the update. &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Obtaining and approving new OCPE updates&lt;/h3&gt;  &lt;p&gt;The latest firmware version, (&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=565595be-6cf3-4a61-a1e4-12555749ca64&amp;amp;displaylang=en&amp;amp;tm" target="_blank"&gt;3.5.6907.0&lt;/a&gt;, by the time this post was written), can be downloaded from the Microsoft site. The downloaded file is a self-extracting executable that contains a .cab archive with all the supported phones.&lt;/p&gt;  &lt;p&gt;In order to upload the update file, we must run the Device Update Service Management Console: open the OCS R2 Management Console, right click the pool and select&lt;strong&gt; Device Updater&lt;/strong&gt;. From the &lt;strong&gt;Tools&lt;/strong&gt; menu, click &lt;b&gt;Upload .cab File&lt;/b&gt;, navigate to the .cab file that you want to upload, and then click &lt;strong&gt;Open&lt;/strong&gt;.&lt;/p&gt;  &lt;p&gt;Check the &lt;b&gt;Pending&lt;/b&gt; tab of the Device Update Service Management Console to verify that the new update is listed.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/TroubleshootingOCS2007R2DeviceUpdateServ_113F4/01-device-updates_2.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="01-device-updates" border="0" alt="01-device-updates" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/TroubleshootingOCS2007R2DeviceUpdateServ_113F4/01-device-updates_thumb.gif" width="484" height="364" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;You can also verify that the upload process went OK by checking the shared updates folder (if you’re using Enterprise edition). For the Standard edition, the default path is &lt;strong&gt;%ProgramFiles%\Microsoft Office Communicator 2007 R2\Web Components\DeviceUpdateFiles&lt;/strong&gt;. There should be a folder hierarchy like the one depicted in the following picture. Note that there are some Logs folders that I’ll cover a little bit ahead.&lt;/p&gt;  &lt;p&gt;&amp;#160; &lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/TroubleshootingOCS2007R2DeviceUpdateServ_113F4/03-device-updates_2.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="03-device-updates" border="0" alt="03-device-updates" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/TroubleshootingOCS2007R2DeviceUpdateServ_113F4/03-device-updates_thumb.gif" width="484" height="390" /&gt;&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;After the update file is uploaded, the corresponding firmware can be approved for all devices in the organization by selecting it and then clicking &lt;strong&gt;Approve&lt;/strong&gt;. The revision should be more recent than the revision for the last update the UC devices received. &lt;/p&gt;  &lt;p&gt;Prior to making the update widely available, it is recommended that you test it on some devices. To add a test device, go to the &lt;strong&gt;Test Devices&lt;/strong&gt; tab, click &lt;strong&gt;Add&lt;/strong&gt;, type a &lt;strong&gt;Friendly Name &lt;/strong&gt;and then fill up the MAC address or serial number of the device (there’s no need to approve the update).&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/TroubleshootingOCS2007R2DeviceUpdateServ_113F4/02-device-updates_2.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="02-device-updates" border="0" alt="02-device-updates" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/TroubleshootingOCS2007R2DeviceUpdateServ_113F4/02-device-updates_thumb.gif" width="484" height="364" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Restart the device and that should trigger the update process, as described before.&lt;/p&gt;  &lt;p&gt;If the previous version of the device is less than 1.0.522.98, it will first get updated to an interim build (1.0.522.103) that comes with OCS 2007 R2. &lt;span style="background-color: #ffff99"&gt;This means that, in this case, 2 upgrade cycles are necessary before the device gets the approved/pending build&lt;/span&gt;.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Log Files&lt;/h3&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;You can use the logs in the &lt;strong&gt;Logs\Server\Audit\imageUpdates\&lt;/strong&gt; folder to audit software update requests from UC devices. There you can find some files named &lt;em&gt;RequestHandlerAuditLog_&amp;lt;server_name&amp;gt;_&amp;lt;date&amp;gt;.log&lt;/em&gt; with the information you need to troubleshoot the update service. You can view server log files in a text editor or Microsoft Excel.&lt;/p&gt;  &lt;p&gt;In the following example, an LG-Nortel device with version 1.0.522.34 is configured as a test device and will receive the most up-to-date firmware. Since 1.0.522.34 is lower than 1.0.522.98, the device must first be upgraded to the interim version (1.0.522.103), then reboot and finally it receives the most recent version available on the server. &lt;/p&gt;  &lt;div style="border-bottom: gray 1px solid; border-left: gray 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; height: 78px; max-height: 200px; font-size: 8pt; overflow: auto; border-top: gray 1px solid; cursor: text; border-right: gray 1px solid; padding-top: 4px"&gt;   &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; height: 41px; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;Logging DateTime,User Name,User Host Address,Device Type,Request DateTime,Mac Address,Serial Number,Vendor,Model,Revision,Locale,Requested&amp;lt;FileName;Version;TimeStamp&amp;gt;[# Seperated &lt;span style="color: #0000ff"&gt;for&lt;/span&gt; Multiple],Response&amp;lt;FileName;Version;TimeStamp&amp;gt;[# Seperated &lt;span style="color: #0000ff"&gt;for&lt;/span&gt; Multiple]
03-06-2009 17:07:20,ruisilva@demo.local,10.1.1.123,UCPhone,06-03-2009 09:07:20,&lt;span style="color: #006080"&gt;&amp;quot;0021630F207B&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;C185H001209&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;LG-Nortel&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;IP8540&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;A&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;ENU&amp;quot;&lt;/span&gt;,cpe.nbt;0.0.0.0;01-01-1601 00:00:00,
03-06-2009 17:10:39,ruisilva@demo.local,10.1.1.123,UCPhone,06-03-2009 17:10:39,&lt;span style="color: #006080"&gt;&amp;quot;0021630F207B&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;C185H001209&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;LG-Nortel&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;IP8540&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;A&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;ENU&amp;quot;&lt;/span&gt;,cpe.nbt;0.0.0.0;01-01-1601 00:00:00,http://ocs.demo.local/DeviceUpdateFiles_Int/OCInterim/ENU/CPE.nbt;1.0.522.103;16-12-2008 04:43:58
03-06-2009 17:18:54,ruisilva@demo.local,10.1.1.123,UCPhone,06-03-2009 17:18:53,&lt;span style="color: #006080"&gt;&amp;quot;0021630F207B&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;C185H001209&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;LG-Nortel&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;IP8540&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;A&amp;quot;&lt;/span&gt;,&lt;span style="color: #006080"&gt;&amp;quot;ENU&amp;quot;&lt;/span&gt;,cpe.nbt;1.0.522.103;16-12-2008 04:43:58,http://ocs.demo.local/DeviceUpdateFiles_Int/UCPhone/LG-Nortel/IP8540/A/ENU/3.5.6907.0/CPE/CPE.nbt;3.5.6907.0;16-12-2008 04:43:58&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;In the first line, the device gets in-band provisioning information from the server or Enterprise pool hosting the device user account. After a &lt;strong&gt;*manual reboot*&lt;/strong&gt;, on the second line, it gets the interim version. Finally, on the third line, and after an &lt;strong&gt;*automatic reboot*&lt;/strong&gt; (notice the 8 minute gap) the phone receives the 3.5.6907.0 version.&lt;/p&gt;

&lt;p&gt;But besides the logs from the update service,&lt;span style="background-color: #ffff99"&gt;the IIS logs can be extremely valuable to the troubleshooting process&lt;/span&gt;. This is the corresponding IIS log from the example above (I removed some unnecessary lines):&lt;/p&gt;

&lt;div style="border-bottom: gray 1px solid; border-left: gray 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; height: 227px; max-height: 200px; font-size: 8pt; overflow: auto; border-top: gray 1px solid; cursor: text; border-right: gray 1px solid; padding-top: 4px"&gt;
  &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; height: 162px; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;#Software: Microsoft Internet Information Services 7.0
#Version: 1.0
#Date: 2009-03-06 16:00:51
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2009-03-06 17:07:20 10.1.1.90 POST /RequestHandler/ucdevice.upx - 443 - 10.1.1.123 Microsoft+UCPhone+Device 200 0 0 124
2009-03-06 17:10:39 10.1.1.90 POST /RequestHandler/ucdevice.upx - 443 - 10.1.1.123 Microsoft+UCPhone+Device 200 0 0 171
2009-03-06 17:12:57 10.1.1.90 GET /DeviceUpdateFiles_Int/OCInterim/ENU/CPE.nbt - 80 - 10.1.1.123 Microsoft+UCPhone+Device 200 0 0 137810
2009-03-06 17:12:57 10.1.1.90 GET /DeviceUpdateFiles_Int/OCInterim/ENU/CPE.cat - 80 - 10.1.1.123 Microsoft+UCPhone+Device 200 0 0 15
2009-03-06 17:18:54 10.1.1.90 POST /RequestHandler/ucdevice.upx - 443 - 10.1.1.123 Microsoft+UCPhone+Device 200 0 0 187
2009-03-06 17:21:45 10.1.1.90 GET /DeviceUpdateFiles_Int/UCPhone/LG-Nortel/IP8540/A/ENU/3.5.6907.0/CPE/CPE.nbt - 80 - 10.1.1.123 Microsoft+UCPhone+Device 200 0 0 170679
2009-03-06 17:21:45 10.1.1.90 GET /DeviceUpdateFiles_Int/UCPhone/LG-Nortel/IP8540/A/ENU/3.5.6907.0/CPE/CPE.cat - 80 - 10.1.1.123 Microsoft+UCPhone+Device 200 0 0 15&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Notice the line where the interim file CPE.nbt is downloaded to the phone. It takes some time (137.810 ms), because the file has a few megs.&lt;/p&gt;

&lt;pre&gt;2009-03-06 17:12:57 10.192.32.90 GET /DeviceUpdateFiles_Int/OCInterim/ENU/&lt;br /&gt;CPE.nbt - 80 - 10.1.1.123 Microsoft+UCPhone+Device 200 0 0 &lt;span style="background-color: #ffff99"&gt;137810&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;And then, notice&amp;#160; the line where the phone requests the most recent version available. It took 170.679 ms to download the file.&lt;/p&gt;

&lt;pre&gt;2009-03-06 17:21:45 10.192.32.90 GET /DeviceUpdateFiles_Int/UCPhone/&lt;br /&gt;LG-Nortel/IP8540/A/ENU/3.5.6907.0/CPE/CPE.nbt - 80 - 10.1.1.123 Microsoft+&lt;br /&gt;UCPhone+Device 200 0 0 &lt;span style="background-color: #ffff99"&gt;170679&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;&amp;#160;&lt;/p&gt;

&lt;h3&gt;Troubleshooting Process&lt;/h3&gt;

&lt;p&gt;Now that we have a pretty good understanding of the Device Update Service, what can we do if something doesn’t go as expected? Let’s look at the troubleshooting process:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;span style="background-color: #ffff99"&gt;Reset the device and sign in with a user that is not signed in anywhere else &lt;/span&gt;(my advice is to create a special account for this purpose… And make sure it’s configured for Enterprise Voice!!!). &lt;/li&gt;

  &lt;li&gt;&lt;span style="background-color: #ffff99"&gt;Make sure the Device Update Service is well configured and that the DHCP options required by OCPE are in place&lt;/span&gt;: 

    &lt;ul&gt;
      &lt;li&gt;&lt;a title="http://technet.microsoft.com/en-us/library/dd441344(office.13).aspx" href="http://technet.microsoft.com/en-us/library/dd441344(office.13).aspx" target="_blank"&gt;Device Update Service Required Components&lt;/a&gt; &lt;/li&gt;

      &lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=AE3E5B3A-1564-4DE5-8B29-A73275E52619&amp;amp;displaylang=en" target="_blank"&gt;Microsoft Office Communicator 2007 R2 Phone Edition Deployment Guide&lt;/a&gt; &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;

  &lt;li&gt;&lt;span style="background-color: #ffff99"&gt;Read &lt;a href="http://download.microsoft.com/download/8/5/E/85E9537C-5F96-4B5B-9E8C-60099699D708/Office_Communicator_2007_R2_Phone_Edition_Relnotes.htm" target="_blank"&gt;&lt;strong&gt;Microsoft Office Communicator 2007 R2 Phone Edition Release Notes&lt;/strong&gt;&lt;/a&gt;&lt;/span&gt;&lt;a href="http://download.microsoft.com/download/8/5/E/85E9537C-5F96-4B5B-9E8C-60099699D708/Office_Communicator_2007_R2_Phone_Edition_Relnotes.htm" target="_blank"&gt;&lt;/a&gt;. Read this document all the way till the end, because there are important notes and suggested solutions for some common problems.&lt;/li&gt;

  &lt;li&gt;Confirm that a VDir named &lt;strong&gt;OCInterim&lt;/strong&gt; is created under the &lt;strong&gt;DeviceUpdateFiles_Int &lt;/strong&gt;and &lt;strong&gt;DeviceUpdateFiles_Ext&lt;/strong&gt; folders in IIS. This folder contains the interim version (1.0.522.103) necessary for devices that are currently with version 1.0.522.98 or lower. 

    &lt;br /&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/TroubleshootingOCS2007R2DeviceUpdateServ_113F4/04-device-updates_2.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="04-device-updates" border="0" alt="04-device-updates" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/TroubleshootingOCS2007R2DeviceUpdateServ_113F4/04-device-updates_thumb.gif" width="193" height="484" /&gt;&lt;/a&gt; &lt;/li&gt;

  &lt;li&gt;Open a browser and navigate to the URL that contains the update (for example &lt;a href="http://ocs.demo.local/DeviceUpdateFiles_Int/UCPhone/LG-Nortel/IP8540/A/ENU/3.5.6907.0/CPE/CPE.nbt"&gt;http://ocs.demo.local/DeviceUpdateFiles_Int/UCPhone/LG-Nortel/IP8540/A/ENU/ 
      &lt;br /&gt;3.5.6907.0/CPE/CPE.nbt&lt;/a&gt;). You should be able to download the CPE.nbt file. 

    &lt;br /&gt;A common cause of problems for the Enterprise version has to do with permissions in the shared updates folder. If that’s the case, you’ll get a 500 HTTP error in the IIS log: 

    &lt;br /&gt;

    &lt;pre&gt;2009-03-06 12:35:36 10.1.1.90 GET /DeviceUpdateFiles_Int/UCPhone/&lt;br /&gt;LG-Nortel/IP8540/A/ENU/3.5.6907.0/CPE/CPE.nbt - 80 - 10.1.1.1 Microsoft+&lt;br /&gt;UCPhone+Device &lt;span style="background-color: #ffff99"&gt;500&lt;/span&gt; 19 5 62&lt;/pre&gt;
One solution is to modify the ACL: add the &lt;strong&gt;Everyone&lt;/strong&gt; group with Read permissions to the shared folder. Or you can also try this method, as explained by Jens: &lt;a href="http://blogs.technet.com/jenstr/archive/2009/01/08/http-error-500-19-when-accessing-ocpe-firmware-urls-on-windows-2008.aspx" target="_blank"&gt;HTTP Error 500 19 when accessing OCPE firmware URLs on Windows 2008&lt;/a&gt;. &lt;/li&gt;

  &lt;li&gt;Make sure you’re using a supported device. &lt;span style="background-color: #ffff99"&gt;Microsoft DV1 is no longer supported &lt;/span&gt;and even the interim update will not work. &lt;/li&gt;

  &lt;li&gt;If you’re trying to update a really old version of the software, make sure that’s not blocked by the Client Version Filter. Using the OCS Management Console, right click the pool name, select &lt;strong&gt;Filtering Tools&lt;/strong&gt; and then &lt;strong&gt;Client Version Filter&lt;/strong&gt;. Edit the &lt;strong&gt;OCPhone&lt;/strong&gt; field accordingly. 

    &lt;br /&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/TroubleshootingOCS2007R2DeviceUpdateServ_113F4/06-device-updates_2.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="06-device-updates" border="0" alt="06-device-updates" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/TroubleshootingOCS2007R2DeviceUpdateServ_113F4/06-device-updates_thumb.gif" width="484" height="408" /&gt;&lt;/a&gt; &lt;/li&gt;

  &lt;li&gt;Use the available audit update server logs and IIS logs. I’ve never used the client logs, because they require further processing, but I admit they can be useful if everything else fails. &lt;/li&gt;

  &lt;li&gt;On the phone &lt;strong&gt;About&lt;/strong&gt; screen, validate when the device last checked for updates. On the &lt;strong&gt;About&lt;/strong&gt; screen you’ll see:&lt;strong&gt; Last Update Status&lt;/strong&gt;: (0x####/0x#####). The normal state should be &lt;strong&gt;0×00/0&lt;/strong&gt; or &lt;strong&gt;0x0/200&lt;/strong&gt;. The first field is a WinInet error code. An error here would indicate a problem contacting the server. The list of possible values can be found in this KB article: &lt;a href="http://support.microsoft.com/kb/193625" target="_blank"&gt;WinInet Error Codes&lt;/a&gt;. For further explanation of these codes,please read this post: &lt;a href="http://communicationsserverteam.com/archive/2008/07/22/228.aspx" target="_blank"&gt;Microsoft Office Communicator 2007 Phone Edition Status Codes&lt;/a&gt;. &lt;/li&gt;

  &lt;li&gt;If you’re upgrading version 1.0.452.0, you may need to create a virtual dir called &lt;em&gt;UCDeviceUpdates&lt;/em&gt; on the OCS server running the update service. Check the IIS logs to confirm the device is requesting that specific URL. Read this post with detailed instructions: &lt;a href="http://blogs.technet.com/ucspotting/archive/2009/04/16/how-to-upgrade-polycom-cx700-1-0-452-0-using-the-ocs-2007-r2-device-update-service.aspx" target="_blank"&gt;How to upgrade Polycom CX700 1.0.452.0 using the OCS 2007 R2 Device Update Service&lt;/a&gt;. &lt;/li&gt;

  &lt;li&gt;If you’re brave enough, try to approve the update, instead of using &lt;strong&gt;Test Devices&lt;/strong&gt;. Please be aware that this means that all qualified devices will be upgraded, before you properly test the update. &lt;/li&gt;

  &lt;li&gt;&lt;span style="background-color: #ffff99"&gt;Wait 5 minutes!&lt;/span&gt; Remember the device will automatically update itself and reboot after 5 minutes of idle activity. &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;And this pretty much covers the troubleshooting process for the OCPE devices. I would like to hear from you if you have ever encountered a distinct situation that you managed to solve in a different way.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3211600" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/ucspotting/archive/tags/Communicator+Phone+Edition/default.aspx">Communicator Phone Edition</category><category domain="http://blogs.technet.com/ucspotting/archive/tags/Device+Update+Service/default.aspx">Device Update Service</category></item></channel></rss>