<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Microsoft UC Made Easy</title>
	<atom:link href="http://blog.ucmadeeasy.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ucmadeeasy.com</link>
	<description>Real world issues and guides for deploying OCS and Lync Server 2010 from a UC Expert</description>
	<lastBuildDate>Fri, 03 Feb 2012 19:02:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Lync Push Notifications: 504 Timeout Error</title>
		<link>http://blog.ucmadeeasy.com/2012/02/03/lync-push-notifications-504-timeout-error/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=lync-push-notifications-504-timeout-error</link>
		<comments>http://blog.ucmadeeasy.com/2012/02/03/lync-push-notifications-504-timeout-error/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 18:58:27 +0000</pubDate>
		<dc:creator>Randy Wintle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[504 (server time-out)]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[lync]]></category>
		<category><![CDATA[lync federation]]></category>
		<category><![CDATA[Lync Mobile]]></category>
		<category><![CDATA[lync mobile push]]></category>
		<category><![CDATA[push notifications]]></category>
		<category><![CDATA[windows mobile]]></category>

		<guid isPermaLink="false">http://blog.ucmadeeasy.com/?p=456</guid>
		<description><![CDATA[I ran into an issue at a customer recently where push notifications for mobility were not working. Upon further investigation, the messages were receiving a 504 timeout with the Push Notification Clearing House (PNCH). &#160; For reference, the push process interacts with the PNCH, and then on to the Apple … <a href="http://blog.ucmadeeasy.com/2012/02/03/lync-push-notifications-504-timeout-error/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
			<content:encoded><![CDATA[<p>I ran into an issue at a customer recently where push notifications for mobility were not working. Upon further investigation, the messages were receiving a 504 timeout with the Push Notification Clearing House (PNCH).</p>
<p>&nbsp;</p>
<p>For reference, the push process interacts with the PNCH, and then on to the Apple or Microsoft Push Services. This happens through Lync Federation, through a Lync Edge Server.</p>
<p><a href="http://blog.ucmadeeasy.com/wp-content/uploads/2012/02/clip_image001.jpg"><img style="display: inline; background-image: none;" title="clip_image001" src="http://blog.ucmadeeasy.com/wp-content/uploads/2012/02/clip_image001_thumb.jpg" alt="clip_image001" width="298" height="177" border="0" /></a></p>
<p>When you are testing push notifications, <a href="http://technet.microsoft.com/en-us/library/hh690043.aspx">Test-CSMCXPushNotification</a> is the cmdlet to use. This will actually attempt to send a push message to the clearing house and report back any errors.</p>
<p>When using this cmdlet, use the following syntax: <strong>Test-CSMCXPushNotification – AcessEdgeFQDN &lt;INTERNAL EDGE POOL&gt;</strong></p>
<p>In my case, the error below was displayed:</p>
<p>PS C:\Users\rwintle&gt; Test-CsMcxPushNotification -AccessEdgeFqdn edgepool.contoso.com</p>
<p>Test-CsMcxPushNotification : <strong>A 504 (Server time-out) response was received from the network and the operation failed. See the exception details for more information.<br />
</strong><br />
At line:1 char:27</p>
<p>+ Test-CsMcxPushNotification &lt;&lt;&lt;&lt;  -AccessEdgeFqdn edgepool.contoso.com<br />
+ CategoryInfo          : OperationStopped: (:) [Test-CsMcxPushNotificatio<br />
n], FailureResponseException<br />
+ FullyQualifiedErrorId : WorkflowNotCompleted,Microsoft.Rtc.Management.Sy<br />
ntheticTransactions.TestMcxPushNotificationCmdlet</p>
<p><strong>After some investigation, Microsoft has confirmed that the Federation SRV record is required for push notifications to work properly.</strong></p>
<p>The PNCH will perform a look up on the SIP Domain for the Federation SRV record (_sipfederationtls._tcp.contoso.com). If this does not succeed, a 504 error will be thrown.</p>
<p>To fix this issue, you must configure that SRV record to point to your access edge server used for outbound Lync Push Federation Requests.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ucmadeeasy.com/2012/02/03/lync-push-notifications-504-timeout-error/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Lync Mobility Calculator (Alpha)</title>
		<link>http://blog.ucmadeeasy.com/2012/01/02/lync-mobility-calculator-alpha-3/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=lync-mobility-calculator-alpha-3</link>
		<comments>http://blog.ucmadeeasy.com/2012/01/02/lync-mobility-calculator-alpha-3/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 16:56:07 +0000</pubDate>
		<dc:creator>Randy Wintle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[calculate memory]]></category>
		<category><![CDATA[capacity planning]]></category>
		<category><![CDATA[lync]]></category>
		<category><![CDATA[Lync Mobile]]></category>
		<category><![CDATA[lync mobile calculator]]></category>
		<category><![CDATA[Lync Mobility]]></category>
		<category><![CDATA[lync server 2010]]></category>

		<guid isPermaLink="false">http://blog.ucmadeeasy.com/?p=413</guid>
		<description><![CDATA[This calculator is alpha at best. I plan on hopefully fine tuning and adding more to this very soon. &#160; What this does to date is calculate the memory you will require for your Lync FE servers to properly scale for Lync Mobility. &#160; It requires you to enter your … <a href="http://blog.ucmadeeasy.com/2012/01/02/lync-mobility-calculator-alpha-3/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
			<content:encoded><![CDATA[<p><iframe src="https://r.office.microsoft.com/r/rlidExcelEmbed?su=4079088199516944633&amp;Fi=SD389BD51B03B1F8F9!907&amp;ak=t%3d0%26s%3d0%26v%3d!AE6JQ6Ifu-Q58H0&amp;kip=1&amp;wdAllowInteractivity=False&amp;AllowTyping=True&amp;Item='Sheet1'!A1%3AB18&amp;wdHideGridlines=True&amp;wdDownloadButton=True" frameborder="0" scrolling="no" width="437" height="390"></iframe></p>
<p>This calculator is alpha at best. I plan on hopefully fine tuning and adding more to this very soon.</p>
<p>&nbsp;</p>
<p>What this does to date is calculate the memory you will require for your Lync FE servers to properly scale for Lync Mobility.</p>
<p>&nbsp;</p>
<p>It requires you to enter your planned user bases (IOS/Windows Phone or Android/Nokia) and will output data based on the Microsoft Planning Formulas.</p>
<p>&nbsp;</p>
<p>I do not take any credit for these formulas, I am simply putting them in a spreadsheet for easy access.</p>
<p>&nbsp;</p>
<p>Let me know your thoughts in the comments, I will continue to update and hopefully make this a valuable tool!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ucmadeeasy.com/2012/01/02/lync-mobility-calculator-alpha-3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Why Lync Mobile Call-Via-Work Makes Sense</title>
		<link>http://blog.ucmadeeasy.com/2011/12/15/why-lync-mobile-call-via-work-makes-sense/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=why-lync-mobile-call-via-work-makes-sense</link>
		<comments>http://blog.ucmadeeasy.com/2011/12/15/why-lync-mobile-call-via-work-makes-sense/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 16:32:41 +0000</pubDate>
		<dc:creator>Randy Wintle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[cisco jabber]]></category>
		<category><![CDATA[cisco vs microsoft]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[lync]]></category>
		<category><![CDATA[Lync Mobile]]></category>
		<category><![CDATA[Lync Mobility]]></category>
		<category><![CDATA[lync server 2010]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[mvp]]></category>
		<category><![CDATA[voice over 3g]]></category>
		<category><![CDATA[voice over 4g]]></category>
		<category><![CDATA[voice over wifi]]></category>
		<category><![CDATA[voip]]></category>
		<category><![CDATA[Windows Phone]]></category>

		<guid isPermaLink="false">https://ucmadeeasy.wordpress.com/?p=308</guid>
		<description><![CDATA[&#160; &#160; Earlier this week, Microsoft released the Lync 2010 Mobile clients for all major platforms. (See more about that here http://lync.microsoft.com/en-us/Product/UserInterfaces/Pages/lync-2010-mobile.aspx) With that release, a lot of people are talking about the lack of Voice over IP calling over 3G of Wifi in the product. Instead, Microsoft implemented a … <a href="http://blog.ucmadeeasy.com/2011/12/15/why-lync-mobile-call-via-work-makes-sense/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Earlier this week, Microsoft released the Lync 2010 Mobile clients for all major platforms. (See more about that here <a href="http://lync.microsoft.com/en-us/Product/UserInterfaces/Pages/lync-2010-mobile.aspx">http://lync.microsoft.com/en-us/Product/UserInterfaces/Pages/lync-2010-mobile.aspx</a>)</p>
<p>With that release, a lot of people are talking about the lack of Voice over IP calling over 3G of Wifi in the product. Instead, Microsoft implemented a solution used for many years, referred to as “Call-Via Work”.</p>
<h3>What is Call-Via-Work?</h3>
<p><strong>Call via work enables enterprises to deploy a consistently reliable enterprise voice solution to all mobile endpoints connecting to the Lync infrastructure. </strong>This functionality essentially bridges calls through the cell phone carrier network, and gives the appearance of a SIP call through your Lync identity.</p>
<p>This solution offers some great benefits:</p>
<ul>
<li>A true “single number” solution, your identity is your work number. You can make or receive calls on this number from <strong>any</strong>device.</li>
<li>Battery friendly. This solution allows for users to actually utilize the tested and proven technology available on cell phones for years, reducing the impact on battery life when compared to a Voice over 3G, 4G or WiFi call.</li>
<li><strong>Lync mobile users can call federated contacts.</strong>The call via work option allows users to make Lync calls to federated partners the same way it does to internal enterprise users, this is great because there is no gap in user capabilities from desktop to mobile.</li>
<li>I’ll say it again, Reliability! End users want a consistent experience, and do not want to be worried about the type of connection they are on when making a business call. Lets keep in mind, Lync is a business platform.</li>
</ul>
<p>In some instances, VOIP makes sense, and lets face it, its kind of a popular technology right now. Everyone wants VOIP, not all end users know why they want it, but its just the new technology to use for most of them. However, it is important to understand that while it is a cool technology, with some potential for cost savings, a true enterprise grade solution cannot provide a reliable experience with VoIP on mobile devices, yet.</p>
<p>The potential savings that would be introduced through a VoIP solution deployed with Lync Mobile would definitely be eaten up by:</p>
<ul>
<li>An overhaul of your Wireless Infrastructure. (If you want to deploy those fancy Cisco WAPs to support mobile VOIP, say good bye to any cost savings introduced by VOIP calling on your mobile)</li>
<li>Help Desk costs are a real problem in enterprise environments, these would definitely increase as users start having a poor experience when in an airport, or in a faux 4G area on an overloaded cell tower that provides limited bandwidth.</li>
<li>Costs for data vs cell minutes. Not many people know, but it isn’t always true that cell phone data is cheaper than cell phone minutes. Specifically when in roaming, and roaming international scenarios.<strong><span style="text-decoration: underline;">In some instances, a roaming international 3G or 4G call could cost as much as 50 times more per minute than a roaming cell call…</span></strong></li>
</ul>
<p><strong>So, to summarize:</strong></p>
<p>Microsoft has done their research, they are not ignoring the fact that enabling mobile endpoints to communicate anywhere through their enterprise environment is important. What they are doing is deploying it properly! I would rather have a working, reliable solution, than have all the features in the world, that work half the time and provide me with a poor experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ucmadeeasy.com/2011/12/15/why-lync-mobile-call-via-work-makes-sense/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>How To: Lync Mobile Diagnostic Logs</title>
		<link>http://blog.ucmadeeasy.com/2011/12/13/how-to-lync-mobile-diagnostic-logs/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-lync-mobile-diagnostic-logs</link>
		<comments>http://blog.ucmadeeasy.com/2011/12/13/how-to-lync-mobile-diagnostic-logs/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 19:39:14 +0000</pubDate>
		<dc:creator>Randy Wintle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Diagnostics]]></category>
		<category><![CDATA[Logging]]></category>
		<category><![CDATA[lync]]></category>
		<category><![CDATA[Lync Mobile]]></category>
		<category><![CDATA[Lync Mobility]]></category>
		<category><![CDATA[Mobility]]></category>
		<category><![CDATA[Windows Phone]]></category>

		<guid isPermaLink="false">https://ucmadeeasy.wordpress.com/?p=302</guid>
		<description><![CDATA[Lync Mobile has the ability to send diagnostic logs from the client to the administrator. However, there is no documentation on what to do with this information if you are the administrator! Sending the Logs On Windows Phone, you first must enable diagnostic logging under the Settings section of the … <a href="http://blog.ucmadeeasy.com/2011/12/13/how-to-lync-mobile-diagnostic-logs/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
			<content:encoded><![CDATA[<p>Lync Mobile has the ability to send diagnostic logs from the client to the administrator. However, there is no documentation on what to do with this information if you are the administrator!</p>
<h3>Sending the Logs</h3>
<p>On Windows Phone, you first must enable diagnostic logging under the Settings section of the application.</p>
<p>In order to send these diagnostic logs, you will need to navigate to the About section of the application.</p>
<p>A button will be there allowing you to send your diagnostic logs. This saves a file to your phone as a JPG (instructions on screen are very clear), and creates an email that you must attach that JPG too.</p>
<p>Now, that is a bit confusing, but at least the application tells you to do all of that pretty clearly.</p>
<h4>Receiving the Logs</h4>
<p>As the administrator, you will receive an email containing the JPG with embedded data, and the relevant device information.</p>
<p><a href="http://blog.ucmadeeasy.com/wp-content/uploads/2011/12/image1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://blog.ucmadeeasy.com/wp-content/uploads/2011/12/image_thumb1.png" width="595" height="336"></a></p>
<p>Through some trial and error, I was able to decide saving this JPG as a .LOG file produces the best results. Opening this in a file editor like Notepad ++ has given me the easiest view of this information.</p>
<p><a href="http://blog.ucmadeeasy.com/wp-content/uploads/2011/12/image11.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://blog.ucmadeeasy.com/wp-content/uploads/2011/12/image_thumb12.png" width="596" height="61"></a></p>
<h3></h3>
<h3>Reading the Logs</h3>
<p>Once you open this file, there will be a big confusing bit of information at the top, as of right now I have no idea what this is for, but just ignore it:</p>
<p><a href="http://blog.ucmadeeasy.com/wp-content/uploads/2011/12/image21.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://blog.ucmadeeasy.com/wp-content/uploads/2011/12/image_thumb2.png" width="593" height="294"></a></p>
<p>After the mess, you will see some text. A lot of this is deep diagnostic information, however you can start to make sense of what is happening. The example shown here is during a sign on+ sending and receiving a single IM.</p>
<p><strong>Discovery:</strong></p>
<p><font size="2">2011-12-13 13:47:31.302-5 : Info : 527118098 : CredentialManager :</font><font size="2"><font> <strong>Got a new user credential from app layer.</strong><br /></font>2011-12-13 13:47:31.304-5 : Info : 527118098 : TrustManager :<font> <strong>Adding unifysquare.com to trusted domain list for Autodiscovery</strong></font><strong>.</strong><br />2011-12-13 13:47:31.309-5 : Info : 527118098 : DiscoverySession : <font><strong>Uri for request IntDisc_https is </strong></font></font><a href="https://lyncdiscoverinternal.unifysquare.com/?sipuri=rwintle@unifysquare.com"><font size="2"><strong>https://lyncdiscoverinternal.unifysquare.com/?sipuri=rwintle@unifysquare.com</strong></font></a><font size="2"><strong>.</strong></font></p>
<p><font size="2">2011-12-13 13:47:31.309-5 : Info : 527118098 : DiscoverySession : <font><strong>Uri for request IntDisc_http is </strong></font></font><a href="http://lyncdiscoverinternal.unifysquare.com/?sipuri=rwintle@unifysquare.com"><font size="2"><strong>http://lyncdiscoverinternal.unifysquare.com/?sipuri=rwintle@unifysquare.com</strong></font></a><font size="2"><font><strong>.</strong><br /></font>2011-12-13 13:47:31.350-5 : Info : 527118098 : LogonSession : <font><strong>SignInState: SigningIn</strong></font></font></p>
<p><font><br />&nbsp;</p>
<p></font>
<p>The highlighted text shows when I try to login, this is showing my SIP Domain as being entered, and then the URLs it will use for internal discover (internal first, then external).</p>
<p><strong>Discovery 2:</strong></p>
<p>Requests to the internal servers will fail, as I am remote:</p>
<p><font size="2">2011-12-13 13:47:31.543-5 : Info : 527118098 : LogonSession : </font><font size="2"><font><strong>New LogonSession internal state = DiscoveringServer<br /></strong></font>2011-12-13 13:47:32.123-5 : Warning : 485963238 : HttpRequestPump : Got a WebException while reading the response for IntDisc_https.<br />2011-12-13 13:47:32.124-5 : Error : 485963238 : HttpRequestPump : Request </font><font size="2"><font><strong>IntDisc_https failed due to an unidentified network error.<br /></strong></font>2011-12-13 13:47:32.124-5 : Error : 485963238 : HttpRequestPump : Calling back IntDisc_https with error ConnectionError [Error, Transport, TransportFramework].<br />2011-12-13 13:47:32.131-5 : Info : 527118098 : ConfigurationResolver : A discover request has failed. Waiting for parallel request result.<br />2011-12-13 13:47:32.135-5 : Warning : 526265910 : HttpRequestPump : Got a WebException while reading the response for IntDisc_http.<br />2011-12-13 13:47:32.135-5 : Error : 526265910 : HttpRequestPump : </font><font size="2"><font><strong>Request IntDisc_http failed due to an unidentified network error.<br /></strong></font>2011-12-13 13:47:32.136-5 : Error : 526265910 : HttpRequestPump : Calling back IntDisc_http with error ConnectionError [Error, Transport, TransportFramework].<br />2011-12-13 13:47:32.149-5 : Info : 527118098 : ConfigurationResolver : <font><strong>Internal autodiscovery requests failed. Trying external.</strong></font></font></p>
<p>Remember, the client tries HTTPS and HTTP, see the above highlighted sections for this example.</p>
<p><strong>Discovery 3:</strong></p>
<p>Next the client will try the external discovery URLs: (some information has been modified)</p>
<p><font size="2">2011-12-13 13:47:32.149-5 : Info : 527118098 : DiscoverySession : <strong><font>Uri for request</font> <font>ExtDisc_https is </font></strong></font><a href="https://lyncdiscover.unifysquare.com/?sipuri=rwintle@unifysquare.com"><font size="2"><strong>https://lyncdiscover.unifysquare.com/?sipuri=rwintle@unifysquare.com</strong></font></a><font size="2"><font><strong>.</strong><br /></font>2011-12-13 13:47:32.149-5 : Info : 527118098 : DiscoverySession :<strong> <font>Uri for request ExtDisc_http is </font></strong></font><a href="http://lyncdiscover.unifysquare.com/?sipuri=rwintle@unifysquare.com"><font size="2"><strong>http://lyncdiscover.unifysquare.com/?sipuri=rwintle@unifysquare.com</strong></font></a><font size="2"><font><strong>.<br /></strong></font>2011-12-13 13:47:32.471-5 : Info : 526265910 : HttpRequestPump : </font><font size="2"><font><strong>Completed request ExtDisc_http.<br /></strong></font>2011-12-13 13:47:32.479-5 : Info : 527118098 : ConfigurationResolver : <font><strong>Redirect to </strong></font></font><a href="https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Autodiscover/AutodiscoverService.svc/root?sipuri=rwintle@unifysquare.com"><font size="2"><strong>https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Autodiscover/AutodiscoverService.svc/root?sipuri=rwintle@unifysquare.com</strong></font></a><font size="2"><strong><font> requires a trust decision.</font><br /></strong>2011-12-13 13:47:32.482-5 : Info : 527118098 : TrustManager : <font><strong>Trust of </strong></font></font><a href="https://ussea-websvc.unifysquare.com/Autodiscover/AutodiscoverService.svc/root?sipuri=rwintle@unifysquare.com"><font size="2"><strong>https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Autodiscover/AutodiscoverService.svc/root?sipuri=rwintle@unifysquare.com</strong></font></a><font size="2"><font><strong> for Autodiscovery is inherited through unifysquare.com.<br /></strong></font>2011-12-13 13:47:32.484-5 : Info : 527118098 : TrustManager : <strong>Redirection to </strong></font><a href="https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Autodiscover/AutodiscoverService.svc/root?sipuri=rwintle@unifysquare.com"><font size="2"><strong>https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Autodiscover/AutodiscoverService.svc/root?sipuri=rwintle@unifysquare.com</strong></font></a><font size="2"><strong> is trusted for Autodiscovery</strong></font></p>
<p><font>In the highlighted sections above, the client attempts to connect to the external URL for lyncdiscover and succeeds. This request then redirects the client to the External Web Services URL, as expected. Because the SIP Domain matches what I entered, it is trusted for AutoDIscovery</font></p>
<h3></h3>
<p><strong>Discovery 4:</strong></p>
<p>Next, the client must discover where to perform web ticket authentication requests:</p>
<p><font size="2">2011-12-13 13:47:32.644-5 : Verbose : 527118098 : HttpRequestPump : <font><strong>Request AuthDisc to </strong></font></font><a href="https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Autodiscover/AutodiscoverService.svc/root/user"><font size="2"><strong>https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Autodiscover/AutodiscoverService.svc/root/user</strong></font></a><font size="2"><font><strong> requires metadata.<br /></strong></font>2011-12-13 13:47:32.645-5 : Verbose : 527118098 : MetadataManager : <font><strong>Got a resolve request for </strong></font></font><a href="https://ussea-websvc.unifysquare.com/Autodiscover/AutodiscoverService.svc/root/user"><font size="2"><strong>https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Autodiscover/AutodiscoverService.svc/root/user</strong></font></a><font size="2"><strong><font>.</font><br /></strong>2011-12-13 13:47:32.765-5 : Warning : 526265910 : HttpRequestPump : </font><font size="2"><font><strong>Got a WebException while reading the response for UnauthGethttps://&lt;EXTWEBSERVICEURL&gt;..unifysquare.com/Autodiscover/AutodiscoverService.svc/root/user.</strong><br /></font>2011-12-13 13:47:32.766-5 : Info : 526265910 : MetadataManager : </font><font size="2"><font><strong>Found web ticket issuer header for unauthenticated get.<br /></strong></font>2011-12-13 13:47:32.766-5 : Error : 526265910 : HttpRequestPump : Parsed error from failed response to UnauthGethttps://&lt;EXTWEBSERVICEURL&gt;..unifysquare.com/Autodiscover/AutodiscoverService.svc/root/user. Status=AcceptErrorResponse [Error, Transport, TransportFramework].<br />2011-12-13 13:47:32.767-5 : Error : 526265910 : HttpRequestPump : Calling back UnauthGethttps://&lt;EXTWEBSERVICEURL&gt;..unifysquare.com/Autodiscover/AutodiscoverService.svc/root/user with error AcceptErrorResponse [Error, Transport, TransportFramework].</font></p>
<p>From what I can tell, the discovery request is sent, and a WebException is expected. This appears to be simply a discovery/connectivity check for the services.</p>
<p>You can see it does find a Web Ticket Issuer Header, at this point it needs to try Web Ticket Authentication.</p>
<p><strong>Discovery 5:</strong></p>
<p>This process below shows the discovery process ending, it returns the web ticket URL and completes discovery.</p>
<p><font size="2">2011-12-13 13:47:32.774-5 : Info : 526265910 : <font><strong>WebTicketManager : Sending a new web ticket request for </strong></font></font><a href="https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Autodiscover/AutodiscoverService.svc/root/user"><font size="2"><strong>https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Autodiscover/AutodiscoverService.svc/root/user</strong></font></a><font size="2"><strong> to issuer </strong></font><a href="https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/WebTicket/WebTicketService.svc"><font size="2"><strong>https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/WebTicket/WebTicketService.svc</strong></font></a><font size="2"><font><strong>.<br /></strong></font>2011-12-13 13:47:32.776-5 : Verbose : 526265910 : HttpRequestPump : Request IssueWT to </font><a href="https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/WebTicket/WebTicketService.svc"><font size="2">https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/WebTicket/WebTicketService.svc</font></a><font size="2"> requires metadata.<br />2011-12-13 13:47:32.780-5 : Verbose : 526265910 : MetadataManager : Got a resolve request for </font><a href="https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/WebTicket/WebTicketService.svc"><font size="2">https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/WebTicket/WebTicketService.svc</font></a><font size="2">.<br />2011-12-13 13:47:32.800-5 : Info : 520886686 : HttpRequestPump : <font><strong>Completed request ExtDisc_https.</strong></font></font></p>
<p><font>First, you see the client is sending a new web ticket request to the web ticket URL. Then you see that the ExtDisc_https process has completed.</font></p>
<p><strong>Discovery 6:</strong></p>
<p>At this point, there is a lot of back and forth about web ticket authentication and negotiation, so I will leave that out. However, the end of the process is important to know:</p>
<p><font size="2">2011-12-13 13:47:33.094-5 : Info : 526265910 : MetadataManager : Resolved metadata for SOAP service </font><a href="https://ussea-websvc.unifysquare.com/WebTicket/WebTicketService.svc"><font size="2">https://&lt;EXTWEBSERVICEURL&gt;..unifysquare.com/WebTicket/WebTicketService.svc</font></a><font size="2">. WT: , WTI: , LI: , F: </font><a href="https://ussea-websvc.unifysquare.com/WebTicket/WebTicketService.svc/Auth"><font size="2">https://&lt;EXTWEBSERVICEURL&gt;..unifysquare.com/WebTicket/WebTicketService.svc/Auth</font></a><br /><font size="2">2011-12-13 13:47:33.101-5 : Info : 526265910 : CredentialManager : </font><font size="2"><font><strong>Asking for user credentials from app layer.<br /></strong></font>2011-12-13 13:47:33.101-5 : Info : 526265910 : HttpRequestPump : </font><font size="2"><font><strong>Completed request MEXhttps://&lt;EXTWEBSERVICEURL&gt;..unifysquare.com/WebTicket/WebTicketService.svc.<br /></strong></font>2011-12-13 13:47:33.113-5 : Info : 527118098 : CredentialManager : </font><font size="2"><strong><font>Got a new user credential from app layer.</font><br /></strong>2011-12-13 13:47:33.342-5 : Info : 520886686 : HttpRequestPump : </font><font size="2"><strong><font>Completed request IssueWT.</font><br /></strong>2011-12-13 13:47:33.490-5 : Info : 485963238 : HttpRequestPump : <font><strong>Completed request AuthDisc.</strong></font></font></p>
<p><font>You see the client resolving the URLs for the web ticket service, and then requesting credentials. The credentials are accepted, and then the processes complete.</font></p>
<p><font>At this point, the client can sign in to the service because they have received a web ticket from the Lync Server.</font></p>
<p><strong>Discovery 7:</strong></p>
<p>This is basically the client summarizing what just happened, the values for the MCX service URLS, where it needs to go, and starting the sign-in process:</p>
<p><font size="2">2011-12-13 13:47:33.515-5 : Verbose : 527118098 : ConfigurationResolver : <font><strong>Value for internal MCX is </strong></font></font><a href="https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Mcx/McxService.svc"><font size="2"><strong>https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Mcx/McxService.svc</strong></font></a><font size="2"><font><strong>.<br /></strong></font>2011-12-13 13:47:33.515-5 : Verbose : 527118098 : ConfigurationResolver : <font><strong>Value for external MCX is </strong></font></font><a href="https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Mcx/McxService.svc"><font size="2"><strong>https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Mcx/McxService.svc</strong></font></a><font size="2"><strong><font>.</font><br /></strong>2011-12-13 13:47:33.515-5 : Verbose : 527118098 : ConfigurationResolver : Value for internal auto-discover is </font><a href="https://&lt;INTWEBSERVICEURL.unifysquare.com/Autodiscover/AutodiscoverService.svc/root"><font size="2">https://&lt;INTWEBSERVICEURL.unifysquare.com/Autodiscover/AutodiscoverService.svc/root</font></a><font size="2">.<br />2011-12-13 13:47:33.515-5 : Verbose : 527118098 : ConfigurationResolver : Value for external auto-discover is </font><a href="https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Autodiscover/AutodiscoverService.svc/root"><font size="2">https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Autodiscover/AutodiscoverService.svc/root</font></a><font size="2">.<br />2011-12-13 13:47:33.517-5 : Info : 527118098 : ConfigurationResolver : <font><strong>Discovery complete for rwintle@unifysquare.com. Internal MCX: </strong></font></font><a href="https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Mcx/McxService.svc"><font size="2"><strong>https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Mcx/McxService.svc</strong></font></a><font size="2"><strong>. External MCX: </strong></font><a href="https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Mcx/McxService.svc"><font size="2"><strong>https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Mcx/McxService.svc</strong></font></a><font size="2"><font><strong>. Is internal? False.<br /></strong></font>2011-12-13 13:47:33.532-5 : Info : 527118098 : InternalExternalSelector : </font><font size="2"><font><strong>Setting mode to EXTERNAL<br /></strong></font>2011-12-13 13:47:33.532-5 : Info : 527118098 : InternalExternalSelector :<strong> </strong></font><font size="2"><font><strong>Configuring Transport to use EXTERNAL URLs<br /></strong></font>2011-12-13 13:47:33.533-5 : Info : 527118098 : LogonSession <strong>: <font>Server discovery complete. Beginning sign-in.</font></strong></font></p>
<p><font>So after all of that, the client has all of the URLs it needs to connects. The client then determines it is an external client, and will connect to external URLs.</font></p>
<p><strong>Sign In Process:</strong></p>
<p>Now that the client is starting to sign in, we will see actual requests to the MCX service, and usage of the web ticket requested before:</p>
<p><font size="2">2011-12-13 13:47:33.537-5 : Info : 527118098 : Mcx14Session : InitSession request: <font><strong>Culture &#8216;en-US&#8217;, UA &#8216;WPLync/4.0.7878.0 (Microsoft Windows CE 7.10.7720; SAMSUNG SGH-i937</strong></font> 2103.11.10.1)&#8217;.<br />2011-12-13 13:47:33.538-5 : Verbose : 527118098 : HttpRequestPump :<font> <strong>Request InitSess to </strong></font></font><a href="https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Mcx/McxService.svc"><font size="2"><strong>https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/Mcx/McxService.svc</strong></font></a><font size="2"><font><strong> requires metadata.<br /></strong></font>2011-12-13 13:47:33.538-5 : Verbose : 527118098 : MetadataManager : Got a resolve request for </font><a href="https://ussea-websvc.unifysquare.com/Mcx/McxService.svc"><font size="2">https://&lt;EXTWEBSERVICEURL&gt;..unifysquare.com/Mcx/McxService.svc</font></a><font size="2">.<br />2011-12-13 13:47:33.538-5 : Verbose : 527118098 : MetadataManager : <font><strong>Using cached metadata for service </strong></font></font><a href="https://ussea-websvc.unifysquare.com/Mcx/McxService.svc"><font size="2"><strong>https://&lt;EXTWEBSERVICEURL&gt;..unifysquare.com/Mcx/McxService.svc</strong></font></a><font size="2"><strong>.<br /></strong>2011-12-13 13:47:33.538-5 : Verbose : 527118098 : WebTicketManager : <font><strong>Got a web ticket request for endpoint </strong></font></font><a href="https://ussea-websvc.unifysquare.com/Mcx/McxService.svc"><font size="2"><strong>https://&lt;EXTWEBSERVICEURL&gt;..unifysquare.com/Mcx/McxService.svc</strong></font></a><font size="2"><strong>. Issuer is </strong></font><a href="https://ussea-websvc.unifysquare.com/WebTicket/WebTicketService.svc"><font size="2"><strong>https://&lt;EXTWEBSERVICEURL&gt;..unifysquare.com/WebTicket/WebTicketService.svc</strong></font></a><font size="2"><font><strong>.<br /></strong></font>2011-12-13 13:47:33.539-5 : Verbose : 527118098 : WebTicketManager :<strong> <font>Using cached web ticket for </font></strong></font><a href="https://ussea-websvc.unifysquare.com/Mcx/McxService.svc"><font size="2"><strong>https://&lt;EXTWEBSERVICEURL&gt;..unifysquare.com/Mcx/McxService.svc</strong></font></a><font size="2"><font><strong>.<br /></strong></font>2011-12-13 13:47:33.539-5 : Info : 527118098 : LogonSession : </font><font size="2"><font><strong>New LogonSession internal state = SigningIn<br /></strong></font>2011-12-13 13:47:34.062-5 : Info : 485963238 : </font><font size="2"><strong><font>Mcx14Session : Session id: f17e4c4f-77b6-2a7d-3072-21992b111614<br />Sip Uri: sip:rwintle@unifysquare.com</font><br /></strong>2011-12-13 13:47:34.062-5 : Info : 485963238 : HttpRequestPump : </font><font size="2"><strong><font>Completed request InitSess</font>.<br /></strong>2011-12-13 13:47:34.075-5 : Info : 527118098 : LogonSession :<font><strong> SignInState: SignedIn</strong></font></font></p>
<p>First, you will see the request being prepared with all information about my phone and software running.</p>
<p>Next, it makes a request to the MCX service with that information.</p>
<p>The service requests a web ticket, the client responds with the cached web ticket from eralier.</p>
<p>A new session is created, there is a Session ID and my associated SIP URI.</p>
<p>Then the sign in process completes, and I am marked as signed in.</p>
<p><strong>Subscribes:</strong></p>
<p>At this point my client immediately starts subscribing to users to show me presence information. Below are some examples:</p>
<p><font size="2">2011-12-13 13:47:34.087-5 : Verbose : 527118098 : </font><font size="2"><strong><font>PresenceSubscriptionManager : Subscribing uris&#8230;</font><br /></strong>2011-12-13 13:47:34.088-5 : Verbose : 527118098 : <font><strong>PresenceSubscriptionManager :&nbsp;&nbsp; (sub) sip:kevinp@unifysquare.com</strong></font></font></p>
<p><font><strong>Push Subscription:</strong></font></p>
<p><font>I don’t know the details of how this works, but at this point my client will register with the push notification service. I will not attempt to explain it all, but it does seem that my client registers with the service with a (very) unique ID.</font></p>
<p><font size="2">011-12-13 13:47:34.110-5 : Info : 527118098 : TransactionManager : Opened a transaction for Mcx request Sub2264 with id 2264.<br />2011-12-13 13:47:34.111-5 : Info : 527118098 : PushNotificationChannel : Desired ==&gt; True<br />2011-12-13 13:47:34.111-5 : Info : 527118098 : PushNotificationChannel : Syncing actual=Closed to desiredOpen=True<br />2011-12-13 13:47:34.111-5 : Info : 527118098 : PushNotificationChannel : Attempting to open channel<br />2011-12-13 13:47:34.230-5 : Info : 527118098 : PushNotificationChannel : Actual ==&gt; Opening<br />2011-12-13 13:47:34.230-5 : Info : 527118098 : PushNotificationChannel : Syncing actual=Opening to desiredOpen=True<br />2011-12-13 13:47:34.230-5 : Info : 527118098 : PushNotificationSynchronizer : Attempting to sync remote=&#8221; to local=&#8221;<br />2011-12-13 13:47:34.233-5 : Info : 527118098 : TransactionManager : Opened a transaction for Mcx request PushUnsub2265 with id 2265.<br />2011-12-13 13:47:34.280-5 : Info : 527118098 : TransactionManager : Opened a transaction for Mcx request Activity2266 with id 2266.<br />2011-12-13 13:47:34.284-5 : Info : 527118098 : LogonSession : New LogonSession internal state = SignedIn<br />2011-12-13 13:47:34.284-5 : Info : 527118098 : LogonSession : Doing UI callback with Ok [Warning, Global, Global]<br />2011-12-13 13:47:34.401-5 : Info : 527118098 : AppLayerHelper : SignIn completed with Ok [Warning, Global, Global]<br />2011-12-13 13:47:34.929-5 : Info : 485963238 : PushNotificationChannel : channelUri ==&gt; &#8216;</font><a href="https://sn1.notify.live.net/unthrottledthirdparty/01.00/AAGxpT9ydENsQrJtJmbd3b1BAgAAAAADbQAAAAQUZm52OjYxNzgzODM2OUI2NkYzN0I'"><font size="2">https://sn1.notify.live.net/unthrottledthirdparty/01.00/AAGxpT9ydENsQrJtJmbd3b1BAgAAAAADbQAAAAQUZm52OjYxNzgzODM2OUI2NkYzN0I&#8217;</font></a><br /><font size="2">2011-12-13 13:47:34.929-5 : Info : 485963238 : PushNotificationChannel : Notification channel URI: </font><a href="https://sn1.notify.live.net/unthrottledthirdparty/01.00/AAGxpT9ydENsQrJtJmbd3b1BAgAAAAADbQAAAAQUZm52OjYxNzgzODM2OUI2NkYzN0I"><font size="2">https://sn1.notify.live.net/unthrottledthirdparty/01.00/AAGxpT9ydENsQrJtJmbd3b1BAgAAAAADbQAAAAQUZm52OjYxNzgzODM2OUI2NkYzN0I</font></a><br /><font size="2">2011-12-13 13:47:34.929-5 : Info : 485963238 : PushNotificationChannel : Actual ==&gt; Open<br />2011-12-13 13:47:34.929-5 : Info : 485963238 : PushNotificationChannel : Syncing actual=Open to desiredOpen=True<br />2011-12-13 13:47:35.639-5 : Info : 485963238 : TransactionManager : Transaction succeeded synchronously for request 2264 (Sub2264).<br />2011-12-13 13:47:35.639-5 : Info : 485963238 : HttpRequestPump : Completed request Sub2264.</font></p>
<p><strong>In Band Settings:</strong></p>
<p>Next, my lync client must receive its in band settings from the server.</p>
<p><font size="2">2011-12-13 13:47:35.663-5 : Info : 526265910 : Mcx14Session : Got an inband settings event.<br />2011-12-13 13:47:35.664-5 : Info : 526265910 : Mcx14Session : Internal search url: </font><a href="https://&lt;INTWEBSERVICEURL&gt;.unifysquare.com/groupexpansion/service.svc"><font size="2">https://&lt;INTWEBSERVICEURL&gt;.unifysquare.com/groupexpansion/service.svc</font></a><font size="2">.<br />2011-12-13 13:47:35.664-5 : Info : 526265910 : Mcx14Session : <font><strong>External search url: </strong></font></font><a href="https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/groupexpansion/service.svc"><font size="2"><strong>https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/groupexpansion/service.svc</strong></font></a><font size="2"><strong><font>.</font><br /></strong>2011-12-13 13:47:35.665-5 : Info : 526265910 : Mcx14Session : Internal photo url: </font><a href="https://&lt;INTWEBSERVICEURL&gt;.unifysquare.com/abs/handler"><font size="2">https://&lt;INTWEBSERVICEURL&gt;.unifysquare.com/abs/handler</font></a><font size="2">.<br />2011-12-13 13:47:35.665-5 : Info : 526265910 : Mcx14Session : <font><strong>External photo url: </strong></font></font><a href="https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/abs/handler"><font size="2"><strong>https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/abs/handler</strong></font></a><font size="2"><strong><font>.</font><br /></strong>2011-12-13 13:47:35.666-5 : Info : 526265910 : Mcx14Session : Internal group expansion url: </font><a href="https://ussea-lyncpool01hlb.unifysquare.com/groupexpansion/service.svc"><font size="2">https://&lt;INTWEBSERVICEURL&gt;.unifysquare.com/groupexpansion/service.svc</font></a><font size="2">.<br />2011-12-13 13:47:35.666-5 : Info : 526265910 : Mcx14Session :<strong> <font>External group expansion url: </font></strong></font><a href="https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/groupexpansion/service.svc"><font size="2"><strong>https://&lt;EXTWEBSERVICEURL&gt;.unifysquare.com/groupexpansion/service.svc</strong></font></a><font size="2"><font><strong>.<br /></strong></font>2011-12-13 13:47:35.692-5 : Info : 526265910 : Mcx14Session : </font><font size="2"><font><strong>Inband photoUsage: AllPhotos. UsePhotos inband setting: True.<br /></strong></font>2011-12-13 13:47:35.693-5 : Info : 526265910 : Mcx14Session : <font><strong>Simulring inband</strong></font> setting is True.<br />2011-12-13 13:47:35.693-5 : Info : 526265910 : Mcx14Session : <font><strong>Call forwarding inband</strong></font> setting is True.<br />2011-12-13 13:47:35.698-5 : Info : 526265910 : Mcx14Session : <font><strong>Delegation inband</strong></font> setting is True.<br />2011-12-13 13:47:35.699-5 : Info : 526265910 : Mcx14Session : <font><strong>Team call inband</strong></font> setting is True.<br />2011-12-13 13:47:35.699-5 : Info : 526265910 : Mcx14Session :<strong> <font>Max photo size inband</font></strong> setting is 30kB.<br />2011-12-13 13:47:35.700-5 : Info : 526265910 : Mcx14Session : </font><font size="2"><font><strong>Inband voice mail url is sip:rwintle@unifysquare.com;opaque=app:voicemail.</strong><br /></font>2011-12-13 13:47:35.700-5 : Info : 526265910 : Mcx14Session : </font><font size="2"><font><strong>Push notifications inband setting is True.<br /></strong></font>==&gt; True<br />2011-12-13 13:47:35.700-5 : Info : 526265910 : Mcx14Session :<font> <strong>Outside voice inband</strong></font> setting is True.<br />2011-12-13 13:47:35.718-5 : Info : 526265910 : Mcx14Session : <font><strong>UC Enabled inband</strong></font> setting is True.<br />2011-12-13 13:47:35.718-5 : Info : 526265910 : Mcx14Session : <font><strong>Inband setting</strong></font> for dial string: 911. Dial mask: 112.<br />2011-12-13 13:47:35.720-5 : Info : 526265910 : Mcx14Session : <strong>Got inband location profile USBellevue.unifysquare.com with 9 rules.</strong></font></p>
<p><font></font>&nbsp;</p>
<p><font>This section essentially downloads all of my in band settings. Not the same list as would be on the Lync 2010 client, but all that pertain to the mobile client. </font></p>
<p><font><strong>Navigation:</strong></font></p>
<p><font>Because this is such a deep diagnostic log, you can even see when you swipe between screens:</font></p>
<p><font size="2">2011-12-13 13:47:38.337-5 : Info : 527118098 : NavigationManager : <font><strong>Navigating to: /UI/Pages/Conversation.xaml?ID=a374aeff-a30a-4c5c-874e-c59872724734</strong></font></font></p>
<p><strong>Contact Groups</strong></p>
<p><strong></strong><font>Next, the application must populate my contact groups, this is consistent with my Lync 2010 desktop client:</font></p>
<p><font size="2">2011-12-13 13:47:41.269-5 : Info : 193134654 : Mcx14Session : Processing full MCX contact list.<br />2011-12-13 13:47:41.270-5 : Info : 193134654 : Mcx14Session : Group 1 (~) of type&nbsp; add to contact list.<br />2011-12-13 13:47:41.305-5 : Info : 193134654 : Mcx14Session : </font><font size="2"><font><strong>Group 2 (Pinned Contacts) of type pinnedGroup add to contact list.<br /></strong></font>2011-12-13 13:47:41.306-5 : Info : 193134654 : Mcx14Session : <font><strong>Group 5 (Unify Square US Team) of type dg add to contact list.</strong></font></font></p>
<p>At this point each group is populated with contacts, and each contact is processed, including all details : Contact Information, photos, out of office notes, personal notes etc.</p>
<p>&nbsp;</p>
<p><strong>Conversation:</strong></p>
<p>This one is a bit harder to follow, but I initiated an IM conversation with Kevin Peters (<a href="http://www.ocsguy.com">www.ocsguy.com</a>) from UnifySquare, there is a setup process, as well as session state information (typing):</p>
<p><strong>This first section is me setting up the conversation for an invite, this is me sending an IM to Kevin:</strong></p>
<p><font size="2">2011-12-13 13:47:44.504-5 : Info : 527118098 : Conversation : Conversation Acy5okwZF8gNekrvgE69WfKPooiAXg== is disconnected. </font><font size="2"><strong><font>Sending invite with message.</font><br /></strong>2011-12-13 13:47:44.514-5 : Info : 527118098 : ConversationParticipant : <font>IMState<strong>: Disconnected==&gt;Connecting for sip:rwintle@unifysquare.com</strong></font><br />2011-12-13 13:47:44.514-5 : Info : 527118098 : TransactionManager : <font><strong>Opened a transaction for Mcx request ConvInvite2271 with id 2271</strong></font></font></p>
<p><strong>Next it appears the conversation is setup between Kevin and I on the server:</strong></p>
<p><font size="2">2011-12-13 13:47:47.529-5 : Info : 527118098 : Mcx14Session : Calling back rid 2271 (ConvInvite2271) with status Ok [Warning, Global, Global].<br />2011-12-13 13:47:47.562-5 : Info : 527118098 : </font><font size="2"><strong><font>Conversation : message = &#8220;grt&#8221;, errorCode = Ok [Warning, Global, Global]</font><br /></strong>2011-12-13 13:47:47.682-5 : Info : 520886686 : Mcx14Session : Got a Full conversation state event for Acy5x7NSo51yZyl3n0GYx+YtC9J5Aw==.<br />2011-12-13 13:47:47.685-5 : Info : 520886686 : Mcx14Session : Got Full session state for conv Acy5x7NSo51yZyl3n0GYx+YtC9J5Aw==. Active: True. ConfUri: . Locked: . Modalities: Text.<br />2011-12-13 13:47:47.687-5 : Info : 520886686 : Mcx14Session : Got a Full roster state for conv Acy5x7NSo51yZyl3n0GYx+YtC9J5Aw==. Conv size: 2. Roster supressed: False.<br />2011-12-13 13:47:47.690-5 : Info : 520886686 : Mcx14Session :</font><font size="2"><strong><font> Got Full participant state for Acy5x7NSo51yZyl3n0GYx+YtC9J5Aw==/sip:rwintle@unifysquare.com. Lobby: . IM: Connected. Voice: Disconnected.</font><br /></strong>2011-12-13 13:47:47.693-5 : Info : 520886686 : Mcx14Session : <font><strong>Got Full participant state for Acy5x7NSo51yZyl3n0GYx+YtC9J5Aw==/sip:kevinp@unifysquare.com. Lobby: . IM: Connected. Voice: Disconnected.</strong></font></font></p>
<p><strong>Next, we both accept the conversation, essentially Kevin has opened the window on his PC Client and is typing a reply:</strong></p>
<blockquote><p><font size="2">2011-12-13 13:47:47.715-5 : Info : 527118098 : Conversation : Updating state for Acy5x7NSo51yZyl3n0GYx+YtC9J5Aw==. Conference Uri: . Active: True. Locked: False.<br />2011-12-13 13:47:47.722-5 : Info : 527118098 : Conversation : Updating IM state for Acy5x7NSo51yZyl3n0GYx+YtC9J5Aw==/</font><font size="2"><font><strong>sip:rwintle@unifysquare.com from Connecting to Connected.<br /></strong></font>2011-12-13 13:47:47.722-5 : Info : 527118098 : ConversationParticipant : IMState: Connecting==&gt;Connected for sip:rwintle@unifysquare.com<br />2011-12-13 13:47:47.723-5 : Info : 527118098 : Conversation : Updating IsInLobby for Acy5x7NSo51yZyl3n0GYx+YtC9J5Aw==/sip:rwintle@unifysquare.com to False.<br />2011-12-13 13:47:47.726-5 : Info : 527118098 : Conversation : Updating source network for Acy5x7NSo51yZyl3n0GYx+YtC9J5Aw==/sip:rwintle@unifysquare.com to Unknown.<br />2011-12-13 13:47:47.726-5 : Info : 527118098 : Conversation : Updating IM state for Acy5x7NSo51yZyl3n0GYx+YtC9J5Aw==/</font><font size="2"><font><strong>sip:kevinp@unifysquare.com from Disconnected to Connected.<br /></strong></font>2011-12-13 13:47:47.726-5 : Info : 527118098 : ConversationParticipant : IMState: Disconnected==&gt;Connected for sip:kevinp@unifysquare.com<br />2011-12-13 13:47:47.732-5 : Info : 527118098 : Conversation : Updating IsInLobby for Acy5x7NSo51yZyl3n0GYx+YtC9J5Aw==/sip:kevinp@unifysquare.com to False.<br />2011-12-13 13:47:47.732-5 : Info : 527118098 : Conversation :</font><font size="2"><strong> <font>Updating source network for Acy5x7NSo51yZyl3n0GYx+YtC9J5Aw==/sip:kevinp@unifysquare.com to SameEnterprise</font>.<br /></strong>2011-12-13 13:47:47.755-5 : Info : 527118098 : Conversation : <font><strong>Sending isTyping = True request to MCX for conversation Acy5x7NSo51yZyl3n0GYx+YtC9J5Aw==.</strong></font></font></p>
</blockquote>
<p>The log shows that Kevin is in my Enterprise, and is Typing (as seen at the end).</p>
<p><strong>Next, Kevin finishes typing and sends his message. The server receives the message, and then my client Receives the message:</strong></p>
<blockquote><p><font size="2">2011-12-13 13:47:51.610-5 : Info : 193134654 : Mcx14Session : </font><font size="2"><font><strong>Got a typing event for conv Acy5x7NSo51yZyl3n0GYx+YtC9J5Aw==.<br /></strong></font>2011-12-13 13:47:51.612-5 : Info : 193134654 : Mcx14Session : </font><font size="2"><strong><font>Got a message from Acy5x7NSo51yZyl3n0GYx+YtC9J5Aw==/sip:kevinp@unifysquare.com.</font><br /></strong>2011-12-13 13:47:51.612-5 : Info : 193134654 : HttpRequestPump : Completed request Mcx14Poll.<br />2011-12-13 13:47:51.620-5 : Info : 527118098 : Mcx14Session : Dispatching async event to app layer.<br />2011-12-13 13:47:51.621-5 : Info : 527118098 :<font> <strong>Conversation : Received IM from Acy5x7NSo51yZyl3n0GYx+YtC9J5Aw==/sip:kevinp@unifysquare.com.</strong></font></font></p>
</blockquote>
<p><font></font>&nbsp;</p>
<p><font>Again, this log is not the easiest to read, but hoped to help some understand (as well as myself) what is going on with transactions on the phone.</font></p>
<p><font></font></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ucmadeeasy.com/2011/12/13/how-to-lync-mobile-diagnostic-logs/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>NYC Lync User Group January Meeting: Mobility</title>
		<link>http://blog.ucmadeeasy.com/2011/11/30/nyc-lync-user-group-january-meeting-mobility/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=nyc-lync-user-group-january-meeting-mobility</link>
		<comments>http://blog.ucmadeeasy.com/2011/11/30/nyc-lync-user-group-january-meeting-mobility/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 21:50:00 +0000</pubDate>
		<dc:creator>Randy Wintle</dc:creator>
				<category><![CDATA[Lync]]></category>
		<category><![CDATA[Unified Communications]]></category>
		<category><![CDATA[lync]]></category>
		<category><![CDATA[new york city]]></category>
		<category><![CDATA[nyc]]></category>
		<category><![CDATA[unified communications]]></category>
		<category><![CDATA[user group]]></category>
		<category><![CDATA[usergroup]]></category>

		<guid isPermaLink="false">https://ucmadeeasy.wordpress.com/?p=293</guid>
		<description><![CDATA[I have decided to start up a User Group in New York for Lync! Our first meeting will be on Lync Mobility. &#160; Check it out! &#160; &#160;New York City User Group &#160; About Us: The NYC Lync User Group is targeted at IT Pros and Developers interested in Microsoft … <a href="http://blog.ucmadeeasy.com/2011/11/30/nyc-lync-user-group-january-meeting-mobility/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
			<content:encoded><![CDATA[<p>I have decided to start up a User Group in New York for Lync! Our first meeting will be on Lync Mobility.</p>
<p>&nbsp;</p>
<p>Check it out!</p>
<p>&nbsp;</p>
<table style="border-bottom:medium none;border-left:medium none;border-collapse:collapse;border-top:medium none;border-right:medium none;" class="MsoTableGrid" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr style="height:31.5pt;">
<td style="border-bottom:windowtext 1pt solid;border-left:medium none;background-color:transparent;border-top:medium none;border-right:medium none;padding:0 5.4pt;" height="42" valign="top" width="638">
<p style="line-height:normal;margin:0;" class="MsoNormal"><b><span><a href="http://blog.ucmadeeasy.com/wp-content/uploads/2011/11/clip_image0024.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;margin:0;" title="clip_image002[4]" border="0" alt="clip_image002[4]" src="http://blog.ucmadeeasy.com/wp-content/uploads/2011/11/clip_image0024_thumb.png" width="102" height="46"></a></span><span><font face="Calibri"><font color="#000000">&nbsp;</font></font></span></b><b><span><font face="Broadway"><font color="#000000">New York City User Group</font></font></span></b><b><span></span></b></p>
</td>
</tr>
<tr>
<td style="border-bottom:medium none;border-left:medium none;background:#a6a6a6;border-top:medium none;border-right:medium none;padding:0 5.4pt;" valign="top" width="638">
<p style="line-height:normal;margin:0;" class="MsoNormal"><em><span><font face="Calibri"><font color="#000000">&nbsp;</font></font></span></em></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><em><span><font face="Calibri"><font color="#000000">About Us: The NYC Lync User Group is targeted at IT Pros and Developers interested in Microsoft Unified Communications. Our goal is to provide the NYC area with a vast amount of valuable information as it relates to all forms of Microsoft Unified Communications. Our meetings will include both Technical and Business information relating to Lync 2010, and other components of the Microsoft UC product suite.</font></font></p>
<p></span></em></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#000000">The NYC Lync User Group will be conducting their first meeting January 19th, 2012! With the introduction of Microsoft Lync Mobile, businesses deploying Lync Mobility Features will need to understand the new architecture requirements, and the new features available to their users. This meeting will focus on Mobility in Lync Server 2010. Microsoft Most Valuable Professional Randy Wintle (</font></font><a href="http://blogs.technet.com/b/nexthop/p/contributors.aspx#RandyWintle"><span><font color="#ff0000" face="Arial">Speaker Bio here</font></span></a><font face="Calibri"><font color="#000000">) will present Lync Mobility including the following:</font></font></p>
<p style="line-height:normal;text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraphCxSpFirst"><font color="#000000"><span><span><font face="Symbol"><font>·</font></font><span style="line-height:normal;"><font face="Times New Roman"><font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span></span></span><font face="Calibri"><font>Lync Mobility Overview</font></font></font></p>
<p style="line-height:normal;text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraphCxSpMiddle"><font color="#000000"><span><span><font face="Symbol"><font>·</font></font><span style="line-height:normal;"><font face="Times New Roman"><font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span></span></span><font face="Calibri"><font>Lync Mobility Platform and Features</font></font></font></p>
<p style="line-height:normal;text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraphCxSpMiddle"><font color="#000000"><span><span><font face="Symbol"><font>·</font></font><span style="line-height:normal;"><font face="Times New Roman"><font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span></span></span><font face="Calibri"><font>Lync Mobility Architecture Overview</font></font></font></p>
<p style="line-height:normal;text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraphCxSpMiddle"><font color="#000000"><span><span><font face="Symbol"><font>·</font></font><span style="line-height:normal;"><font face="Times New Roman"><font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span></span></span><font face="Calibri"><font>Important Lync Mobility Architecture Considerations for organizations</font></font></font></p>
<p style="line-height:normal;text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraphCxSpLast"><font color="#000000"><span><span><font face="Symbol"><font>·</font></font><span style="line-height:normal;"><font face="Times New Roman"><font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span></span></span><font face="Calibri"><font>Live Demo (Windows Phone 7 and IOS)</font></font></font></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#000000">Both Microsoft and Industry Lync Experts will be onsite to deliver this presentation, and help answer any questions related to Lync Server 2010.</font></font></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#000000">For our first meeting,</font></font><font face="Arial"><font color="#272727"><span class="apple-converted-space"><span>&nbsp;</span></span><strong><span>we will be raffling off an Xbox 360 Kinect Bundle</span></strong><span class="apple-converted-space"><span>&nbsp;</span></span></font></font><font face="Calibri"><font color="#000000">in addition to other great Lync prizes!</font></font></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#000000">Food and Drink will be provided free of charge by</font></font><span class="apple-converted-space"><span><font color="#272727" face="Arial">&nbsp;</font></span></span><strong><span><font color="#272727" face="Arial">Plantronics.</font></p>
<p></span></strong></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#000000">Please see our website to register for this event and receive updates on all of our future events:</font></font></p>
<p><a href="http://www.lyncusergroup.com"><b><span><font color="#ff0000" face="Arial">www.lyncusergroup.com</font></span></b></a><span class="MsoHyperlink"><b><span></span></b></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span class="MsoHyperlink"><b><span><span><font color="#ff0000" face="Arial"><u>&nbsp;</u></font></span></span></b></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><a href="http://www.facebook.com/nyclyncug"><b><span><font color="#ff0000" face="Arial">Like us on Facebook!</font></span></b></a><span class="MsoHyperlink"><b><span><font color="#ff0000" face="Arial"><u> </u></font></span></b></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#000000"><b><font>Date:</font></b><font> January 19th, 2012</font></font></font></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#000000"><b><font>Time:</font></b><font> 7PM EST</font></font></font></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><font face="Calibri"><b><font color="#000000">Location:</font></b><font color="#000000"> <br />Microsoft NYC Office <br />1290 Avenue of the Americas, 6th Floor<br />New York, NY 10104<br />Phone: 212-245-2100</font></font></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><font face="Calibri"><font color="#000000">&nbsp;</font></font></p>
</td>
</tr>
<tr>
<td style="background-color:transparent;border-right-style:none;padding:0 5.4pt;" valign="top" width="638">
<p style="line-height:normal;margin:0;" class="MsoNormal"><em><b><span><font face="Calibri"><font color="#000000">Brought to You By:</font></font></span></b></em></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><a href="http://www.plantronics.com/"><i><span><span><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;margin:0;" title="clip_image003[4]" border="0" alt="clip_image003[4]" src="http://blog.ucmadeeasy.com/wp-content/uploads/2011/11/clip_image00341.png" width="180" height="24"></span></span></i></a><a href="http://www.unifysquare.com/"><i><span><span><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;margin:0;" title="clip_image005[4]" border="0" alt="clip_image005[4]" src="http://blog.ucmadeeasy.com/wp-content/uploads/2011/11/clip_image00541.jpg" width="238" height="76"></span></span></i></a><a href="http://www.microsoft.com/"><i><span><span><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="clip_image006[4]" border="0" alt="clip_image006[4]" src="http://blog.ucmadeeasy.com/wp-content/uploads/2011/11/clip_image00641.png" width="174" height="28"></span></span></i></a><em><span></span></em></p>
</td>
</tr>
<tr>
<td style="background-color:transparent;border-right-style:none;padding:0 5.4pt;" valign="top" width="638">
<p style="line-height:normal;margin:0;" class="MsoNormal"><em><span><font face="Calibri"><font color="#000000">&nbsp;</font></font></span></em></p>
</td>
</tr>
</tbody>
</table>
<p>See you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ucmadeeasy.com/2011/11/30/nyc-lync-user-group-january-meeting-mobility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What happens when you’re A/V Edge Is Misconfigured: STUN/TURN</title>
		<link>http://blog.ucmadeeasy.com/2011/09/09/what-happens-when-youre-av-edge-is-misconfigured-stunturn/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=what-happens-when-youre-av-edge-is-misconfigured-stunturn</link>
		<comments>http://blog.ucmadeeasy.com/2011/09/09/what-happens-when-youre-av-edge-is-misconfigured-stunturn/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 15:13:00 +0000</pubDate>
		<dc:creator>Randy Wintle</dc:creator>
				<category><![CDATA[Edge]]></category>
		<category><![CDATA[Enterprise Voice]]></category>
		<category><![CDATA[OCS 2007 R2]]></category>
		<category><![CDATA[Unified Communications]]></category>
		<category><![CDATA[A/V Edge]]></category>
		<category><![CDATA[EDGE]]></category>
		<category><![CDATA[MRAS]]></category>
		<category><![CDATA[STUN]]></category>
		<category><![CDATA[The Username Supplied in the request is not known.]]></category>
		<category><![CDATA[TURN]]></category>

		<guid isPermaLink="false">https://ucmadeeasy.wordpress.com/2011/09/09/what-happens-when-youre-av-edge-is-misconfigured-stunturn/</guid>
		<description><![CDATA[Ran into a very interesting issue recently at a customer. Below is the scenario: &#160; OCS 2007 R2 Two pools, each with an associated edge pool. POOL01 Associated Edge Pool : EDGEPOOL01 Audio/Video Edge Public Interface: AV1.CONTOSO.COM POOL02 Associated Edge Pool: EDGEPOOL02 Audio/Video Edge Public Interface: AV2.CONTOSO.COM First, the issue: … <a href="http://blog.ucmadeeasy.com/2011/09/09/what-happens-when-youre-av-edge-is-misconfigured-stunturn/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
			<content:encoded><![CDATA[<p>Ran into a very interesting issue recently at a customer. Below is the scenario:</p>
<p>&nbsp;</p>
<p><strong>OCS 2007 R2</strong></p>
<p>Two pools, each with an associated edge pool.</p>
<p><strong>POOL01</strong></p>
<p>Associated Edge Pool : EDGEPOOL01</p>
<p>Audio/Video Edge Public Interface: AV1.CONTOSO.COM</p>
<p><strong>POOL02</strong></p>
<p>Associated Edge Pool: EDGEPOOL02</p>
<p>Audio/Video Edge Public Interface: AV2.CONTOSO.COM</p>
<p>First, the issue: External users homed on POOL02 cannot make/receive calls through the Edge.</p>
<p>We took Wireshark/Network Monitor traces from the external client when the client attempted to make an audio call. While reviewing traces of the call flow, the following error was thrown during the attempted allocate request<em>(To see more details on the expected behavior of this process, check out the </em><a href="http://blogs.technet.com/b/drrez/archive/2011/08/16/microsoft-lync-server-2010-resource-kit-external-user-access.aspx"><em>Lync Resource Kit Edge Chapter</em></a><em>):</em></p>
<p><a href="http://ucmadeeasy.files.wordpress.com/2011/09/snaghtml31d4f381.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTML31d4f38" border="0" alt="SNAGHTML31d4f38" src="http://ucmadeeasy.files.wordpress.com/2011/09/snaghtml31d4f38_thumb1.png" width="726" height="190"></a></p>
<p><strong>The Username Supplied in the request is not known.</strong></p>
<p>The user was sending an allocate request with all required information, Username, Nonce, Realm and Message-Integrity however the A/V Edge Service was rejecting the authentication request stating that the username was unknown.</p>
<p>Next, we reviewed the client UCCAPI log <em>(located at %userprofile%tracingCommunicator-uccapi-0.uccapilog)</em>. When reviewing for the initial SIP INVITE from the user, the candidate list is incomplete. External users must also send Reflexive (Home router public IP Address) and Relay (A/V Edge Interface) IP and port combinations that have been allocated for media.</p>
<p>The initial thought was to attempt a connection to the A/V Edge Public Interface on 443. When users initiate calls they must be able to contact the server on 443 TCP and 3478 UDP to allocate ports. A quick telnet test proved that these connections were open. This proved the theory that the user could not allocate ports with the edge, although it could contact the edge on the proper ports.</p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4">m=audio 54614 RTP/AVP 114 111 112 115 116 4 8 0 97 13 118 101</font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4">k=base64:nhaKMJIOaPHKdhfepODlQie2p7zJaebDfnBYNMm9mBFOazb2tP9neS3ujKlU</font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4">a=ice-ufrag:c8rO</font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4">a=ice-pwd:jWSqHXAXIcvK1sC2nrkqCRin</font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span style="background-image:none;background-attachment:scroll;background-repeat:repeat;background-position:0 0;"><font face="Microsoft Sans Serif"><font color="#ff0000">a=candidate:1 1 UDP 2130706431 192.168.1.103 54614 typ host </font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span style="background-image:none;background-attachment:scroll;background-repeat:repeat;background-position:0 0;"><font face="Microsoft Sans Serif"><font color="#ff0000">a=candidate:1 2 UDP 2130705918 192.168.1.103 54604 typ host </font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span style="background-image:none;background-attachment:scroll;background-repeat:repeat;background-position:0 0;"><font face="Microsoft Sans Serif"><font color="#ff0000">a=candidate:4 1 TCP-ACT 1684798463 192.168.1.103 54614 typ srflx raddr 192.168.1.103 rport 54614 </font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><font face="Microsoft Sans Serif"><font color="#ff0000"><span style="background-image:none;background-attachment:scroll;background-repeat:repeat;background-position:0 0;"><font><font>a=candidate:4 2 TCP-ACT 1684797950 192.168.1.103 54614 typ srflx raddr 192.168.1.103 rport 54614</font></font></span><span><font> </font></span></font></font></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4">a=cryptoscale:1 client AES_CM_128_HMAC_SHA1_80 inline:nMf0n5KQE7L+fajVqoWo+DCMzKj7lHLfwskTMOTt|2^31|1:1</font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4">a=crypto:2 AES_CM_128_HMAC_SHA1_80 inline:XykNc+3nFqRWu3l5IJJs/cAFvsUqaL5/ZaVdRhoa|2^31|1:1</font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4">a=maxptime:200</font></font></span></p>
<p style="line-height:13pt;margin:0 0 10pt;" class="MsoNormal"><span style="line-height:10pt;"><font face="Microsoft Sans Serif"><font color="#4682b4">a=rtcp:54604</font></font></span></p>
<p style="line-height:13pt;margin:0 0 10pt;" class="MsoNormal"><span style="line-height:10pt;"><font color="#4682b4" face="Microsoft Sans Serif"></font></span>&nbsp;</p>
<p>The next step was to review the MRAS request during sign on to validate that it was actually receiving valid media relay credentials, and this is where the issue was spotted. To do this, we opened the client UCCAPI log and searched for <strong>MRAS</strong><em>(Detailed Information on this process, and tracking these processes can be found in the </em><a href="http://blogs.technet.com/b/drrez/archive/2011/08/16/microsoft-lync-server-2010-resource-kit-external-user-access.aspx" target="_blank"><em>Lync Resource Kit Edge Chapter</em></a><em>):</em> In the MRAS request the client receives a valid 200 OK From the server, with what would be assumed are valid credentials and server information: </p>
<p>&nbsp;</p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4">&lt;?xml version=&#8221;1.0&#8243;?&gt;</font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><font face="Microsoft Sans Serif"><span><font color="#4682b4"><font>&lt;response xmlns:xsi=&#8221;http://www.w3.org/2001/XMLSchema-instance&#8221; xmlns:xsd=&#8221;http://www.w3.org/2001/XMLSchema&#8221; requestID=&#8221;80980176&#8243; version=&#8221;2.0&#8243; serverVersion=&#8221;2.0&#8243; to=&#8221;sip:EDGEPOOL02.contoso.com@contoso.com;gruu;opaque=srvr:</font></font></span><font><b><span style="background-image:none;background-attachment:scroll;background-repeat:repeat;background-position:0 0;"><font color="#000000">MRAS</font></span></b><span><font color="#4682b4">:k44hfHH-N0O1pJWhN9MnEwAA&#8221; from=&#8221;sip:USER@contoso.com&#8221; reasonPhrase=&#8221;OK&#8221; xmlns=&#8221;http://schemas.microsoft.com/2006/09/sip/</font></span><b><span style="background-image:none;background-attachment:scroll;background-repeat:repeat;background-position:0 0;"><font color="#000000">mras</font></span></b></font><span><font color="#4682b4">p&#8221;&gt;</font></span></font></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4"><span><font>&nbsp; </font></span><font>&lt;credentialsResponse credentialsRequestID=&#8221;80980176&#8243;&gt;</font></font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4"><span><font>&nbsp;&nbsp;&nbsp; </font></span><font>&lt;credentials&gt;</font></font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4"><span><font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span><font>&lt;username&gt;AgAAJN8hM4EBzG7J4jA/qyQcaH0fLODfJIKYVcqXB+AAAAAAJ9quG1tl843+fGcJJb7mI50sneg=&lt;/username&gt;</font></font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4"><span><font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span><font>&lt;password&gt;NkWjWOauEzbKRaQrCNVyf6NXwHU=&lt;/password&gt;</font></font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4"><span><font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span><font>&lt;duration&gt;480&lt;/duration&gt;</font></font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4"><span><font>&nbsp;&nbsp;&nbsp; </font></span><font>&lt;/credentials&gt;</font></font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4"><span><font>&nbsp;&nbsp;&nbsp; </font></span><font>&lt;mediaRelayList&gt;</font></font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4"><span><font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span><font>&lt;mediaRelay&gt;</font></font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4"><span><font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span><font>&lt;location&gt;internet&lt;/location&gt;</font></font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><font face="Microsoft Sans Serif"><span><font color="#4682b4"><span><font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span><font>&lt;hostName&gt;</font></font></span><font><span style="background-image:none;background-attachment:scroll;background-repeat:repeat;background-position:0 0;"><font color="#ff0000">AV.contoso.com</font></span></font><span><font color="#4682b4">&lt;/hostName&gt;</font></span></font></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4"><span><font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span><font>&lt;udpPort&gt;3478&lt;/udpPort&gt;</font></font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4"><span><font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span><font>&lt;tcpPort&gt;443&lt;/tcpPort&gt;</font></font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4"><span><font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span><font>&lt;/mediaRelay&gt;</font></font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4"><span><font>&nbsp;&nbsp;&nbsp; </font></span><font>&lt;/mediaRelayList&gt;</font></font></font></span></p>
<p style="line-height:normal;margin:0;" class="MsoNormal"><span><font face="Microsoft Sans Serif"><font color="#4682b4"><span><font>&nbsp; </font></span><font>&lt;/credentialsResponse&gt;</font></font></font></span></p>
<p style="line-height:13pt;margin:0 0 10pt;" class="MsoNormal"><span style="line-height:10pt;"><font face="Microsoft Sans Serif"><font color="#4682b4">&lt;/response&gt;</font></font></span></p>
<p style="line-height:13pt;margin:0 0 10pt;" class="MsoNormal"><span style="line-height:10pt;"><font color="#4682b4" face="Microsoft Sans Serif"></font></span>&nbsp;</p>
<p>Because the user is associated with <strong>POOL02</strong>, it should have received <strong>AV2.CONTOSO.COM</strong> as its public A/V Edge for Media Relay. However, due to a misconfiguration on the edge pool, the MRAS service was handing back the POOL01 A/V Edge Service. Because of this, the user would connect to that edge pool, but when attempting to allocate ports, the edge server had no idea who that user was.
<p>The fix for this issue was to validate the R2 Edge External Interface configuration, we found that AV.CONTOSO.COM was configured as the public DNS name for POOL02, when it should have been AV2. CONTOSO.COM. As soon as this was updated, the issue was resolved.
<p>Below is a reference diagram to help understand the issue.
<p>&nbsp;
<p style="line-height:13pt;margin:0 0 10pt;" class="MsoNormal"><span style="line-height:10pt;"><font color="#4682b4" face="Microsoft Sans Serif"></font></span>&nbsp;</p>
<p style="line-height:13pt;margin:0 0 10pt;" class="MsoNormal"><span style="line-height:10pt;"><font color="#4682b4" face="Microsoft Sans Serif"><a href="http://ucmadeeasy.files.wordpress.com/2011/09/deloittemediarelayissue1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="DeloitteMediaRelayIssue" border="0" alt="DeloitteMediaRelayIssue" src="http://ucmadeeasy.files.wordpress.com/2011/09/deloittemediarelayissue_thumb1.png" width="585" height="589"></a></font></span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ucmadeeasy.com/2011/09/09/what-happens-when-youre-av-edge-is-misconfigured-stunturn/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cannot login to Lync Control Panel “Unauthorized: Authorization Failed”</title>
		<link>http://blog.ucmadeeasy.com/2011/07/29/cannot-login-to-lync-control-panel-unauthorized-authorization-failed/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cannot-login-to-lync-control-panel-unauthorized-authorization-failed</link>
		<comments>http://blog.ucmadeeasy.com/2011/07/29/cannot-login-to-lync-control-panel-unauthorized-authorization-failed/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 15:53:22 +0000</pubDate>
		<dc:creator>Randy Wintle</dc:creator>
				<category><![CDATA[Lync]]></category>
		<category><![CDATA[Lync Server 2010]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Unified Communications]]></category>
		<category><![CDATA[lync]]></category>
		<category><![CDATA[lync server 2010]]></category>
		<category><![CDATA[OCS]]></category>
		<category><![CDATA[unified communications]]></category>

		<guid isPermaLink="false">https://ucmadeeasy.wordpress.com/2011/07/29/cannot-login-to-lync-control-panel-unauthorized-authorization-failed/</guid>
		<description><![CDATA[When accessing the Lync Control Panel you may receive this error: &#160; One possible resolution to this issue is to make sure that your CSCP URL is in your Trusted Sites List. If you have already done this and are still receiving this error, head to the Lync Event Logs … <a href="http://blog.ucmadeeasy.com/2011/07/29/cannot-login-to-lync-control-panel-unauthorized-authorization-failed/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
			<content:encoded><![CDATA[<p>When accessing the Lync Control Panel you may receive this error:</p>
<p>&#160;</p>
<p><a href="http://ucmadeeasy.files.wordpress.com/2011/07/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://ucmadeeasy.files.wordpress.com/2011/07/image_thumb.png" width="396" height="166" /></a></p>
<p>One possible resolution to this issue is to make sure that your CSCP URL is in your Trusted Sites List. If you have already done this and are still receiving this error, head to the Lync Event Logs on your Lync Front End.</p>
<p>In my case there were a string of LS Remote PowerShell errors each time I attempted connecting to the Lync Control Panel.</p>
<p>The first error from the event logs that I saw was this:</p>
<p>&#160;</p>
<blockquote><p>Log Name: Lync Server</p>
<p>Source: LS Remote PowerShell</p>
<p>Date: 7/29/2011 7:22:46 AM</p>
<p>Event ID: 35007</p>
<p>Task Category: (3500)</p>
<p>Level: Warning</p>
<p>Keywords: Classic</p>
<p>User: N/A</p>
<p>Computer: LYNCSE1.contoso.local</p>
<p>Description:</p>
<p>Remote PowerShell cannot create InitialSessionState.</p>
<p>Remote PowerShell cannot create InitialSessionState for user: S-1-5-21-1369671878-2169378501-2720954840-500. Cause of failure: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 &#8211; Error Locating Server/Instance Specified)</p>
<p>Cause: Remote PowerShell can fail to create InitialSessionState for varied number of reasons. Please look for other events that can give some specific information.</p>
<p>Resolution:</p>
<p>Follow the resolution on the corresponding failure events.</p>
</blockquote>
<p>This error shows that it could not connect to the SQL Server due to a network error.</p>
<p>&#160;</p>
<blockquote><p>Log Name: Lync Server</p>
<p>Source: LS Remote PowerShell</p>
<p>Date: 7/29/2011 7:18:51 AM</p>
<p>Event ID: 35005</p>
<p>Task Category: (3500)</p>
<p>Level: Error</p>
<p>Keywords: Classic</p>
<p>User: N/A</p>
<p>Computer: LYNCSE1.contoso.local</p>
<p>Description:</p>
<p>Remote PowerShell cannot read the RBAC Roles information from the store.</p>
<p>Remote PowerShell encountered problem when trying to read the RBAC Roles information for the user. Cause of failure: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 &#8211; Error Locating Server/Instance Specified)</p>
<p>Cause: The failure may have happened due to some permissions issue in reading the management store.</p>
<p>Resolution:</p>
<p>Make sure that the server is domain joined machine and able to query the active directory.</p>
</blockquote>
<p>This error shows that there were issues retrieving my RBAC information from the CMS.</p>
<p>The resolution for this issue ended up being to start the SQL Browser Service on the Lync Front End.</p>
<p>This service provides connecting users with the ability to discover proper connection information when attempting to make a SQL Connection.</p>
<p>After starting this service, logins to the Lync Control Panel worked again.</p>
<p><a href="http://ucmadeeasy.files.wordpress.com/2011/07/image1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://ucmadeeasy.files.wordpress.com/2011/07/image_thumb1.png" width="420" height="110" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ucmadeeasy.com/2011/07/29/cannot-login-to-lync-control-panel-unauthorized-authorization-failed/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Lync RBAC with Child Domains Bug- Fixed in CU2</title>
		<link>http://blog.ucmadeeasy.com/2011/05/12/lync-rbac-with-child-domains-bug-fixed-in-cu2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=lync-rbac-with-child-domains-bug-fixed-in-cu2</link>
		<comments>http://blog.ucmadeeasy.com/2011/05/12/lync-rbac-with-child-domains-bug-fixed-in-cu2/#comments</comments>
		<pubDate>Thu, 12 May 2011 15:09:00 +0000</pubDate>
		<dc:creator>Randy Wintle</dc:creator>
				<category><![CDATA[Lync]]></category>
		<category><![CDATA[Lync Server 2010]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[RBAC]]></category>
		<category><![CDATA[Unified Communications]]></category>
		<category><![CDATA[lync]]></category>
		<category><![CDATA[lync server 2010]]></category>
		<category><![CDATA[OCS]]></category>
		<category><![CDATA[unified communications]]></category>

		<guid isPermaLink="false">https://ucmadeeasy.wordpress.com/2011/05/12/lync-rbac-with-child-domains-bug-fixed-in-cu2/</guid>
		<description><![CDATA[Prior to Lync Server CU2, if you attempted to create a custom Administrator Role to a child domain, with a user scope set to that child domain it would not work. Example Provided Below: Contoso.com: Empty root domain Site 1:Child1.contoso.com 1x Std Edition Front End w/ CMS Site2: child2.contoso.com 1x … <a href="http://blog.ucmadeeasy.com/2011/05/12/lync-rbac-with-child-domains-bug-fixed-in-cu2/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
			<content:encoded><![CDATA[<p>Prior to Lync Server CU2, if you attempted to create a custom Administrator Role to a child domain, with a user scope set to that child domain it would not work. Example Provided Below:</p>
<p>Contoso.com: Empty root domain</p>
<p><strong>Site 1:Child1.contoso.com</strong></p>
<p>1x Std Edition Front End w/ CMS</p>
<p><strong>Site2: child2.contoso.com</strong></p>
<p>1x Std Edition Front End</p>
<p>Lets say we wanted to create a custom admin role that gave an administrator in the CHILD2 domain to manage his users specifically in the CHILD2 domain. Assume In this scenario you would be logged into the CHILD1 domain with full admin permission on all domains, and CSAdministrator.</p>
<p>The cmdlet would look like this:</p>
<blockquote><p><strong>New-CSAdminRole –Idenetity Child2CSUserAdministrator –UserScopes “OU:ou=Users,dc=child2,dc=contoso,dc=com” –Template CSUserAdministrator</strong></p>
</blockquote>
<p>Before Applying CU2 you would receive the following error:</p>
<blockquote><p><font color="#ff0000">Set-CSAdminRole : Organization unity (OU) or container “ou=Users,dc=child2,dc=contoso,dc=com” does not exist. Specify a valid OU or container, and then try again.</font></p>
</blockquote>
<p>Once you apply CU2 this error would go away and you would successfully be able to create the custom Admin Role.</p>
<p>Another similar issue with creating or modifying admin roles to have a use OU scope, is that they are Case Sensitive! The OU must be in the exact case as is seen in Active Directory. See the screenshot below for an example, in my lab, when trying to set an admin role with “users” instead of “Users” it fails, switching to “Users” succeeds.</p>
<p><a href="http://ucmadeeasy.files.wordpress.com/2011/05/clip_image002.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="clip_image002" border="0" alt="clip_image002" src="http://ucmadeeasy.files.wordpress.com/2011/05/clip_image002_thumb.jpg" width="630" height="399" /></a></p>
<p>Hope this helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ucmadeeasy.com/2011/05/12/lync-rbac-with-child-domains-bug-fixed-in-cu2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Deploying DSCP QoS On Server 2003 R2 and Server 2008 R2</title>
		<link>http://blog.ucmadeeasy.com/2011/05/11/deploying-dscp-qos-on-server-2003-r2-and-server-2008-r2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=deploying-dscp-qos-on-server-2003-r2-and-server-2008-r2</link>
		<comments>http://blog.ucmadeeasy.com/2011/05/11/deploying-dscp-qos-on-server-2003-r2-and-server-2008-r2/#comments</comments>
		<pubDate>Wed, 11 May 2011 16:38:00 +0000</pubDate>
		<dc:creator>Randy Wintle</dc:creator>
				<category><![CDATA[Lync]]></category>
		<category><![CDATA[Lync Server 2010]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[OCS 2007 R2]]></category>
		<category><![CDATA[Unified Communications]]></category>
		<category><![CDATA[lync]]></category>
		<category><![CDATA[lync server 2010]]></category>
		<category><![CDATA[OCS]]></category>
		<category><![CDATA[unified communications]]></category>

		<guid isPermaLink="false">https://ucmadeeasy.wordpress.com/2011/05/11/deploying-dscp-qos-on-server-2003-r2-and-server-2008-r2/</guid>
		<description><![CDATA[This is a brief post to summarize my experiences with deploying quality of service in a recent deployment. In this engagement, the customer had existing OCS 2007 R2 infrastructure, these were running Server 2003 R2 with the latest service pack, and were running on HP hardware with Teamed NICS for … <a href="http://blog.ucmadeeasy.com/2011/05/11/deploying-dscp-qos-on-server-2003-r2-and-server-2008-r2/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
			<content:encoded><![CDATA[<p>This is a brief post to summarize my experiences with deploying quality of service in a recent deployment.</p>
<p>In this engagement, the customer had existing OCS 2007 R2 infrastructure, these were running Server 2003 R2 with the latest service pack, and were running on HP hardware with Teamed NICS for redundancy, not load balancing.</p>
<p>When attempting to deploy packet tagging on the servers using the QoS Packet Scheduler and related policies, packets would not tag at all. When breaking the NIC Team packets would tag, and on any servers without a teamed NIC the same policies worked fine. This was identified as a known issue with 2003 R2 and Teamed NICS.</p>
<p><strong>The good news, is that while we are upgrading to Lync Server 2010 their new servers are running Server 2008 R2 and on similar hardware with Teamed NICS. As of today we have tested QoS deployed using the packet scheduler and related policies and it does work with the Team. </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ucmadeeasy.com/2011/05/11/deploying-dscp-qos-on-server-2003-r2-and-server-2008-r2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deploying a Lync SBA? Watch out for port 444 (Updated with more ports)</title>
		<link>http://blog.ucmadeeasy.com/2011/04/26/deploying-a-lync-sba-watch-out-for-port-444/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=deploying-a-lync-sba-watch-out-for-port-444</link>
		<comments>http://blog.ucmadeeasy.com/2011/04/26/deploying-a-lync-sba-watch-out-for-port-444/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 14:04:00 +0000</pubDate>
		<dc:creator>Randy Wintle</dc:creator>
				<category><![CDATA[Lync]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Unified Communications]]></category>
		<category><![CDATA[lync]]></category>
		<category><![CDATA[lync server 2010]]></category>
		<category><![CDATA[OCS]]></category>
		<category><![CDATA[unified communications]]></category>

		<guid isPermaLink="false">https://ucmadeeasy.wordpress.com/2011/04/26/deploying-a-lync-sba-watch-out-for-port-444/</guid>
		<description><![CDATA[As Lync deployments start ramping up, we are starting to notice a few gotchas in documentation and deployments. One thing that has come up a couple of times is deploying a Lync SBA in a branch site with a firewall between the Datacenter and branch office. The firewall ports required … <a href="http://blog.ucmadeeasy.com/2011/04/26/deploying-a-lync-sba-watch-out-for-port-444/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
			<content:encoded><![CDATA[<p>As Lync deployments start ramping up, we are starting to notice a few gotchas in documentation and deployments. One thing that has come up a couple of times is deploying a Lync SBA in a branch site with a firewall between the Datacenter and branch office.</p>
<p>The firewall ports required for the SBA are not well documented, particularly one that is very important to making the SBA Work.</p>
<p>Port 444 TCP is required for front end to SBA communications, below is the only documentation I have found on it so far in the CHM.</p>
<table style="line-height:normal;background-color:#cccccc;border-style:none;" border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td style="border-style:none;padding:0;">
<p style="padding-bottom:0;"><font face="Times New Roman"><font color="#000000">Front End Servers </font></font></p>
</td>
<td style="border-style:none;padding:0;">
<p style="padding-bottom:0;"><font face="Times New Roman"><font color="#000000">Front-End service</font></font></p>
</td>
<td style="border-style:none;padding:0;">
<p style="padding-bottom:0;"><font face="Times New Roman"><font color="#000000">444</font></font></p>
</td>
<td style="border-style:none;padding:0;">
<p style="padding-bottom:0;"><font face="Times New Roman"><font color="#000000">HTTPS</font></font></p>
<p style="padding-bottom:0;"><font face="Times New Roman"><font color="#000000">TCP</font></font></p>
</td>
<td style="border-style:none;padding:0;">
<p style="padding-bottom:0;"><font face="Times New Roman"><font color="#000000">Used for HTTPS communication between the Focus (the Lync Server component that manages conference state) and the individual servers.</font></font></p>
<p style="padding-bottom:0;"><font face="Times New Roman"><font color="#000000">This port is also used for TCP communication between Front End Servers and Survivable Branch Appliances.</font></font></p>
</td>
</tr>
</tbody>
</table>
<p>&#160;</p>
<p>I reviewed the Lync 2010 Workloads Poster and it is not showing this port as well. However, I have requested an update which we will hopefully see soon.</p>
<p>So, very important, open port 444 TCP between your Data Center and your Branch Office or users will not be able to register against the SBA. Reference of the ports can be seen below.</p>
<p>&#160;</p>
<p><a href="http://ucmadeeasy.files.wordpress.com/2011/04/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;margin-right:auto;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://ucmadeeasy.files.wordpress.com/2011/04/image_thumb.png" width="479" height="351" /></a></p>
<p><strong>As a follow up, one of my colleagues pulled together the full list of firewall requirements for branch users. As many enterprises have firewalls between branch and central sites, this list becomes very important. Look for a workloads poster focused on firewalls from Microsoft soon, but hopefully this comes by then. Credit for this list goes to Peter Pawlak at UnifySquare:</strong></p>
<p><strong></strong></p>
<p><u>SBA (ASM side) &lt;-&gt; Central Site Pool(s):</u></p>
<p>· TCP/5061 (both ways)</p>
<p>· TCP/444 (both ways)</p>
<p>· <font color="#ff0000">TCP/445</font></p>
<p><font color="#ff0000">· TCP/448</font></p>
<p><font color="#ff0000">· TCP/5062-5065</font></p>
<p><font color="#ff0000">· TCP/5072-5073</font></p>
<p><font color="#ff0000">· TCP/5076</font></p>
<p><font color="#ff0000">· TCP/5080</font></p>
<p>(NOTE: I’m not 100% positive that ports in <font color="#ff0000">RED</font> are really needed)</p>
<p><u>SBA -&gt; Monitoring Server(s) (to support MSMQ)</u></p>
<p>· TCP/135</p>
<p>· TCP/389</p>
<p>· TCP/1801</p>
<p>· TCP/2101</p>
<p>· TCP/2103</p>
<p>· TCP/2105</p>
<p><u>SBA (ASM side) &lt;-&gt; Exchange UM servers</u></p>
<p>· TCP/5061</p>
<p>· UDP/&lt;ExUM media port range&gt;</p>
<p><u>SBA (ASM side) &lt;-&gt; Edge Server(s):</u></p>
<p>· TCP/5061</p>
<p>· TCP/5062</p>
<p><u>CMS servers -&gt; SBA (ASM side) (for local config store replication)</u></p>
<p>· TCP/4443</p>
<p>· TCP/444</p>
<p>· TCP/445</p>
<p><u>Branch Clients -&gt; SBA (ASM side)</u>:</p>
<p>· TCP/5061 (client-&gt;SBA)</p>
<p>· TCP</p>
<p>· UDP/&lt;media port range&gt; (assumes no media bypass)</p>
<p><u>Branch Clients &lt;-&gt; SBA (GW side)</u>:</p>
<p>· UDP/&lt;media port range&gt; (assumes media bypass will be used)</p>
<p><u>Branch Clients -&gt; Central site Pool (must be pool in site associated with Branch site)</u></p>
<p>· TCP/8057 (and TCP/8058 if using Lync’s legacy data conf service)</p>
<p>· TCP/5061 (to allow failover to backup central site)</p>
<p>· TCP/&lt;app share conf MCU port range&gt;</p>
<p>· UDP/&lt;A/V conf MCU port range&gt;</p>
<p><u>Branch Clients -&gt; Central site Pool Web service HLB VIP (pool in site associated with Branch site)</u></p>
<p>· TCP/443</p>
<p>· TCP/80 (needed by Lync PE devices)</p>
<p><u>Branch clients &lt;-&gt; Clients &amp; Mediation servers/services in other sites</u></p>
<p>· UDP/ &lt;media port range&gt;</p>
<p>· TCP/&lt;media port range&gt;</p>
<p><u>Branch clients &lt;-&gt; Edge servers (running media relay)</u></p>
<p>· UDP/3478</p>
<p>· UDP/ &lt;media port range&gt;</p>
<p>· TCP/443</p>
<p>· TCP/&lt;media port range&gt;</p>
<p><u>Branch clients -&gt; Exchange UM servers</u></p>
<p>· UDP/&lt;ExUM media port range&gt;</p>
<p><u>Branch clients -&gt; Exchange CAS servers (for EWS)</u></p>
<p>· TCP/443 </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ucmadeeasy.com/2011/04/26/deploying-a-lync-sba-watch-out-for-port-444/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Object Caching 906/1013 objects using disk: basic

Served from: blog.ucmadeeasy.com @ 2012-02-24 02:02:00 -->
