<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>RoOCS</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/roocs/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/roocs/feed.xml</link>
    <description>Microsoft Support Engineers based in the Romanian GTSC blog their latest findings here. Feel free to comment on the blogs should you have further questoins.</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:48:13 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Lync new INVITE behavior when calling (invite by phone) PSTN Numbers into a Conference</title>
      <link>https://docs.microsoft.com/archive/blogs/roocs/lync-new-invite-behavior-when-calling-invite-by-phone-pstn-numbers-into-a-conference</link>
      <pubDate>Fri, 01 Jul 2011 08:22:00 GMT</pubDate>
      <dc:creator><![CDATA[AlexBacanel]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/roocs/2011/07/01/lync-new-invite-behavior-when-calling-invite-by-phone-pstn-numbers-into-a-conference/</guid>
      <description><![CDATA[It has been a while since we last posted something new to our blog, but we are back.&nbsp;
I wanted...]]></description>
      <content:encoded><![CDATA[<p>It has been a while since we last posted something new to our blog, but we are back.&nbsp;</p>
<p>I wanted to start a new tread regarding new or changed features and behavior in Lync 2010 as opposed to Office Communications Server 2007 R2.</p>
<p>Based on our customers feedback the behavior has been changed when inviting a PSTN Number from a Lync meeting, the change of behavior might need some configuration of your Gateway/PBX if you are migrating your Mediation Server from Office Communications Server 2007 R2 to Lync.</p>
<p>We have seen numerous issues with billing in Office Communications Server 2007 R2 when dialing out from a meeting, this is because in R2 when you were dialing out from a meeting, the call was initiated by the meeting service and not by the user itself, the result of this was that a generic INVITE Message was being sent to the Gateway with an anonymous caller ID and no way to identify the User actually making the call.</p>
<p>Some customers that were using a SIP Trunk and where the billing was done based on DID could so not make any outbound calls from the Meeting as the SIP TRUNK/Gateway was refusing Anonymous Calls.</p>
<p>In Lync we now have a new behavior, the call is still made by the Conferencing Service but this time the Conferencing Service got smarter, it no longer sends a plain anonymous Invite to the Gateway but identifies the user making the call and uses this users Number to make the call.</p>
<p>Here are a few examples of the behavior.</p>
<ul>
<li>SIP INVITE to Gateway in R2 when a PSTN User was invited to an existing meeting</li>
</ul>
<p>&nbsp;</p>
<p><b><i>22d:22h:57m:22s INVITE sip:+402681230001@10.165.213.38;user=phone SIP/2.0</i></b></p>
<p><b><i>FROM: &lt;sip:testuser@vonfluxenberg.tk;gruu;opaque=app:conf:audio-video:id:06D549EC9F7EFD4F963819F7B7DAE248&gt;;epid=8327676970;tag=6811c6f52b</i></b></p>
<p><b><i>TO: &lt;sip:+402681230001@10.165.213.38;user=phone&gt;</i></b></p>
<p><b><i>CSEQ: 12 INVITE</i></b></p>
<p><b><i>CALL-ID: 42c9c8d7-3390-4e01-a01f-51c70c368f71</i></b></p>
<p><b><i>MAX-FORWARDS: 70</i></b></p>
<p><b><i>VIA: SIP/2.0/TCP 192.168.0.4:59804;branch=z9hG4bK45caa86</i></b></p>
<p><b><i>CONTACT: &lt;sip:VFMS.vonfluxenberg.tk:5060;transport=Tcp;maddr=192.168.0.4;ms-opaque=a7c3a97fdf3f6c79&gt;</i></b></p>
<p><b><i>CONTENT-LENGTH: 324</i></b></p>
<p><b><i>SUPPORTED: 100rel</i></b></p>
<p><b><i>USER-AGENT: RTCC/3.5.0.0 MediationServer</i></b></p>
<p><b><i>CONTENT-TYPE: application/sdp; charset=utf-8</i></b></p>
<p><b><i>ALLOW: ACK</i></b></p>
<p><b><i>Allow: CANCEL,BYE,INVITE,PRACK,UPDATE</i></b></p>
<p><b><i>&nbsp;</i></b></p>
<p><b><i>v=0</i></b></p>
<p><b><i>o=- 18 1 IN IP4 192.168.0.4</i></b></p>
<p><b><i>s=session</i></b></p>
<p><b><i>c=IN IP4 192.168.0.4</i></b></p>
<p><b><i>b=CT:1000</i></b></p>
<p><b><i>t=0 0</i></b></p>
<p><b><i>m=audio 60152 RTP/AVP 97 101 13 0 8</i></b></p>
<p><b><i>c=IN IP4 192.168.0.4</i></b></p>
<p><b><i>a=rtcp:60153</i></b></p>
<p><b><i>a=label:Audio</i></b></p>
<p><b><i>a=rtpmap:97 RED/8000</i></b></p>
<p><b><i>a=rtpmap:101 telephone-event/8000</i></b></p>
<p><b><i>&nbsp;</i></b></p>
<p>Notice how the FROM Field (<b><i>FROM: &lt;sip:testuser@vonfluxenberg.tk;gruu;opaque=app:conf:audio-video:id:06D549EC9F7EFD4F963819F7B7DAE248&gt;;epid=8327676970;tag=6811c6f52b) </i></b>Contains no E164 Number, just a Username of the User that initiated the meeting and the conf tag, this is displayed here because the conferencing service initiated the call.</p>
<p>As you can imagine, most PBX/Gateways will have no idea who or what <a href="mailto:testuser@vonfluxenberg.tk"><b>testuser@vonfluxenberg.tk</b></a><b> </b>is as they are designed to work with E164 Numbers and not SIP Addresses. At best they would treat this as an Anonymous call but PBX&rsquo;s or SIP TRUNKS that rely on DID for Billing would just simply decline the call&hellip;. Not very fun for some.</p>
<p>&nbsp;</p>
<ul>
<li>SIP INVITE to Gateway in Lync 2010 when a PSTN User was invited to an existing meeting</li>
</ul>
<p>&nbsp;</p>
<p><b><i>22d:22h:55m:2s INVITE sip:+402681230001@10.165.213.38;user=phone SIP/2.0</i></b></p>
<p><b><i>FROM: &lt;sip:+49891242666@vflync.vonfluxenberg.tk;user=phone&gt;;epid=79D93FDA4B;tag=5b1fb1ee8</i></b></p>
<p><b><i>TO: &lt;sip:+402681230001@10.165.213.38;user=phone&gt;</i></b></p>
<p><b><i>CSEQ: 2392 INVITE</i></b></p>
<p><b><i>CALL-ID: 9fcf1195-2ec7-4039-a4e6-1ba12bbb8c7c</i></b></p>
<p><b><i>MAX-FORWARDS: 70</i></b></p>
<p><b><i>VIA: SIP/2.0/TCP 192.168.2.2:56229;branch=z9hG4bK336c7520</i></b></p>
<p><b><i>CONTACT: &lt;sip:vflync.vonfluxenberg.tk:5068;transport=Tcp;maddr=192.168.2.2;ms-opaque=468b0470ce4bcf63&gt;</i></b></p>
<p><b><i>CONTENT-LENGTH: 335</i></b></p>
<p><b><i>SUPPORTED: 100rel</i></b></p>
<p><b><i>USER-AGENT: RTCC/4.0.0.0 MediationServer</i></b></p>
<p><b><i>CONTENT-TYPE: application/sdp</i></b></p>
<p><b><i>ALLOW: ACK</i></b></p>
<p><b><i>Allow: CANCEL,BYE,INVITE,PRACK,UPDATE</i></b></p>
<p><b><i>&nbsp;</i></b></p>
<p><b><i>v=0</i></b></p>
<p><b><i>o=- 4 1 IN IP4 192.168.2.2</i></b></p>
<p><b><i>s=session</i></b></p>
<p><b><i>c=IN IP4 192.168.2.2</i></b></p>
<p><b><i>b=CT:1000</i></b></p>
<p><b><i>t=0 0</i></b></p>
<p><b><i>m=audio 52548 RTP/AVP 97 101 13 0 8</i></b></p>
<p><b><i>c=IN IP4 192.168.2.2</i></b></p>
<p><b><i>a=rtcp:52549</i></b></p>
<p><b><i>a=label:Audio</i></b></p>
<p><b><i>a=sendrecv</i></b></p>
<p><b><i>a=rtpmap:97 RED/8000</i></b></p>
<p><b><i>a=rtpmap:101 telephone-event/8000</i></b></p>
<p><b><i>a=fmtp:101 0-16</i></b></p>
<p><b><i>a=rtpmap:13 CN/8000</i></b></p>
<p><b><i>a=rtpmap</i></b></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; As opposed to the example before, notice how the SIP Invite from the Lync 2010 Server contains in the From Field (<b>FROM:sip:+49891242666@vflync.vonfluxenberg.tk;user=phone&gt;;epid=79D93FDA4B;tag=5b1fb1ee8</b>) a telephone number and no longer the SIP User Name as in R2, this will make SIP TRUNK Providers that rely on DID&rsquo;s for billing very happy as they can now charge you for the Conference Calls but it can help in other scenarios also.</p>
<p>Hope you have found this information helpful and we promise to be back soon with more tips and tricks on LYNC and OCS.</p>]]></content:encoded>
    </item>
    <item>
      <title>On the path from LCS 2005 to Lync 2010, something went wrong...</title>
      <link>https://docs.microsoft.com/archive/blogs/roocs/on-the-path-from-lcs-2005-to-lync-2010-something-went-wrong</link>
      <pubDate>Mon, 24 Jan 2011 03:16:00 GMT</pubDate>
      <dc:creator><![CDATA[Sorin Duta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/roocs/2011/01/24/on-the-path-from-lcs-2005-to-lync-2010-something-went-wrong/</guid>
      <description><![CDATA[Disclaimer: you cannot migrate from LCS 2005 to Lync 2010 directly. To do this, you must first...]]></description>
      <content:encoded><![CDATA[<p>Disclaimer: you cannot migrate from LCS 2005 to Lync 2010 directly. To do this, you must first migrate from LCS to OCS 2007 (R1 or R2) and then from OCS 2007 (R1 or R2) to Lync.</p>
<p>I had a problem the other day about a migration from LCS 2005.</p>
<p>The scenario was the following: an LCS environment was to be migrated to OCS 2007 R2 and then to Lync. The migration was done according to <a href="https://technet.microsoft.com/en-us/library/dd819973(office.13).aspx">https://technet.microsoft.com/en-us/library/dd819973(office.13).aspx</a>, but during the global settings move (<a href="https://technet.microsoft.com/en-us/library/dd819962(office.13).aspx">https://technet.microsoft.com/en-us/library/dd819962(office.13).aspx</a>) something went wrong: KB 911996 was not correctly installed (not all files were updated) and when the RTC Service object was deleted from the CN=Schema,DC=domain,DC=com, LCS couldn't start anymore and the migration was compromised.</p>
<p>In this situation, there are 3 things to take into consideration:</p>
<p>1. You don't really need to move the RTC objects from Schema to Configuration: this change was done in OCS in order to improve performance. Lync doesn't use AD that much (most of the data will be in SQL), so if you don't have a pressing business need to move the RTC objects to the Configuration partition, <span style="text-decoration: underline;"><strong>don't do it</strong></span>!</p>
<p>2. If you decide to move the objects, verify that KB 911996 is correctly installed. Check that all the files mentioned in the KB were updated before moving anything.</p>
<p>3. If the move went wrong, unless you re-install LCS or restore the AD, there isn't much you can do to get LCS running again.</p>
<p>Ok, so you're in the situation 3 and decided to skip the migration and install Lync directly. I have still to check if the user's contacts can be recovered (and will update this post once I tried it). If you don't care about the contacts (although you should), here's how you can move directly to Lync (this is <strong>not a supported migration path</strong>, but rather a fresh Lync install after a disaster).</p>
<p>0. Back up your AD (in case anything goes wrong - the next step in this is not supported by Microsoft, so if anything goes wrong, you're probably on your own).</p>
<p>1. Delete the RTC Service objects from AD.</p>
<p>2. Install Lync normally, as if it was a fresh install.</p>
<p>3. After the Lync install is finished (and you've tested the functionality with some new test users), you're ready to activate the users for Lync. You won't be able to do it from the Lync console, although you will be able to see them in the console as legacy users.</p>
<p>4. To activate a user for Lync, you must first remove all the information regarding the old server. You can do this by running in the Lync Powershell console Disable-CsUser "User Name". You must have rights for editing the AD user properties in order to do this operation.</p>
<p>5. After the user has been disabled, it can be acticvated for Lync as if he/she was a new user.</p>
<p>6. You must deploy the Lync 2010 client! Communicator 2005 will probably not work with Lync.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Remote Call Control in LYNC</title>
      <link>https://docs.microsoft.com/archive/blogs/roocs/remote-call-control-in-lync</link>
      <pubDate>Tue, 28 Dec 2010 06:04:00 GMT</pubDate>
      <dc:creator><![CDATA[AlexBacanel]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/roocs/2010/12/28/remote-call-control-in-lync/</guid>
      <description><![CDATA[A short, how-to, about RCC and LYNC.
RCC remains mostly the same in LYNC as it was in OCS 2007...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;"><span style="font-family: Calibri;">
<p>A short, how-to, about RCC and LYNC.</p>
<p>RCC remains mostly the same in LYNC as it was in OCS 2007 and OCS 2007R2, the setup and configuration phase have changed a little, actually the only way to set-up RCC in LYNC is with PowerShell.&nbsp; The set-up however follows the same logic as before, set-up a static route, set-up authorization for that route and enables the user for Remote Call Control. </p>
<p>As before you can set-up the connection via TCP or TLS, depending on your implementation, for this example we will use TCP as it is easier to trace and configure, TLS is more or less the same.</p>
<p>Firstly we will go into PowerShell and <b>Get-CsStaticRoutingConfiguration, </b>by default this should be empty, remember this is for the global level but should you want to check a particular site just put in the -identity argument. </p>
<p><a href="https://technet.microsoft.com/en-us/library/gg398754.aspx">https://technet.microsoft.com/en-us/library/gg398754.aspx</a></p>
<p>You should get something like: </p>
</span></span></p>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/7674.get-csstaticrouteconfiguration.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/7674.get_2D00_csstaticrouteconfiguration.png" border="0" /></p>
<p>
<p>This means there is no static route associated to your Pool on a Global Level</p>
<p>What we need to do is to create a static route as needed and attach it to the <b>StaticRoutingConfiguration </b>on the Pool Level. A colleague of mine told me we can add the first command as a variable for the second one so what I did, and it worked, was the following.</p>
<p>Here is how you create Static Route:&nbsp;<a href="https://technet.microsoft.com/en-us/library/gg398265.aspx">https://technet.microsoft.com/en-us/library/gg398265.aspx</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
<p><b>New-CsStaticRoute -TcpRoute -destination &lt;IP of your RCC Device&gt; -port &lt;listening port of your RCC Device&gt; -matchuri &lt;domain that you use the static route for&gt; </b></p>
<p>Here is a short description of the command and the variables:</p>
<p><b>-TcpRoute = </b>creates a route via TCP, alternatively you may user <b>-TLSRoute </b>to set-up a Static Route that uses TLS</p>
<p><b>-destination </b>= this is the IP or FQDN of your RCC Gateway</p>
<p><b>-port = </b>this is the Port that your device will listen on</p>
<p><b>-matchuri = </b>this is the domain you will route to the Gateway, remember the @ is set automatically so when you put in the domain name don't use @, ex.<b>-matchuri "rcc.local"</b></p>
<p>So now that we've got the Static Route down let's see how we attach it to the Pool, as I told you before I used it as a variable and assigned it to the <b>Set-CsStaticRoutingConfiguration</b></p>
<p><b><a href="https://technet.microsoft.com/en-us/library/gg398724.aspx">https://technet.microsoft.com/en-us/library/gg398724.aspx</a></b></p>
</p>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/6746.New-CSStaticRoute.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/6746.New_2D00_CSStaticRoute.png" border="0" /></p>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/8156.Set-CSStaticRoutingConfiguration.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/8156.Set_2D00_CSStaticRoutingConfiguration.png" border="0" /></p>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/8267.Get-CSStaticRoutingConfiguration1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/8267.Get_2D00_CSStaticRoutingConfiguration1.png" border="0" /></p>
<p>
<p><b>$1= New-CsStaticRoute -TCPRoute -Destiantion 192.168.0.200 -Port 5062 -MatchUri&nbsp; "rcc.local"</b></p>
<p><b>Set-CsStaticRoutingConfiguration -Identity Global -route @{Add=$1}</b></p>
<p>And then to check if everything has been applied correctly <b>Get-CsStaticRoutingConfiguration, </b>notice that now under the Global Identity we have our Route applied. </p>
<p>===========================================================================================================================</p>
<p>Ok, so the routing part is over, the next thing to do is to authorize the CSTA GW on the Pool, this is the same as the Authorized Hosts part in OCS 2007 and OCS 2007 R2. There are two ways to do this, PowerShell or topology builder.</p>
<p>Since we started out with PowerShell let's continue with it.</p>
</p>
<p>My Gateway is <b>192.168.0.200,</b> and as we discovered in the above we are connecting to it via TCP on Port 5062.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/1145.New-CSTrustedApplicationPool.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/1145.New_2D00_CSTrustedApplicationPool.png" border="0" /></p>
<p>So in the above command we have created a Trusted Application pool called RCC connected to our LYNC Pool and the trusted Gateway is 192.168.0.200, also you have to give in the SITE ID, the default ID for the first site is 1 but you can get the site id by typing in the command <b>Get-CsSite</b>. <a href="https://technet.microsoft.com/en-us/library/gg398185.aspx">https://technet.microsoft.com/en-us/library/gg398185.aspx</a></p>
<p>
<p>Don't worry about the fact that you have the command ComputerFQDN and you actually type in an IP, this is not a problem, you might get a warning saying this computer was not found in your AD but you can safely ignore it. As far as I can see this is only needed if you want your configuration replicated to this pool, as we actually have a RCC Gateway there is nothing to replicate.</p>
<p>We also gave in the options to TreatAsAuthenticated and to ThrottleAsServer, you might remember these options from OCS 2007 time.</p>
<p>Ok, so we are almost there, there is one more step additional to the ones from 2007 Time, and that is we must register a TrustedApplication on this TrustedApplicationPool. In order to do this we have to hed back to PowerShel</p>
</p>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/0882.New-CSTrustedApplication.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/0882.New_2D00_CSTrustedApplication.png" border="0" /></p>
<p><a href="https://technet.microsoft.com/en-us/library/gg398259.aspx">https://technet.microsoft.com/en-us/library/gg398259.aspx</a></p>
<p>
<p><b>New-CsTrustedApplication -ApplicationId RCC -TrustedApplicationPoolFQDN "192.168.0.200"-Port 5062 -EnableTcp</b></p>
<p>The<b>ApplicationID</b> can be anything so no need to worry about that, just name it something that defines the Application you are using, in our case we named it <strong>RCC</strong>.</p>
<p><b>TrustedApplicationPoolFQDN</b> we will provide here the same IP or FQDN as we did for the<b>TrustedApplicationPool</b> in the step above, again don't mind the command name you are allowed to give in an IP.</p>
<p>We have a Port Option again, use the port you defined in the definition of the Static Routes and very important for TCP Applications <b>EnableTcp</b>, by default the <b>TrustedApplication</b> will use TLS.</p>
<p>So there you go run this command, you might get some warning regarding UCMA and TCP but you can ignore this for TCP based applications like RCC.</p>
<p>If you want to check out if the setting was recorded just use <b>Get-CsTrustedApplication</b> you should get something like</p>
</p>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/2313.Get-CsTrustedApplication.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/2313.Get_2D00_CsTrustedApplication.png" border="0" /></p>
<p>
<p>==================================================================================================================================</p>
<p>Now the good news, the PowerShell part is over, you may use PowerShell to enable the Users but I think it is easier with the GUI, so let's head to the Lync Control Panel.</p>
<p>In the Control Panel we go to Users, remember you need the user to be created in AD before you are able to enable him for LYNC.</p>
</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/7774.CPEnableUsers.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/7774.CPEnableUsers.png" border="0" /></p>
<p>
<p>I usually do it like this but you can chose another way, so on the User Menu, don't try to search for the user directly as you won't find him if he is not LYNC Enabled, you could use the LDAP Search if you want. What I do is I go to Enable Users, and then click Enable Users:</p>
</p>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/0003.CPNewLyncUser.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/0003.CPNewLyncUser.png" border="0" /></p>
<p>
<p>Here we go to Add and Search for the AD User, my users name is RCC User</p>
</p>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/8321.CPFindUser.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/8321.CPFindUser.png" border="0" /></p>
<p>
<p>Then just enable him for LYNC and assign him to the Pool you want.</p>
</p>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/3146.CPConfigureUsers.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/3146.CPConfigureUsers.png" border="0" /></p>
<p>
<p>On the same page if we scroll down are the Telephony options, here is where we need to configure our users Phone Number and RCC Gateway SIP Domain.</p>
<p>When you chose "Remote Call Control" under Telephony Options you also get a second drop down menu called "Line Server URI", this is the RCC Gateway Username and Domain part.</p>
</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/2477.CPConfigureUserTel.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/2477.CPConfigureUserTel.png" border="0" /></p>
<p>
<p>Notice the Line Uri matches the Phone Number Assigned to the RCC Gateway.</p>
<p>The Line Server URI has two parts, the user part, this should be configured on the Gateway and the domain part that this Gateway supports, this is the same as the one we configured on the Static Routes and TrustedApplicationPool and will be the part used to route the SIP Messages to the RCC Gateway.</p>
<p>You can then select all the Policy Settings needed for your domain.</p>
<p>Then just click Enable User in the top Part and we are almost done.</p>
<p>Now, we created a static route for your RCC Gateway, created a Trusted Application Pool and a Trusted Application and we enabled the user for RCC, all we need to do now is to log-on with the user on a LYNC Client and check out if it works J</p>
</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/7380.LYNC.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/7380.LYNC.png" border="0" /></p>
<p>
<p>So if your Lync Client looks like this, with no error in the bottom right part and you have the Call forwarding information on the left then you should be&nbsp;OK, and you should be able to make RCC Calls.</p>
<p>=====================================================================================================================================================================================</p>
</p>
<p>At the time this Blog was created no RCC Gateway Manufacturer had been certified for LYNC, this should happen soon and the results will be posted on our <span style="font-size: small;"><span style="font-family: Calibri;">Microsoft Unified Communications Open Interoperability Program webpage <a href="https://technet.microsoft.com/en-us/office/ocs/bb735838">https://technet.microsoft.com/en-us/office/ocs/bb735838</a>. Check this out for news regarding supported RCC Gateways and IP PBX as well as IP Gateways for LYNC.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">========================================<span style="font-family: Calibri; font-size: small;">======================================<span style="font-family: Calibri; font-size: small;">======================================<span style="font-family: Calibri; font-size: small;">======================================<span style="font-family: Calibri; font-size: small;">=====</span></span></span></span></span></p>
<p><span style="font-size: large;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: small;"><span class="mceitemhidden"><span style="color: black; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: Calibri;"><span style="font-size: x-small;">Happy New Year from the Microsoft Romania Office Communications Server / LYNC Team (Microsoft Romania GTSC) &ndash; <b style="mso-bidi-font-weight: normal;">Engineer IT your Way</b> &ndash;<o:p></o:p></span></span></span></span></span></span></p>]]></content:encoded>
    </item>
    <item>
      <title>Exchange UM Play on Phone Tips and Tricks</title>
      <link>https://docs.microsoft.com/archive/blogs/roocs/exchange-um-play-on-phone-tips-and-tricks</link>
      <pubDate>Fri, 24 Dec 2010 04:15:00 GMT</pubDate>
      <dc:creator><![CDATA[AlexBacanel]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/roocs/2010/12/24/exchange-um-play-on-phone-tips-and-tricks/</guid>
      <description><![CDATA[Today I want to talk to you about an Exchange UM Feature that crosses the boundaries between...]]></description>
      <content:encoded><![CDATA[<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">Today I want to talk to you about an Exchange UM Feature that crosses the boundaries between Outlook, Exchange and Office Communications Server/Lync.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><v:shapetype coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f" id="_x0000_t75"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></v:path><o:lock v:ext="edit" aspectratio="t"></o:lock></v:shapetype></span><b style="mso-bidi-font-weight: normal;"><o:p></o:p></b></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span style="font-size: small;"><span style="font-family: Calibri;"></span></span></b></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span style="font-size: small;"><span style="font-family: Calibri;"></span></span></b></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span style="font-size: small;"><span style="font-family: Calibri;"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/8463.Play%20On%20Phone%20Icon.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/8463.Play-On-Phone-Icon.png" border="0" /></span></span></b></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span style="font-size: small;"><span style="font-family: Calibri;">Play on Phone<span style="mso-tab-count: 1;">&nbsp;&nbsp; </span><o:p></o:p></span></span></b></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">What is it and what does it do? </span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">W</span></span><span style="font-size: small;"><span style="font-family: Calibri;">ell it gives the end user the possibility to listen to his Voicemail from any phone, be it a Communicator a PBX Desk phone or even a Mobile Phone. </span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">Unlike the Exchange UM Subscriber Access that pretty much does the same thing when accessed via phone, the Play on Phone feature initiates the call from Outlook or Outlook Web App , rings your phone and plays the specific message you selected.</span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">It is very useful in case you are using a desk phone and don&rsquo;t have a headset on your pc, and maybe don&rsquo;t want to play the message from your Girlfriend or Wife on the PC Speaker for everybody to hear&hellip; so what do you do. </span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">Click the Play on Phone button on the Voicemail you have in your Outlook Inbox and listen to the Voicemail on the Phone.<o:p></o:p></span></span></p>
<div style="border-bottom: windowtext 2.25pt double; text-align: justify; border-left: medium none; padding-bottom: 1pt; padding-left: 0cm; padding-right: 0cm; border-top: medium none; border-right: medium none; padding-top: 0cm; mso-element: para-border-div;">
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">Now for all you Exchange UM Admins out there, setting up Play on Phone is pretty much straight forward but there are a few things to watch out for. Options that if configured wrong might cause some nail biting moments in front of your console.&nbsp;</span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">Here are&nbsp;a few tips and tricks to a plesant Play on Phone experience. <o:p></o:p></span></span></p>
</div>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">There are a few scenarios possible out there using Exchange UM, with OCS/LYNC Integration or with PBX/Gateway integration. The main difference between the two is how UM will route the call, in the first scenario it will pass it on to the OCS/Lync Front End Server who in turn will send it to the Mediation Server and then to the Gateway/PBX and from there to your phone or the second scenario where the call is directly forwarded by Exchange UM to the Gateway/PBX and from there to your phone.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">From Exchange UM Point of view the call is pretty much the same so for our article we will consider the simple scenario; Exchange UM directly connected to a Gateway/PBX<o:p></o:p></span></span></p>
<div style="border-bottom: windowtext 2.25pt double; text-align: justify; border-left: medium none; padding-bottom: 1pt; padding-left: 0cm; padding-right: 0cm; border-top: medium none; border-right: medium none; padding-top: 0cm; mso-element: para-border-div;">
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">Note: The configuration is the same for Exchange UM 2007 and Exchange UM 2010 so no need to worry about that.<o:p></o:p></span></span></p>
</div>
<p class="MsoNormal"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">How Play on Phone Works<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">Ok let&rsquo;s spend a few moments discussing the call flow when making a call via Play on Phone, this will help you when troubleshooting possible issues.<o:p></o:p></span></span></p>
<p class="MsoListParagraphCxSpFirst"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"><span style="font-family: Calibri; font-size: small;">1.</span><span style="font: 7pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-family: Calibri; font-size: small;">When the User clicks the Play on Phone Icon on his Voicemail&nbsp;<img height="25" width="92" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/5037.Play%20On%20Phone%20Icon.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/5037.Play-On-Phone-Icon.png" border="0" /></span><span style="mso-no-proof: yes;"></span><span style="font-size: small;"><span style="font-family: Calibri;"><span style="mso-spacerun: yes;">&nbsp;</span>form Outlook a RPC over HTTPS request is send to the Exchange CAS on the Unified Messaging Virtual Directory. <o:p></o:p></span></span></p>
<p class="MsoListParagraphCxSpMiddle"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"><span style="font-family: Calibri; font-size: small;">2.</span><span style="font: 7pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-size: small;"><span style="font-family: Calibri;">The CAS Server upon receiving the request from the client will query the users profile for the DialPlan assigned to it.&nbsp;The DialPlan is set in the Users Profile under <b style="mso-bidi-font-weight: normal;">msExchUMRecipientDialPlanLink</b>. <o:p></o:p></span></span></p>
<p class="MsoListParagraphCxSpMiddle"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"><span style="font-family: Calibri; font-size: small;">3.</span><span style="font: 7pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-size: small;"><span style="font-family: Calibri;">After getting the DialPlan, the CAS Server need to do a second query to determine on what UM Server this DialPlan is set. It will query the DialPlan Object found in step 1 and look at the Attribute<span style="mso-spacerun: yes;">&nbsp; </span><b style="mso-bidi-font-weight: normal;">msExchUMServerDialPlanBL.</b> <strong>msExchUMServerDialPlanBL</strong> will contain a list of all the UM Servers associated with the Dial Plan.<o:p></o:p></span></span></p>
<p class="MsoListParagraphCxSpMiddle"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"><span style="font-family: Calibri; font-size: small;">4.</span><span style="font: 7pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-size: small;"><span style="font-family: Calibri;">Additionally the CAS Server maintains a Cashed List of the Available UM Servers, the cashed list is updated every 5 minutes and if a UM Server goes offline it will be marked as such.<o:p></o:p></span></span></p>
<p class="MsoListParagraphCxSpMiddle"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"><span style="font-family: Calibri; font-size: small;">5.</span><span style="font: 7pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-size: small;"><span style="font-family: Calibri;">The CAS Server then forwards the request to the UM Server and the UM Server creates the SIP INVITE to the Gateway<span style="mso-spacerun: yes;">&nbsp; </span>=&gt; Your Phone should ring </span><span style="font-family: Wingdings; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-char-type: symbol; mso-symbol-font-family: Wingdings;"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;">J</span></span><o:p></o:p></span></p>
<p class="MsoListParagraphCxSpLast"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;"><b style="mso-bidi-font-weight: normal;">Tip:</b> Make sure you have selected Integrated Windows Authentication under the Unified Messaging Virtual Directory&nbsp;on the CAS Server,&nbsp;otherwise the request might fail or the user might get a authentication pop-up.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;"><b style="mso-bidi-font-weight: normal;">Tip</b>: If you are using Exchange UM 2007 and have only few requests a day for the Play on Phone feature, this might happen in smaller companies; the IIS Application Pool under which Unified Messaging Virtual Directory is running under (MSExchangeUMAppPool) might go into a sort of sleep mode and stop listening to requests. There are two things that you can do here, implement a script to restart the App Pool every 24Hours or you may change the App Pool to MSExchangeServicesAppPool.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">MSExchangeServicesAppPool is used by the EWS Virtual Directory and has more requests so it will never go into sleep.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">Don&rsquo;t need to worry about this in Exchange 2010, the App Pool for Unified Messaging Virtual Directory has been changed.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;"><b style="mso-bidi-font-weight: normal;">Trick: </b>To check to what DialPlan a User is connected to you may use ADSIEDIT to check the user properties, look for an Attribute called <b style="mso-bidi-font-weight: normal;">msExchUMRecipientDialPlanLink.<o:p></o:p></b></span></span></p>
<div style="border-bottom: windowtext 2.25pt double; text-align: justify; border-left: medium none; padding-bottom: 1pt; padding-left: 0cm; padding-right: 0cm; border-top: medium none; border-right: medium none; padding-top: 0cm; mso-element: para-border-div;">
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">You can do the same to check to what UM Server this DialPlan is connected to, look for the DialPlan in ADSIEDIT and under the DialPlan you will have an attribute called <b style="mso-bidi-font-weight: normal;">msExchUMServerDialPlanBL </b>where the UM Servers are listed.</span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;"><o:p></o:p></span></span></p>
</div>
<p class="MsoNormal"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;"><strong>Configuration:<o:p></o:p></strong></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">Now that we got the basic flow down let&rsquo;s see how we make it all happen.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">Well mostly Play on Phone relies on settings and features already present, only a few tweaks are necessary to ensure it actually works. <o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">The Discovery Part is done using the Auto discovery Feature of Outlook that should already be set-up during Exchange Deployment, and the Virtual Directory Part is done when you actually Deploy Exchange UM.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">For more information on Autodiscovery check out my previous post on <b style="mso-bidi-font-weight: normal;">&ldquo;How to Integrate Office Communicator 2007 R2 32bit with Microsoft Outlook 2010 64bit Edition&rdquo;</b> <o:p></o:p></span></span></p>
<p class="MsoNormal"><a href="https://blogs.technet.com/b/roocs/archive/2010/09/23/how-to-integrate-office-communicator-2007-r2-32bit-with-microsoft-outlook-2010-64bit-edition.aspx"><span style="font-family: Calibri; font-size: small;">https://blogs.technet.com/b/roocs/archive/2010/09/23/how-to-integrate-office-communicator-2007-r2-32bit-with-microsoft-outlook-2010-64bit-edition.aspx</span></a><o:p></o:p></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span style="font-family: Calibri;"><span style="font-size: small;"></span></span></b></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span style="font-family: Calibri;"><span style="font-size: small;">Server Side Configuration:<o:p></o:p></span></span></b></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">On the Server Side you need to make sure you have enabled the <b style="mso-bidi-font-weight: normal;">&ldquo;Allow outgoing calls through this UM IP Gateway&rdquo;&nbsp;</b></span></span><span style="mso-no-proof: yes;"></span><span style="font-family: Calibri;"><span style="font-size: small;"><span style="mso-spacerun: yes;">&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/5238.Allow%20Calls.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/5238.Allow-Calls.png" border="0" />&nbsp;</span>on the Gateway object connected to your DialPlan. This will allow callers to make outgoing calls&nbsp;through this object, by default it is not selected and is a very common issue reported by Customers.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">Then on the DialPlan connected to your user make sure you create &ldquo;Dialing Rule Groups&rdquo;, to allow callers to make outbound calls to specific number ranges.</span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;"><img height="418" width="383" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/4555.Dial%20Plan.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/4555.Dial-Plan.png" border="0" /></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">(This example is of our test environment Gateway DialPlan, we are using an Audiocodes MS-114 Gateway, and I chose to let any internal Extension and any E164 Number through)<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;"></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">Also connected to every DialPlan you have at least one Policy, you might chose to use more policies in order to assign specific rights to users, this is the place where you can chose who gets to call an external number from the Play on Phone or just an internal PBX Extension number.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">So go to the UM Mailbox Policy Tab and chose the Policy for the DialPlan you are configuring, by default there will be a Policy Called &ldquo;DialPlanName Default Policy&rdquo; in our case Audiocodes Default Policy.</span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;"></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;"><o:p><img height="401" width="348" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/6087.Policy.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/6087.Policy.png" border="0" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;"><o:p></o:p></span></span><span style="font-family: Calibri;"><span style="font-size: small;"><o:p><img height="461" width="347" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/5344.Policy2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/5344.Policy2.png" border="0" /></o:p></span></span></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"></span><span style="font-family: Calibri;"><span style="font-size: small;"><span style="mso-tab-count: 3;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="mso-no-proof: yes;"></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">On the main page you have more options for different UM Features, chose what you need but if you want Play on Phone make sure you select <b style="mso-bidi-font-weight: normal;">&ldquo;Allow Play on Phone&rdquo;. <o:p></o:p></b></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">On the <b style="mso-bidi-font-weight: normal;">Dialing Restrictions </b>Tab you have the option to select the <b style="mso-bidi-font-weight: normal;">&ldquo;Dialing Rule Groups&rdquo; </b>you previously configured on the DialPlan for this particular Policy, as you can see we have been generous and allowed the users to call any number but if you want to restrict international or national dialing, this is the place to do it.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;"><b style="mso-bidi-font-weight: normal;">Tip: </b>The Dialing Rule Groups are number masks, it is a sort of number normalization if you want, for more information about UM Number Normalization check out Sorin&rsquo;s post <b style="mso-bidi-font-weight: normal;">&ldquo;Number normalization for inbound calls in Lync&rdquo; </b></span></span><a href="https://blogs.technet.com/b/roocs/archive/2010/12/23/number-normalization-for-inbound-calls-in-lync.aspx"><span style="font-family: Calibri; font-size: small;">https://blogs.technet.com/b/roocs/archive/2010/12/23/number-normalization-for-inbound-calls-in-lync.aspx</span></a><span style="font-family: Calibri;"><span style="font-size: small;"> <o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">Well this should be most of the Configuration needed for the Play on Phone option on the Server Side only thing left is to set-up the client.<o:p></o:p></span></span></p>
<p class="MsoNormal"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNormal"><o:p><span style="font-family: Calibri; font-size: small;"></span></o:p></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span style="font-family: Calibri;"><span style="font-size: small;">Client Side Configuration:<o:p></o:p></span></span></b></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">On Outlook, we are using Outlook 2007 for this example but Outlook 2010 is pretty much the same, there is not a whole lot of configuration needed. If you have&nbsp;auto discovery&nbsp;set-up correctly and authentication works then you should see the following:<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">Go to <b style="mso-bidi-font-weight: normal;">Tools</b> and <b style="mso-bidi-font-weight: normal;">Options</b> and go to the <b style="mso-bidi-font-weight: normal;">Voice Mail Tab</b><o:p></o:p></span></span></p>
<p><span style="mso-no-proof: yes;"></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;"><span style="mso-tab-count: 1;"><img height="365" width="488" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/6874.Outlook.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/6874.Outlook.png" border="0" />&nbsp;&nbsp;&nbsp;&nbsp;</span></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;"><span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img height="444" width="294" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/3250.Voicemail.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/3250.Voicemail.png" border="0" />&nbsp;&nbsp;</span><span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="mso-no-proof: yes;"></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;"></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">This is the first time you will see if you configured everything correctly, especially the authentication and discovery part.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;"><b style="mso-bidi-font-weight: normal;">Tip:</b> If you get a message saying, <b style="mso-bidi-font-weight: normal;">&ldquo;Could not Contact your Exchange Unified Messaging Server&rdquo;</b>when clicking the Voice Mail tab then check the Auto discovery and the Authentication on the IIS Server, most likely something is not right.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">If you get the configuration window it means you configured everything correctly and it should work. So in this menu you have your Voicemail Options, Subscriber Access Number and a Play on Phone Number, now this is the default number the User has under his EUM Setting, it is the number you selected when enabling the user for UM. Don&rsquo;t worry about it is populated by default but this does not mean it is the only number you can dial.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;"><b style="mso-bidi-font-weight: normal;">Tip:</b> If you have Office Communications Server 2007 R2 or LYNC 2010 and the User has a SIPURI, the default Play on Phone number will be your SIP URI, ex: </span></span><a href="https://mce_host/controlpanel/blogs/posteditor.aspx/sip:ocsuser@%3cdomain"><span style="font-family: Calibri; color: #0000ff; font-size: small;">sip:ocsuser@&lt;domain</span></a><span style="font-family: Calibri;"><span style="font-size: small;">&gt;<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">So if we have this sorted let&rsquo;s head for the Inbox and check out a Voicemail!<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">NOTE: Call the Number and leave a voicemail, in this way you will have an example to play with </span><span style="font-family: Wingdings; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-char-type: symbol; mso-symbol-font-family: Wingdings;"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;">J</span></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Wingdings; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-char-type: symbol; mso-symbol-font-family: Wingdings;"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;"></span></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Wingdings; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-char-type: symbol; mso-symbol-font-family: Wingdings;"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;"></span></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Wingdings; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-char-type: symbol; mso-symbol-font-family: Wingdings;"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;"></span></span><o:p><img height="471" width="360" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/4111.VoicemailMSG.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/4111.VoicemailMSG.png" border="0" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size: small;"><o:p></o:p></span><span style="font-size: small;"><o:p>&nbsp; <img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/0804.PoPDialogBox.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/0804.PoPDialogBox.png" border="0" /></o:p></span><span style="font-family: Calibri;"><span style="font-size: small;"><span style="mso-tab-count: 4;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;"><span style="mso-tab-count: 4;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="mso-no-proof: yes;"></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">Here is our Voicemail from a PBX User, note that on the top of the Preview we have the button for Play on Phone. If we click this button we get a pop-up asking for a number do Dial, by default your EUM Number is Populated but as you can see you can change it and you also have a drop down menu to select previous dialed numbers.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri;"><span style="font-size: small;">Only thing left is to click Dial, if you get the error saying &ldquo;Could not Contact your Exchange Unified Messaging Server&rdquo; again check the Authentication and Autodiscovery stuff again and make sure that the Number you dialed complies with the Policy set-up in the previous steps. The number you enter has to match a Rule in the <b style="mso-bidi-font-weight: normal;">Dialing Rule Groups </b>assigned to the Policy applied for your user. (This happened to me this morning when preparing for this post, I forgot to assign the <b style="mso-bidi-font-weight: normal;">Dialing Rule Groups</b> to the Policy for my user and could not understand why it was not working ;) )<o:p></o:p></span></span></p>
<div style="border-bottom: windowtext 2.25pt double; text-align: justify; border-left: medium none; padding-bottom: 1pt; padding-left: 0cm; padding-right: 0cm; border-top: medium none; border-right: medium none; padding-top: 0cm; mso-element: para-border-div;">
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">If you are lucky enough and you didn&rsquo;t overlook some small setting or check box somewhere, always happens to me, your phone should ring and you should be able to hear your voicemail </span><span style="font-family: Wingdings; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-char-type: symbol; mso-symbol-font-family: Wingdings;"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;">J</span></span><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<div style="border-bottom: windowtext 2.25pt double; text-align: justify; border-left: medium none; padding-bottom: 1pt; padding-left: 0cm; padding-right: 0cm; border-top: medium none; border-right: medium none; padding-top: 0cm; mso-element: para-border-div;">
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">Well I hope this article helped you deploy Play on Phone or at least helped you out when troubleshooting an issue, I promise to come back next week with some information regarding fault tolerance and resiliency scenarios in Exchange UM but it is Christmas Eve here now and I Santa is waiting&hellip; I am hoping for a brand new Exchange UM this Year </span><span style="font-family: Wingdings; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-char-type: symbol; mso-symbol-font-family: Wingdings;"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;">J</span></span><o:p></o:p></span></p>
<p class="MsoNormal"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
</div>
<p class="MsoNormal"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">Merry Christmas and a Happy New Year from the Microsoft Romania Office Communications Server / LYNC Team (Microsoft Romania GTSC) &ndash; <b style="mso-bidi-font-weight: normal;">Engineer IT your Way</b> &ndash;<o:p></o:p></span></span></p>
<div style="border-bottom: windowtext 2.25pt double; text-align: justify; border-left: medium none; padding-bottom: 1pt; padding-left: 0cm; padding-right: 0cm; border-top: medium none; border-right: medium none; padding-top: 0cm; mso-element: para-border-div;">
<p class="MsoNormal"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
</div>
<p class="MsoNormal"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNormal"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNormal"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>]]></content:encoded>
    </item>
    <item>
      <title>Number normalization for inbound calls in Lync</title>
      <link>https://docs.microsoft.com/archive/blogs/roocs/number-normalization-for-inbound-calls-in-lync</link>
      <pubDate>Thu, 23 Dec 2010 03:33:00 GMT</pubDate>
      <dc:creator><![CDATA[Sorin Duta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/roocs/2010/12/23/number-normalization-for-inbound-calls-in-lync/</guid>
      <description><![CDATA[Let's assume the following scenario: you have installed a Lync server and done the integration with...]]></description>
      <content:encoded><![CDATA[<p>Let's assume the following scenario: you have installed a Lync server and done the integration with Exchange UM. The Lync users have E.164 numbers in the format +403999XXXX, where XXXX is the user's extension. Exchange, however, only uses the extension.</p>
<p>Everything is working well in the Lync-UM integration, as the users are identified by their SIP URI, but you may notice one problem: if you configured an Auto Attendant on the UM server, you cannot use the AA to transfer the calls to Lync users.</p>
<p>The cause here is the following: the AA does not use the SIP URI when forwarding calls, so it will rely on the configured extensions. So, when placing a call, it will send an invite with something like sip:1234;phone-context=dialplan.fqdn. If the Lync server fails to normalize this, then the recipient will not be identified and the call will fail. You can see this in&nbsp;a SIP trace from the front-end server:</p>
<p><span style="font-family: courier new,courier;"><span style="font-size: x-small;"><span style="color: #000000;">TL_INFO(TF_PROTOCOL) [1]24E8.158C::12/21/2010-15:30:10.465.0022e513 (S4,SipMessage.DataLoggingHelper:sipmessage.cs(592))[3347992713]<br />&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;Outgoing SipMessage c=[&lt;SipTlsConnection_430E3F&gt;], 10.0.0.2:51388-&gt;10.0.0.2:5061<br />INVITE sip:1234;phone-context=user-default@contoso.com;user=phone SIP/2.0<br />FROM: &lt;sip:39981235;phone-context=DefaultProfile@contoso.com;user=phone&gt;;epid=64F471FC5A;tag=128a9e7ef1<br />TO: &lt;sip:1234;phone-context=user-default@contoso.com;user=phone&gt;<br />CSEQ:&nbsp;30 INVITE<br />CALL-ID: 3dcad85d-c2d6-4180-b8e9-778301ad47cc<br />MAX-FORWARDS: 70<br />VIA: SIP/2.0/TLS 10.0.0.2:51388;branch=z9hG4bKf457f03e<br />CONTACT: &lt;sip:Lync.contoso.com@contoso.com;gruu;opaque=srvr:MediationServer:hL8UH7kFEVyUszcDmNFDRAAA;grid=4f31f142100548faac82a94f5341fd9b&gt;;isGateway<br />CONTENT-LENGTH: 2676<br />REFERRED-BY: &lt;sip:contoso@contoso.com&gt;;ms-referee-uri="sip:39981235;phone-context=DefaultProfile@contoso.com;user=phone";ms-identity="MIIBJQYJKoZIhvcNAQcCoIIBFjCCARICAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGB8jCB7wIBATBNMD8xEjAQBgoJkiaJk/IsZAEZFgJncjEWMBQGCgmSJomT8ixkARkWBnNpZWJlbjERMA8GA1UEAxMIU2llYmVuQ0ECCh4beXEAAAAAA4UwCQYFKw4DAhoFADANBgkqhkiG9w0BAQEFAASBgC/Fp32BxFF6M7SYMM304neVA2C81mbnFh4toUCM74OcQH3IIoW/DKdoDcmwPk7spwVecw0x1grgtzstSP4bLhnIBVYA4uBca7b3ONkEebPEcaRsDRCJwrfRLjCry02Q4wq+y/qFRwWVOJHBuxPDlSoPkEFhFNg4PZsHeBU7SoLs:Tue, 21 Dec 2010 15:30:07 GMT";ms-identity-info="sip:exum.contoso.com:5065;transport=Tls";ms-identity-alg=rsa-sha1</span></span></span></p>
<p><br /><span style="font-family: courier new,courier;"><span style="font-size: x-small;"><span style="color: #000000;"><span style="font-size: x-small;">TL_INFO(TF_PROTOCOL) [3]24E8.2548::12/21/2010-15:30:10.474.0022f2e0 (S4,SipMessage.DataLoggingHelper:sipmessage.cs(686))[3347992713]<br />&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;Incoming SipMessage c=[&lt;SipTlsConnection_430E3F&gt;], 10.0.0.2:51388&lt;-10.0.0.2:5061<br />SIP/2.0 404 No matching rule has been found in the dial plan for the called number. <br />FROM: &lt;sip:39981235;phone-context=DefaultProfile@contoso.com;user=phone&gt;;epid=64F471FC5A;tag=128a9e7ef1<br />TO: &lt;sip:1234;phone-context=user-default@contoso.com;user=phone&gt;;tag=C1856874B6392E5EFF84353526BD353C<br />CSEQ: 31 INVITE<br />CALL-ID: 3dcad85d-c2d6-4180-b8e9-778301ad47cc<br />VIA: SIP/2.0/TLS 10.0.0.2:51388;branch=z9hG4bKf457f03e;ms-received-port=51388;ms-received-cid=222900<br />CONTENT-LENGTH: 0<br />SERVER: TranslationService/4.0.0.0<br />ms-diagnostics: 14006;reason="Unable to find a potentially matching regex";source="Lync.contoso.com";CalledNumber="1234";ProfileName="DefaultProfile";appName="TranslationService"<br />------------EndOfIncoming SipMessage</span></span></span></span></p>
<p>There are two options to make this scenario work:</p>
<p>1. Normalize numbers on the Exchange server</p>
<p>2. Normalize numbers on the Lync server (this may also be useful if the calls to extensions are made by something other than an Exchange server).</p>
<p>Here's how:</p>
<p>1.&nbsp;For the Exchange normalization:</p>
<p>&nbsp;a) On the Exchange diaplan, open the dialplan properties. Go to the "Dialing Rule Groups" tab, and click Add (use the In-Country/Region Rule Groups, as this is done for local clients).</p>
<p><img height="404" width="324" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/1376.Tab.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/1376.Tab.png" border="0" /></p>
<p>b) Name your rule as you see fit and add the following: Number mask = XXXX (use one X for each digit in the extension - in this example I have 4 digit extensions); Dialed number = &lt;prefix&gt;XXXX (in this example, I used +403999XXXX).</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/6457.Rule.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/6457.Rule.png" border="0" /></p>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/6471.Rule.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/6471.Rule.png" border="0" /></p>
<p>c) Go to the&nbsp;Auto Attendant&nbsp;properties and open the Dialing restrictions tab. Add the previously created rule to&nbsp;the AA (you'll need to do this for all the AAs that dial Lync user extensions).</p>
<p><img height="349" width="340" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/2664.Rule.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/2664.Rule.png" border="0" /></p>
<p>d) This is it. After this, Exchange will use E.164 numbers when forwarding calls. There are two things to note: 1) These rules will be applied to all the numbers dialed by the AA, and 2) they will not apply to the operator extension (the operator extension cannot be set with E.164, so that one will continue to fail).</p>
<p>&nbsp;</p>
<p>2. Setting up normalization for inbound calls in Lync.</p>
<p>When a call comes in to the Lync server, it will try to normalize it using the General dialplan (it will identify it in the logs using the simple name&nbsp;"Default Profile"). In this case, the normalization is as easy as adding normalization rules to the General dialplan: you can do this either using the console (<a target="_blank" href="https://technet.microsoft.com/en-us/library/gg399071.aspx" title="the process">the process </a>is described on Technet, so I'm not going to detail it here) or using the Powershell.</p>
<p>For Powershell, you need to run the following (in the simplest form):</p>
<p>New-CsVoiceNormalizationRule -Identity Global/MyNewRule -Pattern '^(\d{4})$' -Translation '+403999$1'</p>
<p>The pattern&nbsp;in this example&nbsp;takes strict 4-digit extensions and the translation prefixes these extensions with +403999. For a broader description of the normalization rules there is a great&nbsp;<a target="_blank" href="https://theucguy.wordpress.com/2010/09/30/ocs-lync-server-normalization-rules/" title="blog post">blog post</a>&nbsp;from <a target="_blank" href="https://theucguy.wordpress.com/" title="Mino - The UC Guy">Mino - The UC Guy</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Reverse Name Lookup failing between dialplans after migrating to Exchange UM 2010</title>
      <link>https://docs.microsoft.com/archive/blogs/roocs/reverse-name-lookup-failing-between-dialplans-after-migrating-to-exchange-um-2010</link>
      <pubDate>Sat, 30 Oct 2010 10:55:00 GMT</pubDate>
      <dc:creator><![CDATA[Sorin Duta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/roocs/2010/10/30/reverse-name-lookup-failing-between-dialplans-after-migrating-to-exchange-um-2010/</guid>
      <description><![CDATA[Let's imagine the following scenario: You have an Exchange 2007 UM deployment with a couple of...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;"><span style="color: #000000;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">Let's imagine the following scenario: You have an Exchange 2007 UM deployment with a couple of dialplans and just added a 2010 UM server in the domain.</span></span></span></p>
<p><span style="font-size: small;"><span style="color: #000000;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">You create a new dialplan on the new server and migrate a test user both to the new server and the new dialplan. This is a common scenario if you have OCS integration: for PBX integration, you would just add the new server to the existing dialplan and voil&agrave;, it works; for OCS, though, you need to have a new dialplan on the new server. Let's also suppose you are using extensions on your server and that you have disabled the </span></span></span></span></span><a href="https://technet.microsoft.com/en-us/library/dd351203.aspx#namelookup" title="heuristic AD search"><span style="font-size: small;"><span style="color: #3366ff;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">heuristic AD search</span></span></span></span></span></a><span style="font-size: small;"><span style="color: #000000;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"> on the dialplans (<em>AllowHeuristicADCallingLineIdResolution=$False</em>). The server should still identify the callers based on their proxyAddresses or msRTCSIP-Line, right? (https://technet.microsoft.com/en-us/library/dd351203.aspx) Well, yes, but not quite, and this is why:</span></span></span></span></span></p>
<p><span style="font-size: small;"><span style="color: #000000;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">0. If your normalization works or the&nbsp;caller ID&nbsp;is E.164 compliant&nbsp;and if the msRTCSIP-Line attribute is correctly configured, then you're good to go.</span></span></span></span></span></p>
<p><span style="font-size: small;"><span style="color: #000000;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">1. If the caller is from the same dialplan as the callee, then no problem, he/she&nbsp;will be identified immediately: the server searches the AD for users with the attribute proxyAddresses set to "eum:&lt;caller extension&gt;;phone-context=&lt;currentdialplan.domain.com&gt;".</span></span></span></span></span></p>
<p><span style="font-size: small;"><span style="color: #000000;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">2. If the caller is from another dialplan, then the key word in 2010 is "equivalent dial plan" - in Exchange 2010 the property "<span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><em>EquivalentDialplanPhoneContexts</em></span>" is introduced. What this does is simply tell the server to append "phone-context=&lt;dialplan.fqdn&gt;" (with each of the FQDNs specified in this list) to the caller's phone number when searching for the caller in the AD usign the proxyAddresses attribute. The catch here is that setting a single dialplan (e.g. your new Exchange 2010 dialplan) with this setting won't do anything - for the equivalence to work, two equivalent dialplans need to be paired by putting each of them in the other's <span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><em>EquivalentDialplanPhoneContexts </em>list. For the 2007 server, this means upgrading the dialplan (to upgrade a dialplan simply perform a modification on it from an Exchange 2010 console or shell).</span></span></span></span></span></span></p>
<p><span style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="color: #000000;"><span style="font-size: small;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">There are a couple of downsides in upgrading the dialplan, but depending on your environment they may not be a problem:</span></span></span></span></span></span></p>
<p><span style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="color: #000000;">
<p class="MsoListParagraph"><span style="font-size: small;"><span style="color: #000000;"><span style="font-size: small;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Once upgraded, you can no longer edit the object from an Exchange 2007 console/management shell (you can only do it from Exchange 2010).<o:p></o:p></span></span></span></span></span></span></p>
<p class="MsoListParagraph"><span style="color: #000000;"><span style="font-size: small;"><span style="color: #000000;"><span style="font-size: small;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; All calls must be routed to the Exchange 2010 server, which will handle redirection if the user is still on a 2007 server. This should present no problem if the 2007 servers are at least SP2 and the calls comes from the PBX, but it will be a problem (will stop working) if the dialplan&nbsp;accepts calls from&nbsp;an OCS environment.</span></span></span></span></span></span></span></p>
<p><span style="font-size: small;"><span style="color: #000000;"><span style="font-size: small;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">Regarding this last point, the behavior with the OCS dialplans is the following: </span></span></span></span></span></span><a href="https://technet.microsoft.com/en-us/library/bb676409.aspx#deploymentpath" title="when migrating from Exchange 2007 to 2010"><span style="font-size: small;"><span style="color: #3366ff;"><span style="font-size: small;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">when migrating from Exchange 2007 to 2010</span></span></span></span></span></span></a><span style="font-size: small;"><span style="color: #000000;"><span style="font-size: small;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">, you need to have two dialplans - one on the 2007 server and one on the 2010 server, with the calls to the 2007 users sent through the 2007 server and the calls to the 2010 users sent to the 2010 server. This is because the OCS server will not accept the redirection done by Exchange 2010, so upgrading the dialplan and routing the calls to the 2010 server is not an option in this scenario. As a consequence, the 2007 dialplan handling the calls from OCS will need to rely on the other RNL options (msRTCSIP-Line or heuristic search) and not on the proxyAddresses for resolving caller names from the other dialplans.</span></span></span></span></span></span></p>
<p><span style="font-size: small;"><span style="color: #000000;"><span style="font-size: small;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"></span></span></span></span></span></span></p>
<p><span style="font-size: small;"><span style="color: #000000;"><span style="font-size: small;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">Sorin</span></span></span></span></span></span></p>
</span></span></p>]]></content:encoded>
    </item>
    <item>
      <title>How to Integrate Office Communicator 2007 R2 32bit with Microsoft Outlook 2010 64bit Edition</title>
      <link>https://docs.microsoft.com/archive/blogs/roocs/how-to-integrate-office-communicator-2007-r2-32bit-with-microsoft-outlook-2010-64bit-edition</link>
      <pubDate>Thu, 23 Sep 2010 07:17:00 GMT</pubDate>
      <dc:creator><![CDATA[AlexBacanel]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/roocs/2010/09/23/how-to-integrate-office-communicator-2007-r2-32bit-with-microsoft-outlook-2010-64bit-edition/</guid>
      <description><![CDATA[If you find yourself in the situation where you have Microsoft Outlook 2010 64bit Edition Installed...]]></description>
      <content:encoded><![CDATA[<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">If you find yourself in the situation where you have Microsoft Outlook 2010 64bit Edition Installed together with Communicator 2007 R2 you will find that without the proper Exchange Configuration you will not have access to your Outlook Contacts and your Presence in Communicator will not be synchronized with your Calendar or OOF Events.</span></span></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"></span></span></span>&nbsp;</p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"><o:p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/6253.Outlook2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/6253.Outlook2.png" border="0" /></o:p></span></span></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"><o:p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/6038.Outlook.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/6038.Outlook.png" border="0" /></o:p></span></span></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">In a 1:1 installation, meaning Outlook and Communicator both, 32bit, Communicator relies on Outlook to get the Presence and OOF information as well as Local Contacts. It does this by connecting to the mapi.dll, but more on this in a later chapter.</span></span></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"><o:p></o:p></span></span></span>&nbsp;</p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">Here is how to get Presence, OOF and Contact Information synchronized with your 32bit Communicator even if you have Outlook 64bit or no Outlook at all.</span></span></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"><o:p></o:p></span></span></span>&nbsp;</p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"><span style="mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;">Firstly you will need to update Communicator to </span><span style="color: black; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: Tahoma;">3.5.6907.0083 (<a href="https://support.microsoft.com/KB/976135">https://support.microsoft.com/KB/976135</a></span></span></span><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"><span style="color: black; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: Tahoma;">)</span><span style="color: red; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;">, </span><span style="mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;">you need to do this because an automatic mechanism was added to Communicator to enable it to fall-back on a direct Exchange Connection when it is unable to connect to Outlook.</span></span></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"><strong>*Note:</strong> You will still get the Outlook Integration Error but you can ignore it as you should have the functionality, the error message is meant to inform you that you are not connecting via Outlook.</span></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"><span style="mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;">In Communicator CU6 </span><span style="color: black; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: Tahoma;">3.5.6907.0206 (</span></span></span><a href="https://support.microsoft.com/KB/2028888"><span style="mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: Tahoma;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">https://support.microsoft.com/KB/2028888</span></span></a><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"><span style="color: black; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: Tahoma;">)<span style="mso-spacerun: yes;">&nbsp; </span></span><span style="mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;">the behavior was changed and the Error message does not appear anymore if you fall-back to an Exchange Connection.</span></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"><span style="mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"></span></span></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">Well after you have installed Communicator CU4 or CU6 all the work on the Communicator/OCS side is done; now we need to check your exchange CAS Server and the method you use for autodiscover.</span></span></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"><o:p></o:p></span></span></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">The guys in the Exchange Team took a few moments to explain the workings of the autodiscover process&hellip; as it goes we have two options to get the autodiscover XML.<o:p></o:p></span></span></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">Outlook usually employs the SCP method and gets the CAS Server address buy LDAP Query, when you are in your corporate network. When you are outside the organization and a connection to the DC is not possible, Outlook will try to connect using the Exchange Web Services. In order to identify the Web Services it employs several look up methods, here is a KB Article describing the process in detail:<o:p></o:p></span></span></span></p>
<p class="MsoNormal"><a href="https://support.microsoft.com/kb/940881"><span style="mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">https://support.microsoft.com/kb/940881</span></span></a></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">Coming back to our Problem, Communicator will not be able to identify the SCP in AD so it will always employ the second method and it will use Exchange Web Services. So all you need to do to enable Communicator Integration with your Exchange Server is to create a SRV Record pointing to your Exchange CAS Server or create a DNS Host A record [autodiscover.&lt;domain&gt;] pointing to the same CAS Server or HLB.<o:p></o:p></span></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"><span style="mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;">Now we got the discovery method covered, the next step is to create a certificate and assign it to the IIS Server on the CAS. The certificate has to be created by a CA that your Local Client trusts, no SELF-SIGNED Certificates allowed here</span><span style="mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-ascii-font-family: Cambria; mso-hansi-font-family: Cambria; mso-char-type: symbol; mso-symbol-font-family: Wingdings;"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;">J</span></span><span style="mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;">.<o:p></o:p></span></span></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">Request a Certificate from the CA of choice, internally you could potentially get one from your internal CA, but if you are using OWA you will need to assign a Public Certificate for the Servers designated for external connections. <o:p></o:p></span></span></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">The Certificate will typically have a SN with the Server name and some SAN like <b style="mso-bidi-font-weight: normal;">mail.&lt;domain&gt;,</b>apart from the usual SN and SAN, used by Exchange, you will need to add another SAN to this certificate with the fqdn <b style="mso-bidi-font-weight: normal;">autodiscover.&lt;domain&gt;<o:p></o:p></b></span></span></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">Assign this Certificate to your IIS, do an IISRESET if the services are started and you should be up and running.<o:p></o:p></span></span></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">Communicator should at this stage be able to resolve the <b style="mso-bidi-font-weight: normal;">autodiscover.&lt;domain&gt;</b> and get the XML with the EWS URL that is used to get the Availability (AKA Free-Busy) and OOF information as well as Local Contacts stored in your Outlook Profile.<o:p></o:p></span></span></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"><strong>*NOTE:</strong> You will need to set your URL in Exchange to FQDNs that are accessible from any location in and outside your network in order to have overall coverage for your Communicator integration.</span></span></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"></span></span></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"><o:p></o:p></span></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"><span style="mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;">More Information on how to </span><span style="color: black; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial; mso-bidi-font-weight: bold;">How to Configure Exchange Services for the Autodiscover Service can be found under </span></span></span><a href="https://technet.microsoft.com/en-us/library/bb201695(EXCHG.80).aspx"><b><span style="mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">https://technet.microsoft.com/en-us/library/bb201695(EXCHG.80).aspx</span></span></b></a><b><span style="font-family: 'Cambria','serif'; color: black; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial;"><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: 'Cambria','serif'; color: black; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial;"><o:p><span style="font-family: tahoma,arial,helvetica,sans-serif;">&nbsp;</span></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;"><span style="color: black; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial; mso-bidi-font-weight: bold;">Hope you&rsquo;ll have fun using this feature, I know I was very happy when I got it working </span><span style="color: black; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-ascii-font-family: Cambria; mso-fareast-font-family: 'Times New Roman'; mso-hansi-font-family: Cambria; mso-bidi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings; mso-bidi-font-weight: bold;"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;">J</span></span><span style="color: black; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial; mso-bidi-font-weight: bold;">, also feel free to post comments on what subjects you would like us to blog about or thoughts on our blogs.<o:p></o:p></span></span></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; color: black; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial; mso-bidi-font-weight: bold;"><span style="font-size: small;"><span style="font-family: tahoma,arial,helvetica,sans-serif;">Alex B (Microsoft Lync Engineer)<o:p></o:p></span></span></span></p>
<div style="border-bottom: windowtext 1pt solid; border-left: medium none; padding-bottom: 1pt; padding-left: 0cm; padding-right: 0cm; border-top: medium none; border-right: medium none; padding-top: 0cm; mso-element: para-border-div; mso-border-bottom-alt: solid windowtext .75pt;">
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; color: black; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial; mso-bidi-font-weight: bold;"><o:p><span style="font-family: tahoma,arial,helvetica,sans-serif;">&nbsp;</span></o:p></span></p>
</div>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><o:p><span style="font-family: tahoma,arial,helvetica,sans-serif;">&nbsp;</span></o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><o:p><span style="font-family: tahoma,arial,helvetica,sans-serif;">&nbsp;</span></o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;"><o:p><span style="font-family: tahoma,arial,helvetica,sans-serif;">&nbsp;</span></o:p></span></p>]]></content:encoded>
    </item>
    <item>
      <title>Installation of Group Chat doesn't go beyond the database setup screen.</title>
      <link>https://docs.microsoft.com/archive/blogs/roocs/installation-of-group-chat-doesnt-go-beyond-the-database-setup-screen</link>
      <pubDate>Mon, 23 Aug 2010 09:07:00 GMT</pubDate>
      <dc:creator><![CDATA[Sorin Duta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/roocs/2010/08/23/installation-of-group-chat-doesnt-go-beyond-the-database-setup-screen/</guid>
      <description><![CDATA[I thought I'd start with a bit of information about a problem I've seen during the&nbsp;OCS Group...]]></description>
      <content:encoded><![CDATA[<p>I thought I'd start with a bit of information about a problem I've seen during the&nbsp;OCS Group Chat installation. There aren't many problems that I've found, but the ones may appear can give someone a headache, so here goes:</p>
<p>When installing the Group Chat server, it's pretty much Next-Next-Next, except for the SQL database setup... You have to create the database check the database collation, add the service users, etc (detailed steps can be found here: <a href="https://technet.microsoft.com/en-us/library/dd441340(office.13).aspx">https://technet.microsoft.com/en-us/library/dd441340(office.13).aspx</a>).</p>
<p>And then you start the server deployment: choose the components, install the files, all of this goes well usually (unless you're missing some pre-requisites). In the second stage, of the setup, the server configuration starts:&nbsp;enter the SQL server name and instance, click Next and ... nothing happens.</p>
<p>Some generic logs which you can check if the GC installation fails:</p>
<p>If the installation fails before the server configuration screen (before you get asked for the SQL database URL/instance): MgcServer.log</p>
<p>If the installation fails after starting the server configuration: ServerConfigTool.log</p>
<p>In the latter, the messages may or may not be self explanatory. In this case, they are... not. What we see is the following (the part in &lt; &gt; is translated from French, so the English message may be slightly different):</p>
<p>ERROR&nbsp;|20100310-09:48:25.905|&nbsp;1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SctDataAccess.GetSchemaVersion&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | SQL Error while determining DB schema version, compliance=&lt;False&gt;. Exception Microsoft.Rtc.Internal.Chat.Server.ServerCommon.Exceptions.DatabaseException: [121]&nbsp;&lt;Invalid object name&nbsp;'tblVersion'.&nbsp;&gt;<br />&nbsp; <br />ServerConfigTool.exe Error: 0 : ERROR&nbsp;|20100310-09:48:25.909|&nbsp;1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Program.HandleThreadException&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Caught unhandled thread exception:[121] &lt;Invalid object name&nbsp;'tblVersion'.&gt;<br />&nbsp; </p>
<p>Microsoft.Rtc.Internal.Chat.Server.ServerCommon.Exceptions.DatabaseException: [121] &lt;Invalid object name&nbsp;'tblVersion'.&gt;<br />&nbsp; <br />Of course, the object is not there yet, because the database hasn't been populated. However, the log doesn't complain about finding the server, so this is a pointer to the fact that it reaches the server, but can't modify it. Why? The general idea is that there may be something wrong in the commands sent to the server. Check the database collation first (needs to be SQL_Latin1_General_CP1_CI_AS).</p>
<p>In this case, the collation&nbsp;was OK, but one strange thing was that although the log was in English, the error messages were in French. Language compatibility problem? It could make sense, as I've already seen a couple of cases where the user's settings prompted the server to use comma (,) as a decimal separator, whereas in English we (they) use dot (.). You could change the entire server to EN-US, but in this case the solution was the following: the user doing the install, who also has an account on the SQL server, was set on the database as French, causing the misinterpretation of some of the installation/configuration program's commands.&nbsp;We went&nbsp;to this account's properties in SQL management studio and change the default language to US English. The rest of the install went smoothly. :)</p>
<p>&nbsp;To set the user language, go to the SQL Management Studio, on the GC instance. Under Security-&gt;Logins right click the user name and choose "Properties" (this will probably be in your local language, so you'll have to find the equivalent options). Under the General page, you have "Default Language" - set that to English.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/0257.SQLUser.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/0257.SQLUser.png" border="0" /></p>
<p>To check/set the collation, in SQL Management Studio, again in the GC instance, expand Databases, right click the Group Chat database, and choose "Properties". Under the Options page you can change the collation (the collation is also visible under General, if you only want to check it).:</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/84/38/6787.Collation.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-84-38/6787.Collation.png" border="0" /></p>
<p>Sorin</p>]]></content:encoded>
    </item>
  </channel>
</rss>