<?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>Karsten Palmvig's blog : OCS</title><link>http://blogs.technet.com/kpalmvig/archive/tags/OCS/default.aspx</link><description>Tags: OCS</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Troubleshoot: CWA publishSelfPresence request error</title><link>http://blogs.technet.com/kpalmvig/archive/2009/10/01/troubleshooting-cwa-publishselfpresence-request-error.aspx</link><pubDate>Thu, 01 Oct 2009 13:52:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3284312</guid><dc:creator>kpalmvig</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/kpalmvig/comments/3284312.aspx</comments><wfw:commentRss>http://blogs.technet.com/kpalmvig/commentrss.aspx?PostID=3284312</wfw:commentRss><description>&lt;P&gt;If you encounter the publishSelfPresence request error (Error Code = 0-1-492) in the CWA client, you most likely have a problem with the SPN (Service Principal Name) of the CWA Service Account.&lt;/P&gt;
&lt;P&gt;To correct this problem; open AdsiEdit and navigate to the CWA Service Account, right click and select Properties.&lt;/P&gt;
&lt;P&gt;Scroll down to the servicePrincipalName attribute. The SPN must contain the host name that users are connecting to as well as the physical server. In many scenarios CWA is published as cwa.domain.com while the actual host name may be something like ocscwasrv01.domain.com.&lt;/P&gt;
&lt;P&gt;Double click the servicePrincipalName attribute to edit it and make sure both names are registered like this:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;http/cwa.domain.com &lt;/LI&gt;
&lt;LI&gt;http/ocscwasrv01.domain.com &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Note the single slash, do &lt;STRONG&gt;not&lt;/STRONG&gt; type the address as “http://” – and replace host names and domain with your actual values.&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3284312" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/kpalmvig/archive/tags/SPN/default.aspx">SPN</category><category domain="http://blogs.technet.com/kpalmvig/archive/tags/Troubleshooting/default.aspx">Troubleshooting</category><category domain="http://blogs.technet.com/kpalmvig/archive/tags/OCS/default.aspx">OCS</category><category domain="http://blogs.technet.com/kpalmvig/archive/tags/CWA/default.aspx">CWA</category></item><item><title>How To: Connect to MSN Public IM from OCS</title><link>http://blogs.technet.com/kpalmvig/archive/2009/09/23/how-to-connect-to-msn-public-im-from-ocs.aspx</link><pubDate>Wed, 23 Sep 2009 10:20:12 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3282629</guid><dc:creator>kpalmvig</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/kpalmvig/comments/3282629.aspx</comments><wfw:commentRss>http://blogs.technet.com/kpalmvig/commentrss.aspx?PostID=3282629</wfw:commentRss><description>&lt;p&gt;Most customers know what boxes to check on the Access Edge Server to enable federation and Public IM Connectivity (PIC) but many ask what to do next to sign up to the service.&lt;/p&gt;  &lt;p&gt;Signing up is quite easy, you simply need to follow this link:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="https://ocspic.livemeeting.com/" target="_blank"&gt;https://ocspic.livemeeting.com/&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Sign in using a Live ID and check the box to agree that your organization is a Microsoft Volume Licensing customer, then input the Volume License agreement number of your company and follow directions on the site.&lt;/p&gt;  &lt;p&gt;Simple as that, when you know where to go…. :o)&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3282629" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/kpalmvig/archive/tags/How+To/default.aspx">How To</category><category domain="http://blogs.technet.com/kpalmvig/archive/tags/OCS/default.aspx">OCS</category><category domain="http://blogs.technet.com/kpalmvig/archive/tags/PIC/default.aspx">PIC</category></item><item><title>How To: Telephony enabling users - continued</title><link>http://blogs.technet.com/kpalmvig/archive/2009/07/20/how-to-telephony-enabling-users-continued.aspx</link><pubDate>Mon, 20 Jul 2009 19:49:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3266439</guid><dc:creator>kpalmvig</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/kpalmvig/comments/3266439.aspx</comments><wfw:commentRss>http://blogs.technet.com/kpalmvig/commentrss.aspx?PostID=3266439</wfw:commentRss><description>&lt;p&gt;It turned out to be significantly easier to find users without an assigned&amp;#160; LineURI than I expected.&amp;#160; Thanks to Nick Smith for pointing me in the right direction when answering something else. :o)&lt;/p&gt;  &lt;p&gt;The Powershell script takes no parameters and will display the primary SIP URI for all OCS enabled users without a phone number (or LineURI). The count displayed at the end is written to the host so it won’t show in the file if you redirect.&lt;/p&gt;  &lt;table border="1" cellspacing="0" cellpadding="2" width="518"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="516"&gt;         &lt;p&gt;$OCSUsers = Get-WmiObject -Query &amp;quot;Select * from MSFT_SIPESUserSetting where LineURI IS NULL&amp;quot;           &lt;br /&gt;$i=0            &lt;br /&gt;foreach ($OCSUser in $OCSUsers) {            &lt;br /&gt;&amp;#160; $OCSuser.PrimaryURI            &lt;br /&gt;&amp;#160; $i++            &lt;br /&gt;&amp;#160; }            &lt;br /&gt;Write-Host $i OCS enabled users without LineURI&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;The output will be correctly formatted for use with OCSAssignTelUri.wsf&lt;/p&gt;  &lt;p&gt;Happy enabling…&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3266439" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/kpalmvig/archive/tags/How+To/default.aspx">How To</category><category domain="http://blogs.technet.com/kpalmvig/archive/tags/OCS/default.aspx">OCS</category><category domain="http://blogs.technet.com/kpalmvig/archive/tags/Users/default.aspx">Users</category></item><item><title>How To: Generate multiple phone numbers when telephony enabling users</title><link>http://blogs.technet.com/kpalmvig/archive/2009/07/17/how-to-generate-multiple-phone-numbers-when-telephony-enabling-users.aspx</link><pubDate>Fri, 17 Jul 2009 16:52:53 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3265698</guid><dc:creator>kpalmvig</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/kpalmvig/comments/3265698.aspx</comments><wfw:commentRss>http://blogs.technet.com/kpalmvig/commentrss.aspx?PostID=3265698</wfw:commentRss><description>&lt;p&gt;Ever needed to generate a list of 100+ phone numbers for use with e.g. OCSAssignTelUri.wsf? I have but couldn’t be bothered with inventing a new method every time anymore, so I wrote a little ps script:&lt;/p&gt;  &lt;table border="1" cellspacing="0" cellpadding="2" width="539"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="537"&gt;         &lt;p&gt;param ([string] $Series, [string] $Width, [string] $Count)           &lt;br /&gt;if((&amp;quot;-?&amp;quot;,&amp;quot;-help&amp;quot;,&amp;quot;-h&amp;quot;) -contains $args[0]) {            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Write-Host &amp;quot;This script will generate phone numbers based on a number series&amp;quot;            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Write-Host &amp;quot;Example: .\generatephone.ps1 -Series +1-800-555-1299 -Width 3 -Count 10&amp;quot;            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; exit 0             &lt;br /&gt;}            &lt;br /&gt;[int]$Counter = $Series.SubString($Series.Length - $Width, $Width)            &lt;br /&gt;$Base = $Series.Substring(0, $Series.Length - $Width)            &lt;br /&gt;for ($i=1; $i -le $Count; $i++) {            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; [string]$strlen = $Counter            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; [string]$padding = &amp;quot;&amp;quot;            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; for ($x = $strlen.Length; $x -le $Width - 1; $x++) {            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; $padding = &amp;quot;0&amp;quot; + $padding            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; $Number = $Base + $padding + $Counter            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Write-Output $Number            &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; $Counter++            &lt;br /&gt;}&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;The script will take your base number series, in this case +1-800-555-1299 the width of 3 which allows the script to modify the last 3 digits and finally the count of phone numbers you need.&lt;/p&gt;  &lt;p&gt;Needless to say, there’s no error handling, so if your width goes beyond dashes you get funny results. And if you only allow editing of 2 digits with a count of 100+ – well, you do the math… :o)&lt;/p&gt;  &lt;p&gt;Anywho, just redirect the output to a file with the standard &amp;gt; operator, and Bob’s your uncle. Then you just need a file full of sip:user@domain.com, maybe a fun little project for my summer vacation to extract users without phone numbers…&lt;/p&gt;  &lt;p&gt;Enjoy…&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3265698" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/kpalmvig/archive/tags/How+To/default.aspx">How To</category><category domain="http://blogs.technet.com/kpalmvig/archive/tags/OCS/default.aspx">OCS</category><category domain="http://blogs.technet.com/kpalmvig/archive/tags/Users/default.aspx">Users</category></item><item><title>OCS 2007 R2 Downloads</title><link>http://blogs.technet.com/kpalmvig/archive/2009/03/10/ocs-2007-r2-downloads.aspx</link><pubDate>Tue, 10 Mar 2009 16:04:06 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3211209</guid><dc:creator>kpalmvig</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/kpalmvig/comments/3211209.aspx</comments><wfw:commentRss>http://blogs.technet.com/kpalmvig/commentrss.aspx?PostID=3211209</wfw:commentRss><description>&lt;p&gt;The OCS 2007 R2 binaries were recently released for public download. The table below is a compiled list of currently available R2 downloads:&lt;/p&gt;  &lt;table class="MsoTableMediumShading1Accent3" style="border-right: medium none; border-top: medium none; border-left: medium none; width: 359.8pt; border-bottom: medium none; border-collapse: collapse; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-border-alt: solid #b3cc82 1.0pt; mso-border-themecolor: accent3; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="480" border="1"&gt;&lt;tbody&gt;     &lt;tr style="height: 15.75pt; mso-yfti-irow: -1; mso-yfti-firstrow: yes"&gt;       &lt;td style="border-right: #b3cc82 1pt solid; padding-right: 5.4pt; border-top: #b3cc82 1pt solid; padding-left: 5.4pt; background: #9bbb59; padding-bottom: 0cm; border-left: #b3cc82 1pt solid; width: 359.8pt; padding-top: 0cm; border-bottom: #b3cc82 1pt solid; height: 15.75pt; mso-border-themecolor: accent3; mso-border-themetint: 191; mso-background-themecolor: accent3" valign="top" nowrap="nowrap" width="480"&gt;         &lt;p class="MsoNormal" style="mso-yfti-cnfc: 5"&gt;&lt;b&gt;&lt;span style="font-size: 9pt; color: white; font-family: " tahoma","sans-serif"; mso-themecolor: background1"&gt;Title               &lt;p&gt;&lt;/p&gt;             &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr style="height: 15.75pt; mso-yfti-irow: 0"&gt;       &lt;td style="border-right: #b3cc82 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; background: #e6eed5; padding-bottom: 0cm; border-left: #b3cc82 1pt solid; width: 359.8pt; padding-top: 0cm; border-bottom: #b3cc82 1pt solid; height: 15.75pt; mso-border-themecolor: accent3; mso-border-themetint: 191; mso-background-themecolor: accent3; mso-border-top-alt: solid #b3cc82 1.0pt; mso-border-top-themecolor: accent3; mso-border-top-themetint: 191; mso-background-themetint: 63" valign="top" nowrap="nowrap" width="480"&gt;         &lt;p class="MsoNormal" style="mso-yfti-cnfc: 68"&gt;&lt;span lang="EN-US" style="font-size: 9pt; color: black; font-family: " tahoma","sans-serif"; mso-ansi-language: EN-US; mso-themecolor: text1; mso-bidi-font-weight: bold"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=67a3de72-7dbd-4e0b-92a5-29d0b46009a7&amp;amp;displaylang=en"&gt;&lt;span style="color: black; text-decoration: none; mso-themecolor: text1; mso-bidi-font-weight: normal; text-underline: none"&gt;Microsoft Office Communications Server 2007 R2 Trial Download&lt;/span&gt;&lt;/a&gt;              &lt;p&gt;&lt;/p&gt;           &lt;/span&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr style="height: 15.75pt; mso-yfti-irow: 1"&gt;       &lt;td style="border-right: #b3cc82 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: #b3cc82 1pt solid; width: 359.8pt; padding-top: 0cm; border-bottom: #b3cc82 1pt solid; height: 15.75pt; mso-border-themecolor: accent3; mso-border-themetint: 191; mso-border-top-alt: solid #b3cc82 1.0pt; mso-border-top-themecolor: accent3; mso-border-top-themetint: 191" valign="top" nowrap="nowrap" width="480"&gt;         &lt;p class="MsoNormal" style="mso-yfti-cnfc: 132"&gt;&lt;span lang="EN-US" style="font-size: 9pt; color: black; font-family: " tahoma","sans-serif"; mso-ansi-language: EN-US; mso-themecolor: text1; mso-bidi-font-weight: bold"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=535637af-d92f-41b1-bf0c-54a526a88247&amp;amp;displaylang=en"&gt;&lt;span style="color: black; text-decoration: none; mso-themecolor: text1; mso-bidi-font-weight: normal; text-underline: none"&gt;Microsoft Office Communicator 2007 R2 Trial Download&lt;/span&gt;&lt;/a&gt;              &lt;p&gt;&lt;/p&gt;           &lt;/span&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr style="height: 15.75pt; mso-yfti-irow: 2"&gt;       &lt;td style="border-right: #b3cc82 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; background: #e6eed5; padding-bottom: 0cm; border-left: #b3cc82 1pt solid; width: 359.8pt; padding-top: 0cm; border-bottom: #b3cc82 1pt solid; height: 15.75pt; mso-border-themecolor: accent3; mso-border-themetint: 191; mso-background-themecolor: accent3; mso-border-top-alt: solid #b3cc82 1.0pt; mso-border-top-themecolor: accent3; mso-border-top-themetint: 191; mso-background-themetint: 63" valign="top" nowrap="nowrap" width="480"&gt;         &lt;p class="MsoNormal" style="mso-yfti-cnfc: 68"&gt;&lt;span lang="EN-US" style="font-size: 9pt; color: black; font-family: " tahoma","sans-serif"; mso-ansi-language: EN-US; mso-themecolor: text1; mso-bidi-font-weight: bold"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=3d619c8c-6540-4f2d-b78e-5b4c25780adb"&gt;&lt;span style="color: black; text-decoration: none; mso-themecolor: text1; mso-bidi-font-weight: normal; text-underline: none"&gt;Microsoft Office Communications Server 2007 R2&amp;#160; Attendant&lt;/span&gt;&lt;/a&gt;              &lt;p&gt;&lt;/p&gt;           &lt;/span&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr style="height: 15.75pt; mso-yfti-irow: 3"&gt;       &lt;td style="border-right: #b3cc82 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: #b3cc82 1pt solid; width: 359.8pt; padding-top: 0cm; border-bottom: #b3cc82 1pt solid; height: 15.75pt; mso-border-themecolor: accent3; mso-border-themetint: 191; mso-border-top-alt: solid #b3cc82 1.0pt; mso-border-top-themecolor: accent3; mso-border-top-themetint: 191" valign="top" nowrap="nowrap" width="480"&gt;         &lt;p class="MsoNormal" style="mso-yfti-cnfc: 132"&gt;&lt;span lang="EN-US" style="font-size: 9pt; color: black; font-family: " tahoma","sans-serif"; mso-ansi-language: EN-US; mso-themecolor: text1; mso-bidi-font-weight: bold"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=565595be-6cf3-4a61-a1e4-12555749ca64"&gt;&lt;span style="color: black; text-decoration: none; mso-themecolor: text1; mso-bidi-font-weight: normal; text-underline: none"&gt;Office Communicator Phone Edition (2007 R2)&lt;/span&gt;&lt;/a&gt;              &lt;p&gt;&lt;/p&gt;           &lt;/span&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr style="height: 15.75pt; mso-yfti-irow: 4"&gt;       &lt;td style="border-right: #b3cc82 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; background: #e6eed5; padding-bottom: 0cm; border-left: #b3cc82 1pt solid; width: 359.8pt; padding-top: 0cm; border-bottom: #b3cc82 1pt solid; height: 15.75pt; mso-border-themecolor: accent3; mso-border-themetint: 191; mso-background-themecolor: accent3; mso-border-top-alt: solid #b3cc82 1.0pt; mso-border-top-themecolor: accent3; mso-border-top-themetint: 191; mso-background-themetint: 63" valign="top" nowrap="nowrap" width="480"&gt;         &lt;p class="MsoNormal" style="mso-yfti-cnfc: 68"&gt;&lt;span lang="EN-US" style="font-size: 9pt; color: black; font-family: " tahoma","sans-serif"; mso-ansi-language: EN-US; mso-themecolor: text1; mso-bidi-font-weight: bold"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=bc08cdb7-98e9-47e5-aa63-eb17c2ce4592"&gt;&lt;span style="color: black; text-decoration: none; mso-themecolor: text1; mso-bidi-font-weight: normal; text-underline: none"&gt;Microsoft Office Communicator Mobile 2007 R2 - Pocket PC&lt;/span&gt;&lt;/a&gt;              &lt;p&gt;&lt;/p&gt;           &lt;/span&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr style="height: 15.75pt; mso-yfti-irow: 5"&gt;       &lt;td style="border-right: #b3cc82 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: #b3cc82 1pt solid; width: 359.8pt; padding-top: 0cm; border-bottom: #b3cc82 1pt solid; height: 15.75pt; mso-border-themecolor: accent3; mso-border-themetint: 191; mso-border-top-alt: solid #b3cc82 1.0pt; mso-border-top-themecolor: accent3; mso-border-top-themetint: 191" valign="top" width="480"&gt;         &lt;p class="MsoNormal" style="mso-yfti-cnfc: 132"&gt;&lt;span lang="EN-US" style="font-size: 9pt; color: black; font-family: " tahoma","sans-serif"; mso-ansi-language: EN-US; mso-themecolor: text1; mso-bidi-font-weight: bold"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=93062936-f216-4d97-aa13-105a20454322"&gt;&lt;span style="color: black; text-decoration: none; mso-themecolor: text1; mso-bidi-font-weight: normal; text-underline: none"&gt;Microsoft Office Communicator Mobile 2007 R2 - Smartphone&lt;/span&gt;&lt;/a&gt;              &lt;p&gt;&lt;/p&gt;           &lt;/span&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr style="height: 15.75pt; mso-yfti-irow: 6"&gt;       &lt;td style="border-right: #b3cc82 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; background: #e6eed5; padding-bottom: 0cm; border-left: #b3cc82 1pt solid; width: 359.8pt; padding-top: 0cm; border-bottom: #b3cc82 1pt solid; height: 15.75pt; mso-border-themecolor: accent3; mso-border-themetint: 191; mso-background-themecolor: accent3; mso-border-top-alt: solid #b3cc82 1.0pt; mso-border-top-themecolor: accent3; mso-border-top-themetint: 191; mso-background-themetint: 63" valign="top" nowrap="nowrap" width="480"&gt;         &lt;p class="MsoNormal" style="mso-yfti-cnfc: 68"&gt;&lt;span lang="EN-US" style="font-size: 9pt; color: black; font-family: " tahoma","sans-serif"; mso-ansi-language: EN-US; mso-themecolor: text1; mso-bidi-font-weight: bold"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=768efa33-6606-4b2b-809a-6c69274621d3"&gt;&lt;span style="color: black; text-decoration: none; mso-themecolor: text1; mso-bidi-font-weight: normal; text-underline: none"&gt;Microsoft Unified Communications Managed API 2.0 SDK (32 bit)&lt;/span&gt;&lt;/a&gt;              &lt;p&gt;&lt;/p&gt;           &lt;/span&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr style="height: 15.75pt; mso-yfti-irow: 7"&gt;       &lt;td style="border-right: #b3cc82 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: #b3cc82 1pt solid; width: 359.8pt; padding-top: 0cm; border-bottom: #b3cc82 1pt solid; height: 15.75pt; mso-border-themecolor: accent3; mso-border-themetint: 191; mso-border-top-alt: solid #b3cc82 1.0pt; mso-border-top-themecolor: accent3; mso-border-top-themetint: 191" valign="top" nowrap="nowrap" width="480"&gt;         &lt;p class="MsoNormal" style="mso-yfti-cnfc: 132"&gt;&lt;span lang="EN-US" style="font-size: 9pt; color: black; font-family: " tahoma","sans-serif"; mso-ansi-language: EN-US; mso-themecolor: text1; mso-bidi-font-weight: bold"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=b20967b1-6cf5-4a4b-b7ae-622653ac929f"&gt;&lt;span style="color: black; text-decoration: none; mso-themecolor: text1; mso-bidi-font-weight: normal; text-underline: none"&gt;Microsoft Unified Communications Managed API 2.0 SDK (64-bit)&lt;/span&gt;&lt;/a&gt;              &lt;p&gt;&lt;/p&gt;           &lt;/span&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr style="height: 15.75pt; mso-yfti-irow: 8"&gt;       &lt;td style="border-right: #b3cc82 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; background: #e6eed5; padding-bottom: 0cm; border-left: #b3cc82 1pt solid; width: 359.8pt; padding-top: 0cm; border-bottom: #b3cc82 1pt solid; height: 15.75pt; mso-border-themecolor: accent3; mso-border-themetint: 191; mso-background-themecolor: accent3; mso-border-top-alt: solid #b3cc82 1.0pt; mso-border-top-themecolor: accent3; mso-border-top-themetint: 191; mso-background-themetint: 63" valign="top" nowrap="nowrap" width="480"&gt;         &lt;p class="MsoNormal" style="mso-yfti-cnfc: 68"&gt;&lt;span lang="EN-US" style="font-size: 9pt; color: black; font-family: " tahoma","sans-serif"; mso-ansi-language: EN-US; mso-themecolor: text1; mso-bidi-font-weight: bold"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=30e14c5a-a42c-4d4e-9513-c4b0b8d21086"&gt;&lt;span style="color: black; text-decoration: none; mso-themecolor: text1; mso-bidi-font-weight: normal; text-underline: none"&gt;Microsoft Office Communications Server 2007 R2 UCMA 2.0 Speech Language Packs&lt;/span&gt;&lt;/a&gt;              &lt;p&gt;&lt;/p&gt;           &lt;/span&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr style="height: 15.75pt; mso-yfti-irow: 9"&gt;       &lt;td style="border-right: #b3cc82 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: #b3cc82 1pt solid; width: 359.8pt; padding-top: 0cm; border-bottom: #b3cc82 1pt solid; height: 15.75pt; mso-border-themecolor: accent3; mso-border-themetint: 191; mso-border-top-alt: solid #b3cc82 1.0pt; mso-border-top-themecolor: accent3; mso-border-top-themetint: 191" valign="top" nowrap="nowrap" width="480"&gt;         &lt;p class="MsoNormal" style="mso-yfti-cnfc: 132"&gt;&lt;span lang="EN-US" style="font-size: 9pt; color: black; font-family: " tahoma","sans-serif"; mso-ansi-language: EN-US; mso-themecolor: text1; mso-bidi-font-weight: bold"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=284e27ee-28a3-4fd5-9515-b90b609cedc4"&gt;&lt;span style="color: black; text-decoration: none; mso-themecolor: text1; mso-bidi-font-weight: normal; text-underline: none"&gt;Microsoft Office Communications Server 2007 R2 Group Chat server&lt;/span&gt;&lt;/a&gt;              &lt;p&gt;&lt;/p&gt;           &lt;/span&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr style="height: 15.75pt; mso-yfti-irow: 10"&gt;       &lt;td style="border-right: #b3cc82 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; background: #e6eed5; padding-bottom: 0cm; border-left: #b3cc82 1pt solid; width: 359.8pt; padding-top: 0cm; border-bottom: #b3cc82 1pt solid; height: 15.75pt; mso-border-themecolor: accent3; mso-border-themetint: 191; mso-background-themecolor: accent3; mso-border-top-alt: solid #b3cc82 1.0pt; mso-border-top-themecolor: accent3; mso-border-top-themetint: 191; mso-background-themetint: 63" valign="top" nowrap="nowrap" width="480"&gt;         &lt;p class="MsoNormal" style="mso-yfti-cnfc: 68"&gt;&lt;span lang="EN-US" style="font-size: 9pt; color: black; font-family: " tahoma","sans-serif"; mso-ansi-language: EN-US; mso-themecolor: text1; mso-bidi-font-weight: bold"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2ac20539-5b4f-4fd0-88b3-b343a439d576&amp;amp;displaylang=en"&gt;&lt;span style="color: black; text-decoration: none; mso-themecolor: text1; mso-bidi-font-weight: normal; text-underline: none"&gt;Microsoft Office Communications Server 2007 R2 Group Chat client&lt;/span&gt;&lt;/a&gt;              &lt;p&gt;&lt;/p&gt;           &lt;/span&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr style="height: 15.75pt; mso-yfti-irow: 11"&gt;       &lt;td style="border-right: #b3cc82 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: #b3cc82 1pt solid; width: 359.8pt; padding-top: 0cm; border-bottom: #b3cc82 1pt solid; height: 15.75pt; mso-border-themecolor: accent3; mso-border-themetint: 191; mso-border-top-alt: solid #b3cc82 1.0pt; mso-border-top-themecolor: accent3; mso-border-top-themetint: 191" valign="top" nowrap="nowrap" width="480"&gt;         &lt;p class="MsoNormal" style="mso-yfti-cnfc: 132"&gt;&lt;span lang="EN-US" style="font-size: 9pt; color: black; font-family: " tahoma","sans-serif"; mso-ansi-language: EN-US; mso-themecolor: text1; mso-bidi-font-weight: bold"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=8c1b742c-48a8-45ef-beaa-d6340b97bdb7"&gt;&lt;span style="color: black; text-decoration: none; mso-themecolor: text1; mso-bidi-font-weight: normal; text-underline: none"&gt;Microsoft Office Communications Server 2007 R2, Group Chat Administration Tool&lt;/span&gt;&lt;/a&gt;              &lt;p&gt;&lt;/p&gt;           &lt;/span&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr style="height: 15.75pt; mso-yfti-irow: 12"&gt;       &lt;td style="border-right: #b3cc82 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; background: #e6eed5; padding-bottom: 0cm; border-left: #b3cc82 1pt solid; width: 359.8pt; padding-top: 0cm; border-bottom: #b3cc82 1pt solid; height: 15.75pt; mso-border-themecolor: accent3; mso-border-themetint: 191; mso-background-themecolor: accent3; mso-border-top-alt: solid #b3cc82 1.0pt; mso-border-top-themecolor: accent3; mso-border-top-themetint: 191; mso-background-themetint: 63" valign="top" nowrap="nowrap" width="480"&gt;         &lt;p class="MsoNormal" style="mso-yfti-cnfc: 68"&gt;&lt;span lang="EN-US" style="font-size: 9pt; color: black; font-family: " tahoma","sans-serif"; mso-ansi-language: EN-US; mso-themecolor: text1; mso-bidi-font-weight: bold"&gt;&lt;a href="http://office.microsoft.com/en-us/help/HA102368901033.aspx"&gt;&lt;span style="color: black; text-decoration: none; mso-themecolor: text1; mso-bidi-font-weight: normal; text-underline: none"&gt;Conferencing Add-in for Microsoft Office Outlook&lt;/span&gt;&lt;/a&gt;              &lt;p&gt;&lt;/p&gt;           &lt;/span&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr style="height: 15.75pt; mso-yfti-irow: 13"&gt;       &lt;td style="border-right: #b3cc82 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: #b3cc82 1pt solid; width: 359.8pt; padding-top: 0cm; border-bottom: #b3cc82 1pt solid; height: 15.75pt; mso-border-themecolor: accent3; mso-border-themetint: 191; mso-border-top-alt: solid #b3cc82 1.0pt; mso-border-top-themecolor: accent3; mso-border-top-themetint: 191" valign="top" nowrap="nowrap" width="480"&gt;         &lt;p class="MsoNormal" style="mso-yfti-cnfc: 132"&gt;&lt;span lang="EN-US" style="font-size: 9pt; color: black; font-family: " tahoma","sans-serif"; mso-ansi-language: EN-US; mso-themecolor: text1; mso-bidi-font-weight: bold"&gt;&lt;a href="http://office.microsoft.com/en-us/help/HA101733831033.aspx"&gt;&lt;span style="color: black; text-decoration: none; mso-themecolor: text1; mso-bidi-font-weight: normal; text-underline: none"&gt;Microsoft Office Live Meeting 2007 client&lt;/span&gt;&lt;/a&gt;              &lt;p&gt;&lt;/p&gt;           &lt;/span&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr style="height: 15.75pt; mso-yfti-irow: 14"&gt;       &lt;td style="border-right: #b3cc82 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; background: #e6eed5; padding-bottom: 0cm; border-left: #b3cc82 1pt solid; width: 359.8pt; padding-top: 0cm; border-bottom: #b3cc82 1pt solid; height: 15.75pt; mso-border-themecolor: accent3; mso-border-themetint: 191; mso-background-themecolor: accent3; mso-border-top-alt: solid #b3cc82 1.0pt; mso-border-top-themecolor: accent3; mso-border-top-themetint: 191; mso-background-themetint: 63" valign="top" nowrap="nowrap" width="480"&gt;         &lt;p class="MsoNormal" style="mso-yfti-cnfc: 68"&gt;&lt;span lang="EN-US" style="font-size: 9pt; color: black; font-family: " tahoma","sans-serif"; mso-ansi-language: EN-US; mso-themecolor: text1; mso-bidi-font-weight: bold"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=5D6F4B90-6980-430B-9F97-FFADBC07B7A9&amp;amp;displaylang=en"&gt;&lt;span style="color: black; text-decoration: none; mso-themecolor: text1; mso-bidi-font-weight: normal; text-underline: none"&gt;Microsoft Office Communications Server 2007 R2 Group Policy Documentation&lt;/span&gt;&lt;/a&gt;              &lt;p&gt;&lt;/p&gt;           &lt;/span&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr style="height: 15.75pt; mso-yfti-irow: 15; mso-yfti-lastrow: yes"&gt;       &lt;td style="border-right: #b3cc82 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: #b3cc82 1pt solid; width: 359.8pt; padding-top: 0cm; border-bottom: #b3cc82 1pt solid; height: 15.75pt; mso-border-themecolor: accent3; mso-border-themetint: 191; mso-border-top-alt: solid #b3cc82 1.0pt; mso-border-top-themecolor: accent3; mso-border-top-themetint: 191" valign="top" nowrap="nowrap" width="480"&gt;         &lt;p class="MsoNormal" style="mso-yfti-cnfc: 132"&gt;&lt;span lang="EN-US" style="font-size: 9pt; color: black; font-family: " tahoma","sans-serif"; mso-ansi-language: EN-US; mso-themecolor: text1; mso-bidi-font-weight: bold"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=82e4ed05-0fbf-48f4-b2b2-66bebf3f5de0&amp;amp;DisplayLang=en"&gt;&lt;span style="color: black; text-decoration: none; mso-themecolor: text1; mso-bidi-font-weight: normal; text-underline: none"&gt;Microsoft Office Communications Server 2007 R2 SDK&lt;/span&gt;&lt;/a&gt;              &lt;p&gt;&lt;/p&gt;           &lt;/span&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3211209" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/kpalmvig/archive/tags/OCS/default.aspx">OCS</category></item><item><title>OCS 2007 R2 Launched</title><link>http://blogs.technet.com/kpalmvig/archive/2009/02/04/ocs-2007-r2-launched.aspx</link><pubDate>Wed, 04 Feb 2009 13:12:30 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3196849</guid><dc:creator>kpalmvig</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/kpalmvig/comments/3196849.aspx</comments><wfw:commentRss>http://blogs.technet.com/kpalmvig/commentrss.aspx?PostID=3196849</wfw:commentRss><description>&lt;p&gt;On February 3rd 2009, OCS 2007 R2 launched globally. To find more information about the launch, visit the virtual launch experience at: &lt;a href="http://www.ocsr2launch.com"&gt;www.ocsr2launch.com&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kpalmvig/WindowsLiveWriter/OCS2007R2Launched_9D9C/image_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/kpalmvig/WindowsLiveWriter/OCS2007R2Launched_9D9C/image_thumb.png" width="244" height="62" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Future posts on my blog will be R2 related, please check back for updates…&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3196849" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/kpalmvig/archive/tags/OCS/default.aspx">OCS</category></item><item><title>How To: Build an OCS and UM lab with phone integration</title><link>http://blogs.technet.com/kpalmvig/archive/2008/01/03/how-to-build-an-ocs-and-um-lab-with-phone-integration.aspx</link><pubDate>Thu, 03 Jan 2008 14:56:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2706016</guid><dc:creator>kpalmvig</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/kpalmvig/comments/2706016.aspx</comments><wfw:commentRss>http://blogs.technet.com/kpalmvig/commentrss.aspx?PostID=2706016</wfw:commentRss><description>&lt;p&gt;To quickly set up a lab for testing phone integration you need at least three servers for OCS and Exchange roles. One additional server is needed for Active Directory and Certificate Authority.&lt;/p&gt;  &lt;p&gt;I would recommend using a 64-bit machine installed with Windows Server 2003 x64 and Virtual Server 2005 R2. Virtual Server can then host the Office Communication Server 2007 roles and even the Domain Controller if needed. Exchange Server 2007 will be installed on the host machine (all roles for this setup can co-exist on the same machine).&lt;/p&gt;  &lt;p&gt;Then you need a VOIP/SIP gateway, for this documentation I'll be referring to the Audiocodes MP-114 FXO SIP Gateway but other products with same capabilities exist. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The Audiocodes MP-114 product is not supported for enterprise deployment of OCS, the setup described here is only for lab use. Virtualization of OCS2007 is not supported in a production environment.&lt;/p&gt;  &lt;p&gt;For this simple lab your existing desk phone will be handled by whatever PBX you have installed and the SIP gateway will &amp;quot;listen in&amp;quot; on a second line that the PBX has been configured to use for the same extension as your desk phone. You can also use a completely different extension for testing.&lt;/p&gt;  &lt;p&gt;A very high level diagram of the communication flow in the lab set up will look like this:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kpalmvig/WindowsLiveWriter/HowToBuildanOCSandUMlabwithphoneintegrat_14926/OCS-UM-flow_2.jpg" target="_blank"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="105" alt="OCS-UM-flow" src="http://blogs.technet.com/blogfiles/kpalmvig/WindowsLiveWriter/HowToBuildanOCSandUMlabwithphoneintegrat_14926/OCS-UM-flow_thumb.jpg" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h4&gt;Configuring the SIP gateway&lt;/h4&gt;  &lt;p&gt;First you need to download the OCS compatible .ini file from &lt;a href="http://audiocodes.com/content.aspx?voip=2823" target="_blank"&gt;AudioCodes' web site&lt;/a&gt; - you need the &amp;quot;FXO (One-to-One option)&amp;quot; download for this setup.&lt;/p&gt;  &lt;p&gt;Follow the quick guide available on the same page for basic setup of the MP-114. (Default IP address of the device may be 10.1.10.10 - it was in my case).&lt;/p&gt;  &lt;p&gt;When configuring endpoint phone number, use your full phone number.&lt;/p&gt;  &lt;p&gt;I prefer to do as little phone number manipulation as possible in the MP-114 but you need to convert the incoming phone extension into a full E.164 compliant number so it will match your phone number in OCS.&lt;/p&gt;  &lt;p&gt;It is by far the easiest to do all your phone number normalization in OCS and just pass on the &amp;quot;finished&amp;quot; number to the MP-114, more about this in the Mediation Server section.&lt;/p&gt;  &lt;p&gt;Just let the MP-114 route all inbound calls to your number.&lt;/p&gt;  &lt;p&gt;As this is a test setup you may want your desk phone to ring a couple of times before your lab environment kicks in, this can be done by configuring the FXONumberOfRings under http://mp-114/AdminPage to the number of rings you want before the MP-114 reacts.&lt;/p&gt;  &lt;p&gt;A good way to see what happens when inbound calls are made is to monitor the ports on the main page of the administration interface. Click the port (Port 3 in this case as only FXO ports should be connected to a PBX), select port settings and then SIP. This way you can see if inbound calls are translated and routed properly (fields are only populated during a call).&lt;/p&gt;  &lt;p&gt;The MP-114 will allow you to connect an analog phone directly and use that for dialing in but it makes more sense to connect it to a PBX for testing.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h4&gt;Install Mediation Server&lt;/h4&gt;  &lt;p&gt;Essential reading before starting is the &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=24e72dac-2b26-4f43-bba2-60488f2aca8d&amp;amp;displaylang=en" target="_blank"&gt;Enterprise Voice Planning and Deployment Guide&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;I assume that you already have an OCS2007 front end server running with client connectivity so just install the Mediation Server role on a different server using the OCS2007 Deployment Wizard.&lt;/p&gt;  &lt;p&gt;Configure listening IP address for both Communication Server and Gateway to the servers address. Leave location profile as &amp;quot;(None)&amp;quot; - we'll configure that later.&lt;/p&gt;  &lt;p&gt;Next Hop Connections: FQDN of your front end server and IP address of the SIP gateway (MP-114 in this scenario).&lt;/p&gt;  &lt;p&gt;Create a certificate for the the server from the same CA as you did for the front end server.&lt;/p&gt;  &lt;p&gt;Assign a Line URI telephone number to your users in E.164 format through the OCS2007 console or ADUC; select &amp;quot;Enable Enterprise Voice&amp;quot; and input the full phone number as: &amp;quot;tel:+4544890100&amp;quot; (this is an example number, use one that fits into your numbering scheme).&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kpalmvig/WindowsLiveWriter/HowToBuildanOCSandUMlabwithphoneintegrat_14926/UserOptions_2.jpg" target="_blank"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="244" alt="UserOptions" src="http://blogs.technet.com/blogfiles/kpalmvig/WindowsLiveWriter/HowToBuildanOCSandUMlabwithphoneintegrat_14926/UserOptions_thumb.jpg" width="195" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h4&gt;Configuring Exchange UM&lt;/h4&gt;  &lt;p&gt;Under Organization Configuration\Unified Messaging:&lt;/p&gt;  &lt;p&gt;Create a UM Dial Plan (Shell cmdlets are documented in the deployment guide so I'll show the GUI):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kpalmvig/WindowsLiveWriter/HowToBuildanOCSandUMlabwithphoneintegrat_14926/UM-dial-plan_4.jpg" target="_blank"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="213" alt="UM-dial-plan" src="http://blogs.technet.com/blogfiles/kpalmvig/WindowsLiveWriter/HowToBuildanOCSandUMlabwithphoneintegrat_14926/UM-dial-plan_thumb_1.jpg" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Give the dial plan a name and use as many digits for extension as you desire.&lt;/p&gt;  &lt;p&gt;Add the dial plan to the UM server object under Server Configuration\Unified Messaging.&lt;/p&gt;  &lt;p&gt;Create a new UM Auto Attendant; simply name it AutoAttendant and select the dial plan you created before. Associate an extension number with your Auto Attendant that doesn't conflict with other numbers. Make sure you enable and speech enable the Auto Attendant by checking the two checkboxes at the bottom.&lt;/p&gt;  &lt;p&gt;Run the ExchUCUtil.ps1 script.&lt;/p&gt;  &lt;p&gt;This will set permissions on the Exchange Org and UM containers and add the OCS front end server as IP gateway for the UM server.&lt;/p&gt;  &lt;p&gt;Don't forget to enable users for UM... ;o)&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h4&gt;Configure Mediation Server&lt;/h4&gt;  &lt;p&gt;Run the Exchange UM Integration Utility (found under: C:\Program Files\Microsoft Office Communications Server 2007\Server\Support\OcsUMUtil.exe on your front end server)&lt;/p&gt;  &lt;p&gt;Press &amp;quot;Load Data&amp;quot;&lt;/p&gt;  &lt;p&gt;If the list shows your Exchange UM dial plan, press &amp;quot;Add&amp;quot; and select phone number defined in Exchange UM under phone number and &amp;quot;Auto-Attendant&amp;quot; under Contact Type.&lt;/p&gt;  &lt;p&gt;Press OK&lt;/p&gt;  &lt;p&gt;The tool will say that no matching location profile exists so lets go ahead and create one now:&lt;/p&gt;  &lt;p&gt;Right click the forest name in the OCS2007 console, select Properties; Voice Properties&lt;/p&gt;  &lt;p&gt;Add a new profile, using the name OcsUMUtil found.&lt;/p&gt;  &lt;p&gt;Add as many Normalization Rules to the profile as you need. This is very well documented in the deployment guide but a fast one to get you going:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Name: Local extension&lt;/p&gt;    &lt;p&gt;Phone pattern regular expression: ^([1-9]\d{3})$&lt;/p&gt;    &lt;p&gt;Translation pattern regular expression: +454489$1&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;The pattern regular expression will look for any 4 digit number starting with 1-9 and pass it on to the translation as variable $1 - the translation will prefix it with +454489 (so it conforms to E.164 numbering this way OCS can match a 4 digit local extension to the full number you have configured on your OCS/UM users).&lt;/p&gt;  &lt;p&gt;Phone Usages and Policies are not very important for this small lab setup just assign &amp;quot;Default Usage&amp;quot; to &amp;quot;Default Policy&amp;quot;.&lt;/p&gt;  &lt;p&gt;In Routes, create a new route called &amp;quot;Default Route&amp;quot;, set the Target regular expression to &amp;quot;.*&amp;quot; to let all numbers that does not match an internal user to be routed. (You can set it to &amp;quot;^\+45&amp;quot; to only allow national calls, other country codes will then fail to route).&lt;/p&gt;  &lt;p&gt;Set the gateway address to your Mediation Server and select &amp;quot;Default Usage&amp;quot; under Phone usages.&lt;/p&gt;  &lt;p&gt;Assign the Location Profile to the Mediation Server object in the OCS2007 console.&lt;/p&gt;  &lt;p&gt;A very good tool to verify that your call routing is working is the Enterprise Voice Route Helper available for download in the &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=b9bf4f71-fb0b-4de9-962f-c56b70a8aecd&amp;amp;displaylang=en" target="_blank"&gt;Office Communications Server 2007 Resource Kit Tools&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt;Your OC client should look like this if phone integration is configured properly:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/kpalmvig/WindowsLiveWriter/HowToBuildanOCSandUMlabwithphoneintegrat_14926/OC-VoiceMail_2.jpg" target="_blank"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="188" alt="OC-VoiceMail" src="http://blogs.technet.com/blogfiles/kpalmvig/WindowsLiveWriter/HowToBuildanOCSandUMlabwithphoneintegrat_14926/OC-VoiceMail_thumb.jpg" width="240" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Enjoy...&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2706016" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/kpalmvig/archive/tags/UM/default.aspx">UM</category><category domain="http://blogs.technet.com/kpalmvig/archive/tags/How+To/default.aspx">How To</category><category domain="http://blogs.technet.com/kpalmvig/archive/tags/SIP/default.aspx">SIP</category><category domain="http://blogs.technet.com/kpalmvig/archive/tags/OCS/default.aspx">OCS</category></item></channel></rss>