<?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 : Edge Server</title><link>http://blogs.technet.com/ucspotting/archive/tags/Edge+Server/default.aspx</link><description>Tags: Edge Server</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>The Butterfly Effect applied to OCS Edge Server R2</title><link>http://blogs.technet.com/ucspotting/archive/2009/05/25/3245364.aspx</link><pubDate>Mon, 25 May 2009 18:42:11 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3245364</guid><dc:creator>ucspotting</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/ucspotting/comments/3245364.aspx</comments><wfw:commentRss>http://blogs.technet.com/ucspotting/commentrss.aspx?PostID=3245364</wfw:commentRss><description>&lt;p&gt;Chances are that, if you live in one of the green countries from the picture below (courtesy of &lt;a href="http://en.wikipedia.org/wiki/File:DecimalSeparator.png" target="_blank"&gt;Wikipedia&lt;/a&gt;), and if you tried to setup the OCS 2007 R2 Edge server role, you probably felt the frustration, combined with a little bit of despair and asked yourself at some time: “Am I going nuts?”, “Did I suddenly lose my skills?” or “Did I fell into a wormhole and I am now living in a parallel Universe?”. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/DecimalSeparator_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="DecimalSeparator" border="0" alt="DecimalSeparator" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/DecimalSeparator_thumb.png" width="510" height="235" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Why only the green countries? I will explain in detail shortly, but in order not to create too much suspense, let me just say that these countries use a comma &amp;quot;,&amp;quot; as the decimal separator and not a period &amp;quot;.&amp;quot;.&lt;/p&gt;  &lt;p&gt;I've been planning on blogging about this issue for some months now, but for one reason or another, I didn't manage to do it until now. Meanwhile, some other people decide to share their experiences about the very same issue, writing them in some blog posts that I would like to recommend:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://www.pro-exchange.eu/modules.php?name=News&amp;amp;file=article&amp;amp;sid=1122" target="_blank"&gt;A/V Authentication Service can't be reached...due to a comma&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://unified-communications.blogspot.com/2009/01/ocs-2007-r2-and-localization.html" target="_blank"&gt;OCS 2007 R2 and Localization&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;I would also like to add that there is now a permanent fix for the problem I'm about to describe.&lt;/p&gt;  &lt;h3&gt;The Symptoms&lt;/h3&gt;  &lt;p&gt;Imagine the perfect installation of OCS 2007 R2, where all the requirements were met, where every single detail was taken care of, where every step of the official deployment guide was followed. But, at the very end, in the test phase, you taste the bitter taste of failure as some errors emerge:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Users see a “&lt;strong&gt;Limited External Calling&lt;/strong&gt;” error in Communicator. If they click details, they get the message: &amp;quot;&lt;font color="#ff0000"&gt;Some calls to and from people outside of your corporate network may not connect due to server connectivity problems. Try signing out and signing back in. If this problem continues, contact your system administrator with this information&lt;/font&gt;&amp;quot;.       &lt;br /&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/limited-external-calling-01_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="limited-external-calling-01" border="0" alt="limited-external-calling-01" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/limited-external-calling-01_thumb.png" width="413" height="410" /&gt;&lt;/a&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/limited-external-calling-02_2.png"&gt;        &lt;br /&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="limited-external-calling-02" border="0" alt="limited-external-calling-02" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/limited-external-calling-02_thumb.png" width="373" height="152" /&gt;&lt;/a&gt;       &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;When an external user tries to call an internal user, the call is unsuccessful with the error: &amp;quot;&lt;font color="#ff0000"&gt;The call was disconnected because you stopped receiving audio from &amp;lt;user&amp;gt;. Please try the call again&lt;/font&gt;&amp;quot;.       &lt;br /&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/limited-external-calling-03_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="limited-external-calling-03" border="0" alt="limited-external-calling-03" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/limited-external-calling-03_thumb.png" width="365" height="287" /&gt;&lt;/a&gt;&amp;#160; &lt;/li&gt;    &lt;li&gt;When you validate the A/V Conferencing Server from the OCS Front-End, you get a &amp;quot;Validation Wizard completed with failures&amp;quot;.      &lt;br /&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/av-validation-failure_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="av-validation-failure" border="0" alt="av-validation-failure" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/av-validation-failure_thumb.png" width="381" height="337" /&gt;&lt;/a&gt;       &lt;br /&gt;The Office Communications Server 2007 R2 Deployment Log shows the following error:       &lt;br /&gt;&lt;b&gt;&lt;font color="#ff0000"&gt;Failure          &lt;br /&gt;[0xC3FC200D] One or more errors were detected&lt;/font&gt;&lt;/b&gt;       &lt;p&gt;&lt;font color="#ff0000"&gt;&lt;b&gt;A/V Authentication Edge Server:&lt;/b&gt; Could not contact A/V Authentication Edge Server.           &lt;br /&gt;To resolve this error, check for the following           &lt;br /&gt;1. The outbound proxy is reachable.           &lt;br /&gt;2. The outbound proxy and A/V Authentication Edge Server are in trusted server list of each other.           &lt;br /&gt;3. The outbound proxy and A/V Authentication Edge Server have valid certificates.           &lt;br /&gt;4. Conference Server certificate is valid.           &lt;br /&gt;5. A/V Authentication Edge Server Gruu is correct.&lt;/font&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;At the Mediation server, the&lt;strong&gt; Event 25015 &lt;/strong&gt;is logged (this is actually the responsible for the &lt;strong&gt;Limited External Calling&lt;/strong&gt; issue previously described):&amp;#160; &lt;br /&gt;&amp;quot;The A/V Authentication Service returned invalid response. Connections that require Firewall traversal will not be successful.       &lt;br /&gt;Response Code: 400       &lt;br /&gt;Response Text: Bad Request       &lt;br /&gt;Cause: Either the A/V Authentication Service is not running or unreachable.&amp;quot;       &lt;br /&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/mediation-av-error_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="mediation-av-error" border="0" alt="mediation-av-error" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/mediation-av-error_thumb.png" width="474" height="385" /&gt;&lt;/a&gt;&amp;#160; &lt;/li&gt; &lt;/ol&gt;  &lt;h3&gt;The Cause&lt;/h3&gt;  &lt;p&gt;Although OCS has lots and lots of (good) troubleshooting tools, sometimes it's not easy to spot the error, even when it is right in front of your eyes.&lt;/p&gt;  &lt;p&gt;Analyzing the Communicator log from the external user, revealed the &amp;quot;Version Mismatch&amp;quot; error. The error has to do with localization (decimal separator), which caused a string comparison to fail: &amp;quot;2,0&amp;quot; with a comma it's different from &amp;quot;2.0&amp;quot; with a period! I must confess I would never get there without the help from a Microsoft colleague.&lt;/p&gt;  &lt;p&gt;Here's the relevant excerpt from the communicator log and a glance of the Snooper Tool:&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;div style="border-bottom: gray 1px solid; border-left: gray 1px solid; background-color: #f4f4f4; color: #006080; border-top: gray 1px solid; border-right: gray 1px solid"&gt;&lt;strong&gt;SIP/2.0 501 Not Implemented      &lt;br /&gt;Ms-diagnostics:&lt;/strong&gt; 9008;source=&amp;quot;ptstu-ocs10.demo.local&amp;quot;;reason=&amp;quot;VersionMismatch&amp;quot;;component=&amp;quot;Media Relay Authentication Service&amp;quot;    &lt;p&gt;&lt;/p&gt;    &lt;p&gt;&lt;/p&gt; &amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;     &lt;br /&gt;&amp;lt;response xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; requestID=&amp;quot;37875240&amp;quot; &lt;span style="background-color: #ffff99"&gt;version=&amp;quot;&lt;strong&gt;2,0&lt;/strong&gt;&amp;quot; serverVersion=&amp;quot;&lt;strong&gt;2.0&lt;/strong&gt;&amp;quot;&lt;/span&gt; to=&amp;quot;sip:ptstu-ocs10.demo.local@demo.local;     &lt;br /&gt;gruu;opaque=srvr:MRAS:TIS6zHHx10mnGGNqE01JjwAA&amp;quot; from=&amp;quot;sip:rusilva@demo.local&amp;quot; reasonPhrase=&amp;quot;Version Mismatch&amp;quot; xmlns=&amp;quot;http://schemas.microsoft.com/2006/09/sip/mrasp&amp;quot; /&amp;gt;&lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/version-mismatch-snooper_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="version-mismatch-snooper" border="0" alt="version-mismatch-snooper" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/version-mismatch-snooper_thumb.png" width="484" height="336" /&gt;&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;A Workaround&lt;/h3&gt;  &lt;p&gt;To workaround this problem, change the locale setting to English/US for the local account that the A/V Edge service and the A/V Edge Authentication service use (RTCProxyService).&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Give the RTCProxyService account local login rights (it’s quicker to just add it to the local Administrators group). &lt;/li&gt;    &lt;li&gt;Logon to the OCS Edge server with the RTCProxyService credentials. &lt;/li&gt;    &lt;li&gt;Open &lt;strong&gt;Control Panel&lt;/strong&gt; &amp;gt; &lt;strong&gt;Regional and Language Options&lt;/strong&gt; and change the &lt;strong&gt;Current format&lt;/strong&gt; to &lt;strong&gt;English (United States)&lt;/strong&gt;.       &lt;br /&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/03-av-edge-validation_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-av-edge-validation" border="0" alt="03-av-edge-validation" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/03-av-edge-validation_thumb.gif" width="354" height="406" /&gt;&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;Log off the RTCProxyService, log back in with the Administrator, remove the RTCProxyService from the Administrators group, restart all the OCS services and voilá! If everything else is well configured, you now have a fully functional OCS solution.&lt;/li&gt; &lt;/ol&gt;  &lt;h3&gt;The (Definitive) Solution&lt;/h3&gt;  &lt;p&gt;Fortunately, &lt;span style="background-color: #ffff99"&gt;the &lt;a href="http://support.microsoft.com/kb/968802" target="_blank"&gt;April updates for Communications Server 2007 R2&lt;/a&gt; include a patch for this specific problem&lt;/span&gt;. Read the following KB article for more information: &lt;a href="http://support.microsoft.com/kb/968938/" target="_blank"&gt;The Communications Server 2007 R2 - A/V Edge Authentication Server does not recognize a token request if the locale for RTCProxyService is not en-US/409&lt;/a&gt; (and then apply the &lt;a href="http://support.microsoft.com/kb/967831/" target="_blank"&gt;KB967831&lt;/a&gt; hotfix).&lt;/p&gt;  &lt;h3&gt;The Wrong Way!&lt;/h3&gt;  &lt;p&gt;When you apparently reached a dead-end and start doubting about yourself, you usually start trying some silly things. One of the approaches I took was to &lt;span style="background-color: #ffff99"&gt;add the OCS Edge server to the list of authorized hosts. &lt;strong&gt;Don’t do this!!!&lt;/strong&gt;&lt;/span&gt; The Edge server should never be placed in the Host Authorization tab, doing so will break the communication workflow.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/01-av-edge-validation_2.gif"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="01-av-edge-validation" border="0" alt="01-av-edge-validation" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/01-av-edge-validation_thumb.gif" width="307" height="368" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h3&gt;The (Wrong) Usual Suspect: NAT&lt;/h3&gt;  &lt;p&gt;At the beginning of the troubleshoot process, my prime suspect was NAT, since I was using for the first time one of the coolest features of OCS 2007 R2 (the A/V Edge interface can now be NAT'ed) and the symptoms were typical of NAT'ed A/V Edge interface. &lt;/p&gt;  &lt;p&gt;There are some requirements for this particular configuration to work, I strongly recommend the reading of the excellent post by Rick Varvel: &lt;a href="http://blogs.technet.com/rickva/archive/2009/04/03/Configuring-A_2F00_V-Edge-Service-for-NAT.aspx" target="_blank"&gt;Configuring R2 A/V Edge Service for NAT&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt;At the end, NAT had nothing to do with the problem, I can assure you this features works perfectly.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/ocs-edge-nat02_2.gif"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="ocs-edge-nat02" border="0" alt="ocs-edge-nat02" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/ocs-edge-nat02_thumb.gif" width="311" height="128" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/av-nat_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="av-nat" border="0" alt="av-nat" src="http://blogs.technet.com/blogfiles/ucspotting/WindowsLiveWriter/pmrrak_FA41/av-nat_thumb.png" width="292" height="406" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;h3&gt;The Butterfly Effect&lt;/h3&gt;  &lt;p&gt;The Butterfly Effect has origin in &lt;a href="http://en.wikipedia.org/wiki/Chaos_theory"&gt;chaos theory&lt;/a&gt; and describes how small variations of the initial condition of a dynamical system may produce large variations in the long term behavior of the system. The phrase refers to the idea that a butterfly's wings might create tiny changes in the atmosphere that may ultimately create a tornado in a certain location.&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;In other words, sometimes a comma makes all the difference!&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3245364" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/ucspotting/archive/tags/Edge+Server/default.aspx">Edge Server</category></item></channel></rss>