<?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 : Exchange UM</title><link>http://blogs.technet.com/ucspotting/archive/tags/Exchange+UM/default.aspx</link><description>Tags: Exchange UM</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Connecting Communicator R2 to Exchange UM</title><link>http://blogs.technet.com/ucspotting/archive/2008/12/24/connecting-communicator-r2-to-exchange-um.aspx</link><pubDate>Wed, 24 Dec 2008 19:45:19 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3172988</guid><dc:creator>ucspotting</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/ucspotting/comments/3172988.aspx</comments><wfw:commentRss>http://blogs.technet.com/ucspotting/commentrss.aspx?PostID=3172988</wfw:commentRss><description>&lt;p&gt;Recently, I was doing some tests with Exchange Unified Messaging, but when I tried to connect to Exchange Voice Mail using Communicator R2, I got the following error:&lt;/p&gt;  &lt;p&gt;&amp;quot;&lt;em&gt;&lt;span style="background-color: #ffff99"&gt;&lt;em&gt;Incompatible security setting.&amp;#160; &lt;br /&gt;The call could not be completed because security levels do not match&lt;/em&gt;&lt;/span&gt;&lt;/em&gt;&amp;quot;&lt;/p&gt;  &lt;p&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="328" alt="incompatible-security-settings" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/ConnectingCommunicatorR2toExchangeUM_F15D/incompatible-security-settings_3.gif" width="368" border="0" /&gt; &lt;/p&gt;  &lt;p&gt;An Exchange UM dial-plan supports three different security levels: Unsecured, SIP Secured, and Secured. The following table shows the differences in terms of Mutual TLS and SRTP for the various security levels. &lt;/p&gt;  &lt;table cellspacing="2" cellpadding="2" width="400" border="1"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="133"&gt;         &lt;p align="center"&gt;&lt;strong&gt;VoIP Security&lt;/strong&gt;&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top" width="133"&gt;         &lt;p align="center"&gt;&lt;strong&gt;Mutual TLS&lt;/strong&gt;&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top" width="133"&gt;         &lt;p align="center"&gt;&lt;strong&gt;SRTP&lt;/strong&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="133"&gt;Unsecured&lt;/td&gt;        &lt;td valign="top" width="133"&gt;Disabled&lt;/td&gt;        &lt;td valign="top" width="133"&gt;Disabled&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="133"&gt;SIP Secured&lt;/td&gt;        &lt;td valign="top" width="133"&gt;Enabled (required)&lt;/td&gt;        &lt;td valign="top" width="133"&gt;Disabled&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="133"&gt;Secured&lt;/td&gt;        &lt;td valign="top" width="133"&gt;Enabled (required)&lt;/td&gt;        &lt;td valign="top" width="133"&gt;Enabled (required)&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="507" alt="exchange-um-secured" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/ConnectingCommunicatorR2toExchangeUM_F15D/exchange-um-secured_3.gif" width="443" border="0" /&gt; &lt;/p&gt;  &lt;p&gt;When integrating Exchange UM with Office Communications Server 2007, consider the following when selecting the dial plan security level: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Mutual TLS is required between Exchange UM and OCS, therefore the Unsecured level is not an option.&lt;/li&gt;    &lt;li&gt;Office Communicator 2007 clients support SRTP (Secure Real-Time Transport Protocol), therefore both Secured as well as SIP Secured security levels can be used. The encryption level that Communicator uses can be set by means of Group Policy or by changing the &lt;i&gt;PC2PCAVEncryption&lt;/i&gt; registry key.&lt;/li&gt;    &lt;li&gt;&lt;span style="background-color: #ffff99"&gt;If Communicator Phone Edition (aka Tanjay) is deployed, the security level should be set to Secured&lt;/span&gt;.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;The registry key &lt;em&gt;PC2PCAVEncryption&lt;/em&gt; (REG_DWORD) can be used to specify whether encryption is supported, required, or not supported when making and receiving audio and video calls. The supported values are:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;0 = Support encryption, but do not require it. Should only be used with the TLS network protocol. (default) &lt;/li&gt;    &lt;li&gt;1 = Require encryption. Unencrypted calls are not accepted. Should only be used with the TLS network protocol. &lt;/li&gt;    &lt;li&gt;2 = Do not support encryption. Encrypted calls are not accepted.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="203" alt="PC2PCAVEncryption" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/ConnectingCommunicatorR2toExchangeUM_F15D/PC2PCAVEncryption_3.gif" width="345" border="0" /&gt; &lt;/p&gt;  &lt;p&gt;BTW, if you're playing around with this registry key (or any other), you may find useful to know that Communicator uses the following precedence, when applying settings:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;&lt;b&gt;HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Communicator&lt;/b&gt;&lt;/li&gt;    &lt;li&gt;&lt;b&gt;HKEY_CURRENT_USER\Software\Policies\Microsoft\Communicator&lt;/b&gt;&lt;/li&gt;    &lt;li&gt;Office Communications Server 2007 in-band provisioning&lt;/li&gt;    &lt;li&gt;Communicator 2007 Options dialog box&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Further investigation revealed the following error on Communicator logs:&lt;/p&gt;  &lt;p&gt;&amp;quot;&lt;em&gt;&lt;span style="background-color: #ffff99"&gt;&lt;em&gt;SIP/2.0 415 Unsupported Media Type&lt;/em&gt;&lt;/span&gt;&lt;/em&gt;&amp;quot;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/photos/ucspotting/images/3172986/original.aspx" target="_blank"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="372" alt="tracing-small" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/ConnectingCommunicatorR2toExchangeUM_F15D/tracing-small_3.gif" width="428" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;After this, it seemed quite obvious that the problem had to do with encryption, more specifically to the SRTP setting. The solution? There are 2 possible ones:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Change the Exchange UM VoIP Security level to &amp;quot;Secured&amp;quot; (it was SIP Secured before).&lt;/li&gt;    &lt;li&gt;Create the registry key &lt;i&gt;PC2PCAVEncryption&lt;/i&gt; and change its value to 0&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;One final note: &lt;span style="background-color: #ffff99"&gt;the problem didn't affect Office Communicator 2007, only the R2 client&lt;/span&gt;, so we can assume the R2 clients will be more secure than its predecessors.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3172988" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/ucspotting/archive/tags/Communicator+2007+R2/default.aspx">Communicator 2007 R2</category><category domain="http://blogs.technet.com/ucspotting/archive/tags/Exchange+UM/default.aspx">Exchange UM</category></item></channel></rss>