<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Inside Lync</title>
	
	<link>http://blog.insidelync.com</link>
	<description>Tips, Tricks, and Insight for Microsoft Lync</description>
	<lastBuildDate>Wed, 15 May 2013 14:48:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/InsideLync" /><feedburner:info uri="insidelync" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>5 Tips for Installing the Lync 2013 Monitoring Reports</title>
		<link>http://feedproxy.google.com/~r/InsideLync/~3/D3IdN_Q5Thc/</link>
		<comments>http://blog.insidelync.com/2013/05/5-tips-for-installing-the-lync-2013-monitoring-reports/#comments</comments>
		<pubDate>Wed, 15 May 2013 14:48:59 +0000</pubDate>
		<dc:creator>Curtis Johnstone</dc:creator>
				<category><![CDATA[Management]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Lync 2013 Monitoring]]></category>
		<category><![CDATA[microsoft lync 2013 call leg report]]></category>
		<category><![CDATA[microsoft lync 2013 call quality]]></category>
		<category><![CDATA[Microsoft Lync 2013 Reporting Reports]]></category>
		<category><![CDATA[Microsoft Lync 2013 SQL reporting services reports]]></category>

		<guid isPermaLink="false">http://blog.insidelync.com/2013/05/5-tips-for-installing-the-lync-2013-monitoring-reports/</guid>
		<description><![CDATA[Tweet<p>The Microsoft documentation for Lync Server 2013 has improved considerably from previous releases. Having recently walked through a couple of installations of the native Lync Monitoring reports, the process is documented much better than in the Office Communication Server days! The documentation related to installing the prerequisite SQL Server Reporting Services (SSRS) for example <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.insidelync.com/2013/05/5-tips-for-installing-the-lync-2013-monitoring-reports/">5 Tips for Installing the Lync 2013 Monitoring Reports</a></span>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton717" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.insidelync.com%2F2013%2F05%2F5-tips-for-installing-the-lync-2013-monitoring-reports%2F&amp;text=5%20Tips%20for%20Installing%20the%20Lync%202013%20Monitoring%20Reports&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fblog.insidelync.com%2F2013%2F05%2F5-tips-for-installing-the-lync-2013-monitoring-reports%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.insidelync.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>The Microsoft documentation for Lync Server 2013 has improved considerably from previous releases. Having recently walked through a couple of installations of the native Lync Monitoring reports, the process is documented much better than in the Office Communication Server days! The documentation related to installing the prerequisite <a href="http://technet.microsoft.com/en-us/library/jj204957.aspx">SQL Server Reporting Services (SSRS)</a> for example is much improved.&#160;&#160; </p>
<p>If you are installing <a href="http://technet.microsoft.com/en-us/library/gg558662.aspx">the native Lync Server 2013 reports</a>, along with the TechNet documentation, these 5 tips will get you up and running faster.</p>
<h4><strong>1] What are the High Level Steps to get the Lync 2013 Monitoring Reports Working?</strong></h4>
<p>There are many Microsoft TechNet articles on planning, configuring, deploying, and installing the monitoring reports. The basic process boils down to these 4 steps (and many associated configuration tasks):</p>
<ol>
<li><strong>Enable and Activate Monitoring on your Front End Pools</strong> </li>
<li><strong>Install Microsoft SQL Server Reporting Services</strong> </li>
<li><strong>Install the Lync Server 2013 Monitoring Reports</strong> </li>
<li><strong>Set the Native Lync Monitoring Reports URL</strong> </li>
</ol>
<p>The associated configuration tasks for each of these steps are described in more detail in this Microsoft TechNet article: <a href="http://technet.microsoft.com/en-us/library/gg398199.aspx">Deploying Monitoring</a>.</p>
<h4><strong>2] Can the Monitoring Reports be Installed on the Lync Back End SQL Database?</strong></h4>
<ol></ol>
<ol></ol>
<ol></ol>
<ol></ol>
<ol></ol>
<p>Yes.&#160; This is likely in Lync Server 2013 because you can collocate one monitoring database with one back-end database on a single SQL instance, and it is recommended to install the native Lync Monitoring reports on the same computer where the monitoring database is installed to simplify permissions.</p>
<p>If the Lync deployment requires more than one monitoring database, it must be installed an another SQL instance. See the TechNet article “<a href="http://technet.microsoft.com/en-us/library/gg398102.aspx">Server Collocation in an Enterprise Edition Front End Pool Deployment</a>” for more information.</p>
<p>Also remember that a single monitoring store can be used by multiple Lync pools – as long as it can scale.</p>
<h4><strong>3] How can I Quickly Determine if the SQL Server Reporting Services are Installed?</strong>&#160; </h4>
<p>The SQL Reporting Services Configuration Manager can be used to check if SQL Server Reporting Services (SSRS) is installed. In the screen shot below, if there is no Report Server Instance available to connect to (i.e. the Connect button is greyed out), you do not have SSRS installed. </p>
<p>When you do have a Report Server Instance installed, it will look like this:</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/05/image1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/05/image_thumb1.png" width="432" height="252" /></a></p>
<p>Quick Tips for Installing SSRS:</p>
<ul>
<li>You can start the installation through: Programs | SQL Server 2008 R2 | Configuration Tools | SQL Server Installation Center (64-bit) </li>
<li>Advance to the <u>Feature Selection</u> page in the installation wizard and select &quot;Reporting Services&quot; (see screenshot) </li>
<li>Enter an Account Name that the SSRS service will run under.&#160; I used my Domain Administrator. </li>
<li>After installing SSRS, be sure to follow the directions for creating a new Report Server database (i.e. the “<strong><a href="http://technet.microsoft.com/en-us/library/jj204957.aspx">If no database is listed next to the Report Server Database Name label then do the following…</a></strong>” step). </li>
</ul>
<h4><strong>4] How do I know if Lync Monitoring is Installed, Configured, and Enabled on my Lync pool?</strong></h4>
<p>Because the Monitoring service in Lync Server 2013 is now collocated with the Front End, and is a check-box during installation, it can be easy to forget if it is installed and configured.&#160; A quick look at the Pool properties in the Topology Builder let&#8217;s you know if monitoring is enabled and where the database is configured.</p>
<p>The next question is whether Call Detail Record (CDR) and Quality of Experience (QoE) data is actively being collected and stored. You can check this through the Lync Control Panel or the Lync management shell.</p>
<p>In the screen shot below we can see that CDR data is enabled and it will keep the data for 60 days:</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/05/image2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/05/image_thumb2.png" width="584" height="420" /></a></p>
<p>See the &quot;Configuring Call Detail Recording and Quality of Experience Settings&quot; in TechNet for the all the CDR and QoE configuration settings (<a href="http://technet.microsoft.com/en-us/library/jj204621.aspx">http://technet.microsoft.com/en-us/library/jj204621.aspx</a>).</p>
<h4><strong>5] Setting the Native Lync Monitoring Reports URL</strong></h4>
<p>Although this last step is described as a “<strong>must</strong>” in the TechNet documentation (<a href="http://technet.microsoft.com/en-us/library/jj204989.aspx">Installing Lync Server 2013 Monitoring Reports</a>), the native Lync monitoring reports seem to work fine without it.&#160; Following this step however does enable the “<u>View Monitoring reports</u>” link work in the Lync Control Panel Home Page (see screen shot below).</p>
<p>I have found an issue with the TechNet documentation describing how to set the native monitoring reports URL (<a href="http://technet.microsoft.com/en-us/library/jj204989.aspx">Installing Lync Server 2013 Monitoring Reports</a>). </p>
<p>The instructions for finding and specifying the “ReportingURL” parameter used in the <a href="http://technet.microsoft.com/en-us/library/jj205075.aspx">Set-CsReportingConfiguration</a> cmdlet will set the URL to the &quot;<strong>Report Manager URL</strong>” instead of the intended home page for the Lync Monitoring Reports Home Page.&#160; The consequence is that the “View Monitoring reports” link in the Lync Server 2013 Control Panel home page will go to root Report Manager web page and not the home page for the Lync reports.</p>
<p>Instead follow the directions in the <a href="http://technet.microsoft.com/en-us/library/jj205075.aspx">Set-CsReportingConfiguration</a> cmdlet documentation as follows:</p>
<ol>
<li>Open the SQL Server Reporting Services Configuration Manager for the SQL Server instance that contains your monitoring database. </li>
<li>In the Configuration Manager, click Report Manager URL and then click the URL for your Monitoring Reports. If you see two URLs, click the one that uses the https protocol. </li>
<li>In SQL Server Reporting Services, click LyncServerReports. </li>
<li>On the LyncServerReports page, click Reports Home Page. That will take you to the home page for the Monitoring Reports. You can then copy the URL and use that URL in conjunction with the CsReportingConfiguration cmdlets. </li>
</ol>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/05/image3.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/05/image_thumb3.png" width="510" height="434" /></a></p>
<p>&#160;</p>
<h4>BONUS TIP : Enabling the Call Leg Media Quality Report</h4>
<p>The <a href="http://support.microsoft.com/kb/2809243">February 2013 Cumulative Updates for Lync Server 2013</a> included an update to the <a href="http://support.microsoft.com/kb/2781550">Core Components</a> that enables a Call Leg Media Quality Report. See <a href="http://support.microsoft.com/kb/2798143">An update is available that enables you to use a Call Leg Media Quality Report in a Lync Server 2013 environment</a> for more information.</p>
<p>The Call Leg Media Quality Report allows you to analyze the number of calls and the associated media quality on call legs between devices on the network.</p>
<img src="http://feeds.feedburner.com/~r/InsideLync/~4/D3IdN_Q5Thc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.insidelync.com/2013/05/5-tips-for-installing-the-lync-2013-monitoring-reports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.insidelync.com/2013/05/5-tips-for-installing-the-lync-2013-monitoring-reports/</feedburner:origLink></item>
		<item>
		<title>SIP Trunking 101 with Lync Server 2013</title>
		<link>http://feedproxy.google.com/~r/InsideLync/~3/aKd5KMPaxMU/</link>
		<comments>http://blog.insidelync.com/2013/04/sip-trunking-101-with-lync-server-2013/#comments</comments>
		<pubDate>Tue, 30 Apr 2013 21:31:44 +0000</pubDate>
		<dc:creator>Curtis Johnstone</dc:creator>
				<category><![CDATA[Lync 2013]]></category>
		<category><![CDATA[SIP Trunk]]></category>
		<category><![CDATA[LS Protocol Stack”]]></category>
		<category><![CDATA[Microsoft Lync 2013 Event Log Error “14613]]></category>
		<category><![CDATA[Microsoft Lync 2013 firewall SIP]]></category>
		<category><![CDATA[Microsoft Lync 2013 No SIP Protocol Messages Show up in the Lync Server 2013 Version of Snooper]]></category>
		<category><![CDATA[Microsoft Lync 2013 Outbound SIP Error SIP/2.0 487 Request Terminated]]></category>
		<category><![CDATA[Microsoft Lync 2013 ports portqry snooper ocslogger]]></category>
		<category><![CDATA[Microsoft Lync 2013 PSTN Gateway]]></category>
		<category><![CDATA[Microsoft Lync 2013 Setting the Audio Port Range on the Mediation Server]]></category>
		<category><![CDATA[Microsoft Lync 2013 SIP Trunk Event ID 25051 There was no response from a Trunk to an OPTIONS request sent by the Mediation Server]]></category>
		<category><![CDATA[Microsoft Lync 2013 SIP Trunk Inbound Issue: No Inbound Audio SIP/2.0 400 BAD Request]]></category>
		<category><![CDATA[Microsoft Lync 2013 SIP Trunk outbound error 403]]></category>
		<category><![CDATA[Microsoft Lync 2013 SIP Trunk Outbound Error 503: Gateway Not Available]]></category>
		<category><![CDATA[Microsoft Lync 2013 SIP Trunk Outbound: Event Log Error 10001]]></category>
		<category><![CDATA[Microsoft Lync 2013 SIP trunk routing changes]]></category>
		<category><![CDATA[Microsoft Lync 2013 SIP Trunk Trunking]]></category>
		<category><![CDATA[Microsoft Lync 2013 SIP Trunk “Busy Network”]]></category>
		<category><![CDATA[Microsoft Lync 2013 Troubleshooting Tools Errors]]></category>
		<category><![CDATA[Microsoft Lync Enable outbound routing failover timer]]></category>

		<guid isPermaLink="false">http://blog.insidelync.com/2013/04/sip-trunking-101-with-lync-server-2013/</guid>
		<description><![CDATA[Tweet<p>I will start this blog post with a caveat: it is huge and more of a beginners encyclopedia of Lync SIP trunking configuration and troubleshooting tips than a blog post! It also adds some new specific Lync Server 2013 configuration information to the existing information available on configuring a SIP trunk with previous releases <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.insidelync.com/2013/04/sip-trunking-101-with-lync-server-2013/">SIP Trunking 101 with Lync Server 2013</a></span>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton702" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.insidelync.com%2F2013%2F04%2Fsip-trunking-101-with-lync-server-2013%2F&amp;text=SIP%20Trunking%20101%20with%20Lync%20Server%202013&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fblog.insidelync.com%2F2013%2F04%2Fsip-trunking-101-with-lync-server-2013%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.insidelync.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>I will start this blog post with a caveat: it is huge and more of a beginners encyclopedia of Lync SIP trunking configuration and troubleshooting tips than a blog post! It also adds some new specific Lync Server 2013 configuration information to the existing information available on configuring a SIP trunk with previous releases of Lync Server.</p>
<p>It includes some great tips on getting up and running with a SIP Trunk and I am hoping it is one of the best troubleshooting reference for Lync Server and SIP trunk connectivity available. If you are familiar with SIP trunking and Lync and are having some issues, you might want to skip ahead to the sections “<u>Noteworthy Configuration Tips</u>” and “<u>Troubleshooting Tools and Tips</u>”. Here are some particularly useful tips you might want to check-out below:</p>
<ul>
<ul>
<li>Problems with older Firewalls or Gateways Mangling SIP Packets </li>
<li>The &quot;Enable outbound routing failover timer” Setting on the Lync </li>
<li>NAT IP addresses at the Session Description Protocol (SDP) level </li>
</ul>
</ul>
<h2><strong>Configuration Used in this Article</strong></h2>
<p>This post focuses on the practical steps required to get a simple SIP Trunk to work with Lync 2013 with the most basic scenario:</p>
<ol>
<li><u>One Lync Server 2013 Enterprise Pool and One Lync Server 2013 Mediation Pool</u> – each with one server.
<ul>
<li>It is possible to also configure a SIP trunk with a Lync 2013 Mediation server collocated with the front-end, but this is not recommended for production scenarios, and depending on your scenario it could pose a security risk. </li>
</ul>
</li>
<li><u>Unencrypted Traffic</u>. For this basic setup the SIP signaling and media is not encrypted. When you move into production, it is recommended to encrypt the traffic. </li>
<li><u>A SIP Trunk over a Public Internet Connection</u>. In this configuration, the Mediation Server connects to the SIP trunk by using a direct Internet connection. Unlike the private and VPN options, this topology does not leverage an isolated link to the SIP trunk. </li>
<li><u>A Lync 2013 Mediation Server with 2 NICs</u>.&#160; One NIC is connected to the external Internet through a Firewall (which has network connectivity to the SIP trunk), and the other NIC is connected to the internal LAN. </li>
<li><u>A SIP Trunk from IntelePeer</u>.&#160; This configuration uses a Lync SIP trunk from IntelePeer (you can read more about their SIP trunk offering for Lync 2013 here: <a title="http://www.intelepeer.com/SIPTrunking-microsoft-lync" href="http://www.intelepeer.com/SIPTrunking-microsoft-lync">http://www.intelepeer.com/SIPTrunking-microsoft-lync</a>).&#160; You can purchase a Lync SIP trunk from other vendors and here are some tips:
<ul>
<li>Pick a vendor that is on Microsoft’s list of <a href="http://technet.microsoft.com/en-us/lync/fp179863.aspx">Services qualified for Microsoft Lync</a>. This helps ensure there will be no interoperability issues. </li>
<li>Some SIP trunking providers require a piece of hardware called a Session Border Controller (SBC) whereas other vendors can connect their SIP trunk directly to a Lync Mediation server (usually through an external firewall). </li>
</ul>
</li>
</ol>
<p>Here is a simplified diagram of the call flow:</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/05/image.png"><img style="display: inline" title="image" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/05/image_thumb.png" width="480" height="600" /></a></p>
<h2>What’s Changed in Lync Server 2013 for SIP Trunking?</h2>
<p>Rather than focus on the steps to get up-and-running with Lync Server and a SIP trunk, I will focus on what has changed with Lync Server 2013 which supplements the excellent article that fellow MVP Brian Ricks wrote for NextHop: <a href="http://blogs.technet.com/b/nexthop/archive/2011/04/21/configuring-an-intelepeer-sip-trunk-solution-in-lync-server-2010.aspx">Configuring an IntelePeer SIP Trunk Solution in Lync Server 2010</a>. Not a lot has changed in Lync 2013, so I recommend following the steps outlined in Brian’s NextHop article if you are not familiar with Lync server voice routing, and then read this article for tips and troubleshooting information.</p>
<p>To provide the new capability in Lync Server 2013 of “<a href="http://technet.microsoft.com/en-us/magazine/jj945381.aspx">M: N trunk routing</a>” (that is, the ability for any number of Lync Trunks to be paired with any number of Lync Mediation servers), Lync Server 2013 introduced “Trunks” as a component that can be defined in the topology as shown here:</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/04/image.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/04/image_thumb.png" width="304" height="332" /></a></p>
<p>Your first step in the Lync configuration side will be to define a Lync SIP trunk and associated PSTN Gateway that will be used to route the call to the SIP trunk.&#160; Here are some important tips:</p>
<ol>
<li><strong>Trunks are Logical entities</strong>. The topology definition of a Lync trunk (and the associated Lync trunk configuration) are logical entities. The physical connectivity is established through the the <strong>Associated PSTN Gateway</strong> that you specify when defining the trunk. It follows then, that you need to define an associated PSTN gateway before you can define the trunk in the Topology. </li>
<li><strong>The PSTN Gateway is the External SIP Trunk</strong>. Don’t let the terminology confuse you. In the Lync Topology Builder, the PSTN Gateway that you associate with the trunk <u>is the external SIP trunk</u>. When you define a new PSTN Gateway, just enter the external IP of the SIP trunk (given to you by your provider) as the gateway FQDN.&#160; <strong>Note</strong>: the trunk can be defined in the same wizard that you used to create the PSTN Gateway. </li>
<li><strong>Configure the Trunk through the Lync Control Panel</strong>. Many people get confused because there is now a trunk definition in the Topology Builder and a Trunk Configuration in the Lync Control Panel. The trunk definition in the topology just contains basic connectivity information (e.g. physical gateway, what mediation pool to associate with, etc…).&#160; An associated trunk configuration in the Control Panel allows you to configure how the trunk is used and configured at protocol level. See the step “<u>Defining the SIP Trunk Configuration in the Lync Control Panel</u>” for more information. </li>
</ol>
<h4><strong>Adding the SIP Trunk to the Lync Topology</strong></h4>
<p>As mentioned above, to add the SIP Trunk to the Topology as a new PSTN Gateway, add a new PSTN Gateway as follows in Topology Builder:</p>
<ol>
<li>Define the PSTN Gateway FQDN = IP Address of the external SIP Trunk </li>
<li>Define the Root Trunk (the associated trunk can be defined at the same time you create the PSTN gateway)
<ul>
<li>Trunk Name: &lt;IP address of the SIP trunk&gt; </li>
<li>Listening port for IP/PSTN Gateway: 5060&#160;&#160; (in this case unencrypted TCP is being used; use 5061 for TLS encrypted) </li>
<li>Transport: TCP </li>
<li>Associated Mediation Server:&#160; &lt;Lync Front End Pool + Lync Site&gt; </li>
<li>Associated Mediation Server port:&#160; 5060 </li>
</ul>
</li>
</ol>
<p>* Don’t forget the publish the topology and make sure the Mediation server has picked up the changes (see “<u>If I Make a Routing Change in the Lync Control Panel, How do I Know if my Mediation Server Picked Up the Change?”</u> below for more information on this).</p>
<h4>Defining the Associated SIP Trunk Configuration in the Lync Control Panel</h4>
<p>Under the Voice Routing panel, click on the “Trunk Configuration” heading, and define a new Pool trunk.&#160; With a Pool trunk, you will be able to associate the trunk with the PSTN Gateway defined in your Topology that represents the SIP trunk.</p>
<p>The the New Trunk configuration dialog is show here:</p>
<blockquote style="width: 410px; height: 1%"><p><a href="http://blog.insidelync.com/wp-content/uploads/2013/04/image1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/04/image_thumb1.png" width="405" height="490" /></a></p>
</blockquote>
<p>In my experience, four settings that you want to pay particular attention to are:</p>
<ol>
<li><u>Encryption support level</u>: this identifies what encryption (if any) will be made on the media traffic. They key is, you need to match whatever your peer SIP trunk is configured for. Note that encryption will use TLS which requires certificates. </li>
<li><u>Refer support</u>: in my experience, setting this option to “Enable sending refer to the gateway” will allow the caller-ID to be passed through to the SIP trunk and on to the called party. </li>
<li><u>Centralized media processing</u>:&#160; this indicates to Lync that the SIP trunk peer uses the same IP address for media as it does the SIP signaling. If you are having trouble getting Lync audio working, but the call is established, try enabling this if it is not already enabled. </li>
<li><u>Enable outbound routing failover timer</u>: when enabled, the SIP trunk has 10 seconds to tell Lync that the call has been processed or else the call get’s dropped.&#160; Lync Server 2010 did not have this setting. </li>
<li><u>Associated PSTN Usages</u>:&#160; this instructs Lync to only allow calls through this trunk the match the PSTN usages listed here. </li>
</ol>
<p>Note: all the Lync Trunk configuration settings are defined here: <a href="http://technet.microsoft.com/en-us/library/gg398170.aspx">Microsoft TechNet &#8211; Configuring Trunks</a>.</p>
<h4>Finishing your Topology Changes and add the Lync Voice Routing Changes</h4>
<p>For the rest of the required Topology changes and Lync voice routing additions, the steps outlined in Brian Rick’s article still apply for Lync Server 2013: <a href="http://blogs.technet.com/b/nexthop/archive/2011/04/21/configuring-an-intelepeer-sip-trunk-solution-in-lync-server-2010.aspx">http://blogs.technet.com/b/nexthop/archive/2011/04/21/configuring-an-intelepeer-sip-trunk-solution-in-lync-server-2010.aspx</a>.</p>
<h2>Noteworthy Configuration Tips</h2>
<p>This section outlines some important configuration and troubleshooting tips.</p>
<h4>Do you need to define a Lync Server 2013 SIP Trunk in the Lync Control Panel?</h4>
<p>A common question is: once I have the SIP trunk defined in my Topology, do I need to define an associated Lync Trunk Configuration in the Lync Control panel?</p>
<p>In theory “no” because there will always be a Global Lync trunk that will be used. In practice though the answer is “yes” &#8211; you should because it enables you to control the Lync configuration for calls intended specially for the SIP trunk.</p>
<p>This Microsoft Technet article has all of the information you need to know to Configure a SIP trunk in Lync 2013: <a href="http://technet.microsoft.com/en-us/library/gg398170.aspx">Configuring Trunks</a>.</p>
<h4>Problems with older Firewalls or Gateways Mangling SIP Packets</h4>
<p>You can save yourself many potential headaches by using hardware (e.g. SIP-PSTN Gateways) that have been certified by Microsoft for PSTN integration by visiting the <a href="http://technet.microsoft.com/en-us/lync/gg131938.aspx">Microsoft Infrastructure qualified for Microsoft Lync</a> web site.</p>
<p>Unfortunately that interop program does not cover firewalls, and some firewalls like to mess with SIP packets!</p>
<p>For example, several model’s of the older Cisco PXE firewalls will be configured to do a “<strong>inspect sip</strong>” or a “<strong>fixup protocol sip</strong>” on the SIP packets. In my experience this will cause the inbound packets to be mangled. You will first noticed this problems with ‘NO RESPONSE’ errors to SIP OPTIONS messages in the event log on Lync 2013 Mediation server. The Mediation server is sending the OPTIONS requests but not receiving the replies because the SIP packets are getting mangled.</p>
<p>I have read this can also be a problem with interoperability between Lync and Asterisk PBX’s.</p>
<p>The fix is to remove the command “inspect sip”, “fixup protocol sip”, or any other packet manipulation on the firewall.</p>
<p>I have read about older SIP-PSTN Gateways with packet manipulation capabilities, so you might want to check that if your are using a Gateway between Lync and the SIP Trunk.</p>
<h4>A Lync Edge Sever is only needed to Support SIP Trunk Calls for External Lync Users</h4>
<p>If you start searching the Internet and forums for problems with Lync SIP trunk configurations, you will run into several errors and references to the Lync Edge server.&#160; To save yourself some time, the Lync Edge is only used to support external Lync users. The Edge Server allows the Mediation Server to interact with users who are located behind a NAT or firewall – external to the organization.</p>
<p>An Edge is not required to provide call connectivity over a SIP Trunk for Lync users <strong>inside</strong> your network as long as an Internet Telephony Server Provider’s Session Border Controller (SBC) is configured to receive traffic from any Mediation Server in the pool, and can route traffic uniformly to all Mediation Servers in the pool</p>
<p>A good overview of a SIP trunk implementation can be found in the Microsoft TechNet article: <a href="http://technet.microsoft.com/en-us/library/gg425743.aspx">How Do I Implement SIP Trunking?</a></p>
<p><u>Note</u>: if you are trying to configure the Edge to allow external Lync users to make calls over the SIP trunk, be sure to use the Set-CsMediationServer cmdlet.&#160; This tells the Mediation server what Lync Edge server is used for external users. </p>
<p>Fellow Lync MVP Ståle Hansen recently blogged about this. See his post “<a href="http://msunified.net/2013/03/04/no-media-connectivity-with-lync-server-2010-collocated-mediation-server-and-external-users/#more-3636">No media connectivity with Lync Server 2010 collocated mediation server and external users</a>” for more information.</p>
<h4>Check the &quot;Enable outbound routing failover timer” Setting on the Lync Server 2013 Trunk if the Call is Dropping After a Successful Connection</h4>
<p>This Lync trunk setting requires that the SIP Trunk notifies Lync within 10 seconds that it is processing an outbound call from Lync. Some SIP trunks will either not provide this notification, or are not able to get it back to the Lync server within 10 seconds. </p>
<p>In this case the call will drop in about 10 seconds and a <u>“SIP/2.0 487 Request Terminated”</u> will appear in the Lync server SIP transaction logs (more information on this error is in the troubleshooting section).</p>
<p>Here is the explanation of the failover timer setting in the Lync 2013 trunk:</p>
<blockquote><p><strong>Enable outbound routing failover timer</strong> should be selected to enable fast failover. The gateway associated with this trunk can give notification within 10 seconds that it is processing an outbound call. Rerouting to another trunk will occur if this notification is not received by the Mediation Server. On networks where latency may delay the response time or the gateway takes longer than 10 seconds to respond, the fast failover should be disabled..</p>
</blockquote>
<p>This setting is <u>enabled by default</u>.&#160; Disabling it will solve your issue.</p>
<h4><strong>Explicitly Setting the Audio Port Range on the Mediation Server is not Always Required</strong></h4>
<p>The audio port range used by the Lync Mediation server can be configured with the <strong></strong><a href="http://technet.microsoft.com/en-us/library/gg398213.aspx">Set-CsMediationServer</a></p>
<p> cmdlet. For example, IntelePeer requires ports 5000 thru 65535 to be used for the RTP Audio.<br />
<h4></h4>
<p>The Lync 2013 Mediation server defaults for the port range are 49152 to 57500. I have <strong>not</strong> needed to change the default Mediation audio port range to successfully do SIP trunking however. As such, I am not clear when the port range need to be explicitly configured on the mediation server, but I have not had problems, even when the port range used by the SIP trunking audio is much larger than what the default port range.</p>
<p>If you do need to set a custom port range on the Lync Mediation server, the cmdlet to do it would look like this:</p>
<blockquote><p>Set-CsMediationServer -Identity &quot;MediationServer:&lt;Lync Pool FQDN&quot; -AudioPortStart 5000 -AudioPortCount 60535</p>
</blockquote>
<p>If you do explicitly set the audio range to a custom port range, remember to allow for CMS replication restart the mediation server service so that the Lync mediation server picks up the change.</p>
<p>You can see the existing settings used for the Mediation Server with the cmdlet “<strong>Get-CsService –MediationServer</strong>”.&#160; Here is an example:</p>
<blockquote><p>Identity&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : MediationServer:&lt;Lync Pool FQDN&gt;      <br />Registrar&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : Registrar:&lt;Lync Pool FQDN&gt;       <br />EdgeServer&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : EdgeServer:&lt;Lync Edge Server FQDN&gt;&#160; <br />SipServerPort&#160;&#160;&#160;&#160;&#160;&#160;&#160; : 5070       <br />SipClientTcpPort&#160;&#160;&#160;&#160; : 5060       <br />SipClientTlsPort&#160;&#160;&#160;&#160; : 5067       <br />AudioPortStart&#160;&#160;&#160;&#160;&#160;&#160; : 49152       <br />AudioPortCount&#160;&#160;&#160;&#160;&#160;&#160; : 8348       <br />DependentServiceList : {PstnGateway:&lt;IP G/W 1&gt;, PstnGateway:&lt;IP G/W 2&gt;}       <br />ServiceId&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : 1-MediationServer-4       <br />SiteId&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : Site:&lt;Lync Site&gt;&#160; <br />PoolFqdn&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : &lt;Lync Pool FQDN&gt;&#160; <br />Version&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : 6       <br />Role&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : MediationServer</p>
</blockquote>
<p>If you detect a port conflict (either on the SIP signaling or Media Port), you can use this command to see what IP address have are using specific ports:</p>
<blockquote><p>netstat -ant</p>
<p>netstat –ant | finder 5060&#160; (to find references to port 5060)</p>
</blockquote>
<p>&#160;</p>
<h2>Troubleshooting Tools and Tips</h2>
<p>This section details the best tools to use to troubleshoot SIP trunk issues, and how to resolve some common problems.</p>
<h3>Tools of the Trade</h3>
<p><strong></strong></p>
<ol>
<li><strong>Microsoft PortQryUI</strong>
<ul>
<li><a title="http://www.microsoft.com/en-ca/download/details.aspx?id=24009" href="http://www.microsoft.com/en-ca/download/details.aspx?id=24009">http://www.microsoft.com/en-ca/download/details.aspx?id=24009</a> </li>
<li>PortQryUI is the GUI version of the free Microsoft utility for <a href="http://www.microsoft.com/en-ca/download/details.aspx?id=17148">PortQry command line port scanner utility</a> which shows the port status of TCP and UDP ports on the remote computer specified. </li>
<li>This tool is most useful to test the ports that should be open on your firewall.&#160; It is best to run it on a computer outside of your network with access to the firewall and you can use it to ensure TCP port 5060 (or 5061) and the UDP ports used for the media or available. </li>
</ul>
</li>
<li><strong>Free Online Port Scanners</strong>
<ul>
<li>If you need to do some quick port checking and do not have access to a Windows machine outside your network to run PortQry, a good alternative are online port scanners which run on a web server on the Internet. </li>
<li>You can enter the IP address of your firewall and the port(s) that you want to query and run the query from the remote web site. Do a Bing search for “online port scanner” and pick one that seems reputable. </li>
</ul>
</li>
<li><strong>OCSLogger &amp; Snooper</strong>
<ul>
<li>OCSLogger can be used to set server-side logging to debug SIP trunking activity. </li>
<li>The Lync 2013 Centralized Logging service will also give you debugging information, but to show details of the SIP protocol, I find OCSLogger and it’s log analysis counterpart tool, Snooper, the best. </li>
<li>These two tools now ship in the <a href="http://www.microsoft.com/en-us/download/details.aspx?id=35453">Microsoft Lync Server 2013 Debugging Tools</a>; in Lync Server 2010 they were part of the resource kit. </li>
</ul>
</li>
<li><strong>WireShark</strong>
<ul>
<li><a title="http://www.wireshark.org/" href="http://www.wireshark.org/">http://www.wireshark.org/</a> </li>
<li>If you experience network connectivity issues that cannot be figured-out at the SIP or Lync server logging levels, you may need to capture network activity on the wire. Hopefully it won’t come to that, but if it does, WireShark is one of the best network troubleshooting tools available. </li>
<li>You will want to run WireShark on the Lync Mediation Server. </li>
</ul>
</li>
<li><strong>The Test-CsPstnOutboundCall Lync Test Cmdlet</strong>
<ul>
<li>This test cmdlet is available in the Lync Management Shell and is good for quick outbound test calls to identify any high level problems. </li>
<li>Caveat: I have had some cases where the error messages returned by this cmdlet masked the real problem. </li>
<li>Here is a quick sample of how to use this cmdlet:<br />
<blockquote>
<p><em>$cred1 = Get-Credential &quot;domain\LyncUser1&quot;</em></p>
<p><em>Test-CsPstnOutboundCall –TargetFqdn LyncPool.domain.com -TargetPstnPhoneNumber &quot;123 456 7890&quot; </em><em>-UserSipAddress &quot;sip:LyncUser1@domain.com&quot; -UserCredential $cred1</em></p>
</blockquote>
</li>
</ul>
</li>
</ol>
<h3>Specific Troubleshooting Tips</h3>
<p>This section details some hard learned lessons which will hopefully save you time.</p>
<h4>OCSLogger Categories to Select to Debug SIP Trunk Issues</h4>
<p>Here are the categories I found most useful to debug connectivity and configuration issues with a SIP Trunk.</p>
<blockquote><p><strong>On a Lync 2013 Standalone Mediation Server</strong></p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/04/image2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/04/image_thumb2.png" width="580" height="196" /></a></p>
<p><strong>On a Lync 2013 Front-End Server</strong></p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/04/image3.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/04/image_thumb3.png" width="578" height="250" /></a></p>
</blockquote>
<h4>No SIP Protocol Messages Show up in the Lync Server 2013 Version of Snooper</h4>
<p>There have been several reports of Snooper not showing any SIP traffic despite the appropriate categories being selected.</p>
<p>As of April 30, 2013 Microsoft is aware of this issue and is investigating. It is not known whether this issue is environmental or a bug</p>
<h4><strong>If I Make a Routing Change in the Lync Control Panel, How do I Know if my Mediation Server Picked Up the Change?</strong></h4>
<p>You may be wondering this especially if you are running a standalone Mediation pool. The key is to look for Event ID 3013 “<strong>LS Replica Replicator Agent Service</strong>” in the event log on the Mediation server.&#160; It looks like this.</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/04/image4.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/04/image_thumb4.png" width="647" height="317" /></a></p>
<h4><strong>Outbound SIP Error: SIP/2.0 487 Request Terminated</strong></h4>
<p>While making an outbound call, if you experience the scenario where the call rings through but then terminates shortly afterwards and the following SIP error appears in Snooper:</p>
<blockquote><p>ms-diagnostics-public: 5025;reason=&quot;Cancel sent by application for INVITE client transaction.&quot;;AppUri=&quot;http%3A%2F%2Fwww.microsoft.com%2FLCS%2FOutboundRouting&quot;</p>
<p>ms-diagnostics-public: 5011;reason=&quot;ACK is being generated on receipt of a 487 canceled response for an INVITE forked by application&quot;;AppUri=&quot;http%3A%2F%2Fwww.microsoft.com%2FLCS%2FOutboundRouting&quot;</p>
</blockquote>
<p>One likely possibility is that the “Enable outbound routing failover timer setting” is set in the Lync trunk configuration and it should not be. See the ‘<u>Check the Enable outbound routing failover timer” Setting on the Lync Server 2013 Trunk if the Call is Dropping After a Successful Connection’</u> previously in this article for more information.</p>
<h4><strong>Event Log Error: “14613, LS Protocol Stack”</strong></h4>
<p>Sometimes debugging is to know what not to pay attention to.&#160; I’ve yet to get to the bottom of this error, but the SIP Trunk will work while this error is present on the Lync Enterprise Front-End server. I believe this is not specific to a SIP trunk configuration. The event log error is shown here:</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/04/image5.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/04/image_thumb5.png" width="543" height="390" /></a></p>
<p><strong></strong></p>
<h4>Outbound Error: 403</h4>
<p>This is a very common error that will appear in both the Lync client and in the SIP logs (e.g. using Snooper).</p>
<p>Generally a 403 means “forbidden” and in the context of an outbound call it usually means that the Lync user making the call (the caller) is not authorized to call the destination number. The reason is usually that the caller has not been configured to have the required PSTN Usage for the called number.</p>
<p>To resolve this error, ensure that the Lync user making the call is configured with a Lync server <strong>Voice Policy</strong> that contains a PSTN Usage record that the chosen Lync <strong>Voice Route</strong> maps to based on the called number.</p>
<p>A great way to test what PSTN usage will be used if a specific Lync user dials a specific number is the &quot;voice routing test case” functionality in the Lync Control Panel.&#160; This feature is somewhat hidden, so I have highlighted where in the Voice Routing panel you can find this functionality, and where the specific user information is populated:</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/04/image6.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/04/image_thumb6.png" width="797" height="361" /></a></p>
<h4><strong>Event ID 25051 &#8211; There was no response from a Trunk to an OPTIONS request sent by the Mediation Server.</strong></h4>
<p>This is a very common problem reported in the event log of the Lync 2013 Mediation Server.&#160; The details of Event ID 25051 look like this:</p>
<blockquote><p><em>The Trunk, {IP Address};trunk={IP Address}, is not responding to an OPTIONS request sent by the Mediation Server service.        <br /><strong>Cause</strong>: The Mediation Server service cannot communicate with the Trunk Service over SIP due to network connectivity issues.         <br /><strong>Resolution</strong>: Please ensure network connectivity and availability of the Trunk for the Mediation Server service to be able to function correctly.</em></p>
</blockquote>
<p>The most likely cause is network connectivity – specifically the port configured for inbound SIP signaling is not open on the firewall (i.e. TCP Port 5060 or TCP Port 5061).</p>
<p>As part of normal operations the Lync 2013 Mediation server periodically sends a SIP OPTIONS message to the SIP trunk to ensure the SIP Trunk is able to service requests – similar to a heartbeat.&#160; Event ID 25051 appears if the Mediation server has sent the request but did not receive a response.</p>
<p>To resolve this error, use the Microsoft PortQry tool, or an online port scanner and make sure that the SIP signaling port (TCP 5060 or 5061) is open on the firewall and the Mediation server is able to issue a response. Any port scanner utility should report a “<strong>LISTENING</strong>” status.</p>
<p>If the ports are open, another problem could be that the firewall or externally connected Gateway is mangling the inbound SIP packets. This problem is described earlier in this blog entry – see: “<strong>Problems with older Firewalls or Gateways Mangling SIP Packets</strong>”. </p>
<h4><strong>Outbound Error 503:&#160; Gateway Not Available</strong></h4>
<p>This manifests itself as Event ID <strong>46046</strong> in the event log or a 503 response to the a call attempt in the Lync client or the <strong>Test-CsPstnOutboundCall</strong> cmdlet, and the details look like this:</p>
<blockquote><p>A call to a PSTN number failed due to non availability of gateways.</p>
<p>Called Number: +1xxxxxxxxxx      <br />Phone Usage: International All       <br />Route: International All       <br />CallId: 524d2e6d-b938-466e-b8b7-8f31d170d58a</p>
<p>Cause: All gateways available for this call are marked as down.      <br />Resolution:       <br />Verify that these gateways are up and can respond to calls.</p>
</blockquote>
<p>This error can be deceiving.&#160; The Lync Mediation role has the ability to * remember * when their was a prior failure to a particular trunk or gateway and if a call to that same trunk or gateway is attempted in a certain time frame, the Mediation server will immediately return this error <strong>without actually trying the call because it has flagged the gateway as down</strong>.</p>
<p>If you restart the “Lync Server Mediation” service, it will reset the “bad gateway” flag and you can try your call again. It is also supposed to reset after a specific amount of time, but in my experience with Lync Server 2013, it doesn’t.</p>
<h4><strong>Outbound: Event Log Error 10001</strong></h4>
<p>This is another common outbound error. The Lync client will show an error like this:</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/04/image7.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/04/image_thumb7.png" width="460" height="226" /></a></p>
<p>The details of the event log error will show:</p>
<blockquote><p>ms-diagnostics-public: 10001;reason=&quot;Gateway did not respond in a timely manner (timeout)&quot;;component=&quot;MediationServer&quot;</p>
</blockquote>
<p>In a nutshell, the PSTN gateway associated with the SIP trunk which is responsible for handling the call is not reachable (i.e. unavailable).</p>
<p>Make sure you have restarted the Lync Mediation Service after adding the new SIP trunk to the topology and configured the ports on the Mediation Server.</p>
<p>This error will also be generated if Lync has marked the PSTN Gateway as down from previous failures. Restarting the Lync Mediation Service will solve this.</p>
<h4><strong>Outbound Error – “Busy Network”</strong></h4>
<p>This error can occur for several reasons. The experience is that the call initially rings through to the called party, but then it will drop and the Lync client will display an error like this:</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/04/image8.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/04/image_thumb8.png" width="478" height="241" /></a></p>
<p>This might manifest itself as a “<strong>Service Unavailable</strong>” in the snooper logs:</p>
<blockquote><p>TL_INFO(TF_PROTOCOL) [0]1238.0C84::03/28/2013-21:48:26.505.00000082 (SIPStack,SIPAdminLog::ProtocolRecord::Flush:2420.idx(196))[3323817907] $$begin_record      <br />Trace-Correlation-Id: 3323817907       <br />Instance-Id: 17BB       <br />Direction: outgoing;source=&quot;local&quot;       <br />Peer: &lt;Peer IP&gt;:62802       <br />Message-Type: response       <br />Start-Line: SIP/2.0 503 Service Unavailable       <br />From: &quot;Lync User 1&quot;&lt;sip:LyncUser1@domain.com&gt;;tag=f75e2a3e27;epid=fd52f25f59       <br />To: &lt;sip:+16132701611@qms-l13.dev.kan.ca.qsft;user=phone&gt;;tag=F5D5957753477DCEBB3D60994713111A       <br />Call-ID: 649bee354cb24e8d86891483086008ce       <br />CSeq: 1 INVITE       <br />Via: SIP/2.0/TLS ….. :62802;ms-received-port=62802;ms-received-cid=3D300       <br />Content-Length: 0       <br />ms-diagnostics: 12000;reason=&quot;Routes available for this request but no available gateway at this point&quot;;source=&quot;&lt;LyncServer FQDN&gt;&quot;;appName=&quot;OutboundRouting&quot;       </p>
</blockquote>
<p>If the call drops after a few seconds, you will want to check the “<strong>Enable outbound routing failover timer</strong>” setting in the Lync Server 2013 Trunk that you defined for the SIP Trunk.</p>
<p>Specifically, this setting will cause Lync to drop the call if it doesn’t complete it in 10 seconds. Some SIP trunks can take longer to setup the call, so you might need to disable this settings. This is described further previously in this blog entry under “Key Tips”.</p>
<h4>Inbound Issue: No Inbound Audio <font style="font-weight: normal">and a</font> SIP/2.0 400 BAD Request</h4>
<p>If an inbound call rings through to the Lync user, but no audio can be hear from the caller, in my experience there are three potential problems.</p>
<ol>
<li><strong>The Inbound Media Ports are not Opened on the Firewall</strong>.&#160; The most obvious cause is that the media ports are not open on the firewall. A network port scanning tool should be used to verify that the port range that the SIP trunk uses to send the audio through is opened. </li>
<li><strong>Centralized Media Processing needs to be Enabled on the Associated Lync SIP Trunk</strong>.
<ul>
<li>This setting in on the Lync trunk tells Lync that the IP address for the SIP trunk used for the media is the same as the IP address on the SIP trunk that is used for the SIP signaling.&#160; If the IP addresses are the same, and this is not set, you will experience audio issues – specifically no inbound audio in my experience. </li>
<li>You can see all the Lync Server 2013 Trunk configuration settings on Microsoft Technet here: <a href="http://technet.microsoft.com/en-us/library/jj688104.aspx">Modify SIP Trunk Configuration Settings</a>. </li>
</ul>
</li>
<li>The external Firewall is not configured (or does not support) the ability to <strong>NAT IP addresses at the Session Description Protocol (SDP) level</strong>.
<ul>
<li>This problem can easily be configured by doing a packet capture on the SIP trunk side. If the IP address used in the out-going Lync SDP requests are the internal NIC of the Lync Mediation server there is no NAT being done. Most SIP trunks require require the public IP (of the firewall or externally connected gateway) in the SDP layer. </li>
<li>Many older firewalls from certain manufactures (such as the Cisco PXE 515e) do not NAT at this level.&#160; Some SIP Trunk providers such as IntelePeer are able to NAT it on their end, and this will resolve the issue. </li>
<li>As mentioned above, the hallmark flag for this issue is a SIP/2.0 400 BAD Request in the Snooper logs: </li>
</ul>
</li>
</ol>
<blockquote><p><strong>SIP/2.0 400 BAD Request</strong></p>
<p>TL_INFO(TF_PROTOCOL) [0]1388.2388::04/24/2013-19:09:55.121.0001ca88 (SIPStack,SIPAdminLog::ProtocolRecord::Flush:2420.idx(196))[1487080697] $$begin_record      <br />Trace-Correlation-Id: 1487080697       <br />Instance-Id: 101E       <br />Direction: incoming       <br />Peer: &lt;Lync mediation server&gt;:5070       <br />Message-Type: response       <br />Start-Line: SIP/2.0 400 Bad Request       <br />FROM: &lt;sip:LyncPoolFQDN&gt;;tag=78487B30899D015765DB0B0D60A1A729;ms-fe=LyncFrontEnd_FQDN       <br />TO: &lt;sip:LyncMediationServerFQDN&gt;       <br />CALL-ID: 9F3C3F68F0322050961C       <br />CSEQ: 1 NEGOTIATE       <br />VIA: SIP/2.0/TLS 10.4.49.177:53575;branch=z9hG4bKC5687AD3.FB2A5CCBDD249253;branched=FALSE       <br />CONTENT-LENGTH: 0       <br />REQUIRE: ms-compression       <br />ms-negotiate-data: LZ77-64K</p>
</blockquote>
<p>&#160;</p>
<h2>References</h2>
<p>These are the best references I found to get up-and-running with Lync Server 2013 and a SIP Trunk:</p>
<table border="0" cellspacing="0" cellpadding="2" width="848">
<tbody>
<tr>
<td valign="top" width="372"><strong>Source</strong></td>
<td valign="top" width="474"><strong>What It Gives You</strong></td>
</tr>
<tr>
<td valign="top" width="372"><a href="http://blogs.technet.com/b/drrez/archive/2011/04/21/configuring-an-intelepeer-sip-trunk-solution-in-lync-server-2010.aspx">Microsoft NextHop &#8211; Configuring an IntelePeer SIP Trunk Solution in Lync Server 2010</a></td>
<td valign="top" width="474">A very useful article similar to this one for getting a SIP Trunk working with OCS 2007 R2.</td>
</tr>
<tr>
<td valign="top" width="372"><a href="http://www.jaapwesselius.com/2012/12/28/installing-lync-server-2013-mediation-server/">JaapWesselius.com &#8211; Installing Lync Server 2013 Mediation Server</a></td>
<td valign="top" width="474">A good article on installing the Lync 2013 Mediation server and establishing call connection with a SIP Trunk.</td>
</tr>
<tr>
<td valign="top" width="372"><a href="http://technet.microsoft.com/en-us/library/jj688104.aspx">Microsoft TechNet – Modify SIP Trunk Configuration</a></td>
<td valign="top" width="474">Explains the specific settings for a Lync 2013 SIP Trunk in the Lync Control Panel.</td>
</tr>
<tr>
<td valign="top" width="372"><a href="http://technet.microsoft.com/en-us/library/gg398399.aspx">Microsoft TechNet &#8211; Mediation Server Component</a></td>
<td valign="top" width="474">Covers the main functions of the Lync Mediation server used SIP Trunking.</td>
</tr>
<tr>
<td valign="top" width="372">Lync Server Forums: <a href="http://social.technet.microsoft.com/Forums/en-US/ocsvoice/thread/adeca19e-ce8a-40cb-bf6a-69eff77cde7a/">Disable Lync SIP OPTIONS Requests</a></td>
<td valign="top" width="474">A good thread which describes the Lync Mediations server’s behavior or issuing an OPTIONS request to determine if a Gateway is available.</td>
</tr>
<tr>
<td valign="top" width="372"><a href="http://technet.microsoft.com/en-us/library/gg412780.aspx">Microsoft TechNet &#8211; Deploying Mediation Servers and Defining Peers</a></td>
<td valign="top" width="474">A good starting point reference.</td>
</tr>
<tr>
<td valign="top" width="372"><a href="http://technet.microsoft.com/en-us/library/gg425743.aspx">Microsoft TechNet &#8211; How Do I Implement SIP Trunking?</a></td>
<td valign="top" width="474">The basics of SIP trunking including the various possible SIP Trunk connection types and bandwidth requirements available to Lync Server.</td>
</tr>
<tr>
<td valign="top" width="372"><a href="http://technet.microsoft.com/en-us/lync/fp179863.aspx">Services qualified for Microsoft Lync</a></td>
<td valign="top" width="474">Microsoft’s official list of vendors that a certified to provider SIP trunk services.</td>
</tr>
</tbody>
</table>
<img src="http://feeds.feedburner.com/~r/InsideLync/~4/aKd5KMPaxMU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.insidelync.com/2013/04/sip-trunking-101-with-lync-server-2013/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.insidelync.com/2013/04/sip-trunking-101-with-lync-server-2013/</feedburner:origLink></item>
		<item>
		<title>Kuando BusyLight for Lync 2013</title>
		<link>http://feedproxy.google.com/~r/InsideLync/~3/FcJ3uefXH2U/</link>
		<comments>http://blog.insidelync.com/2013/04/kuando-busylight-for-lync-2013/#comments</comments>
		<pubDate>Wed, 10 Apr 2013 14:16:30 +0000</pubDate>
		<dc:creator>Curtis Johnstone</dc:creator>
				<category><![CDATA[BusyLight]]></category>
		<category><![CDATA[Client]]></category>
		<category><![CDATA[Lync 2013]]></category>
		<category><![CDATA[Microsoft Lync]]></category>
		<category><![CDATA[Microsoft Lync BusyLight]]></category>

		<guid isPermaLink="false">http://blog.insidelync.com/2013/04/kuando-busylight-for-lync-2013/</guid>
		<description><![CDATA[Tweet<p>Kuando’s BusyLight has been a fan favorite in the Lync community for sometime. I rarely write about Lync products on this blog, but I find this product unique because it touches on the ability to extend the power of Lync’s presence into the physical world – using customer hardware – which can potentially increase <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.insidelync.com/2013/04/kuando-busylight-for-lync-2013/">Kuando BusyLight for Lync 2013</a></span>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton683" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.insidelync.com%2F2013%2F04%2Fkuando-busylight-for-lync-2013%2F&amp;text=Kuando%20BusyLight%20for%20Lync%202013&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fblog.insidelync.com%2F2013%2F04%2Fkuando-busylight-for-lync-2013%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.insidelync.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p><a href="http://www.busylight.com/">Kuando’s BusyLight</a> has been a fan favorite in the Lync community for sometime. I rarely write about Lync products on this blog, but I find this product unique because it touches on the ability to extend the power of Lync’s presence into the physical world – using customer hardware – which can potentially increase productivity in the work environment. </p>
<p>For me, the ability to physically show my Lync Presence in the front of my office and not be disturbed when I was busy or on a conference call was enough of a carrot to give it a whirl. Kuando recently released updated software that integrates with Lync that supports Lync 2013. My experiences are below.</p>
<h3><strong>BusyLight Overview</strong></h3>
<p>If you are not familiar with the device, at a high level it is a USB light that displays the Presence in your Lync client and can also play different sounds based on events in Lync (e.g. when you receive a Lync call). </p>
<p><strong>Colors</strong>. Out-of-the-box the default colors for the default Presence states in the Lync client map well to the BusyLight. Not all the Presence states map to a single solid color however. For example, the do-not-disturb state is a red icon with a horizontal white line through it in the Lync client. To accommodate this, Kuando has introduces a Purple for do not disturb, but you can customize it.</p>
<p><strong>Sounds</strong>. The BusyLight can play several ringtones at a customized volume when a Lync call is received. At first I questioned the need for this, but in some shared office environments this could be very useful, not to mention for the visually impaired. </p>
<p>Here is a picture of the BusyLight mounted in the window at the front of my office.</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/04/BusyLight1a.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="BusyLight1a" border="0" alt="BusyLight1a" src="http://blog.insidelync.com/wp-content/uploads/2013/04/BusyLight1a_thumb.jpg" width="437" height="593" /></a></p>
<p>* <strong>Note</strong>: the latest and greatest version is now black.&#160; <a href="http://www.busylight.com/">See the main product page</a> for a screen shot.</p>
<h3><strong>What&#8217;s new in version 1.1.164?</strong></h3>
<ol>
<li>Support for the Lync 2013 Client </li>
<li>Busylight now has Busy In a Call status. The default setting for Busy In a Call is a pulsing red.      <br />You can change it back to standard red via the system tray icon. </li>
<li>Do Not Disturb is now purple (to distinguish it from Busy). You can change it back to      <br />standard red via the system tray icon. </li>
</ol>
<p>There is a small software package that needs to be installed on your client machine that is a bridge between the Lync client and the BusyLight.</p>
<h3><strong>Tips</strong></h3>
<p>1] If your BusyLight ever gets into a state where it is not accurately reflecting your Lync state. Kuando is aware of this bug and it will be fixed in the next software release. This only happened to me twice, and here is how you can correct it:</p>
<ul>
<li>Try the Reset Lamp action on the BusyLight tray application </li>
<li>If that doesn’t rectify it, just restart the BusyLight application </li>
</ul>
<p>2] It works when you switch SIP identities on the fly.</p>
<p>3] The BusyLight FAQ contains some good information on system requirements and how to install if you are not an administrator.</p>
<h3><strong>Conclusions</strong></h3>
<p>The BusyLight is a good device to physically extend the power of Lync presence. I am already thinking of getting one for home and training my kids to respect that status light <img src='http://blog.insidelync.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p>I would pay extra for a WiFi model that would allow the presence device to easily be mounted anywhere (I had to use a USB extension cord to get it to my office door).</p>
<img src="http://feeds.feedburner.com/~r/InsideLync/~4/FcJ3uefXH2U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.insidelync.com/2013/04/kuando-busylight-for-lync-2013/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.insidelync.com/2013/04/kuando-busylight-for-lync-2013/</feedburner:origLink></item>
		<item>
		<title>Microsoft Canada’s IT Pro Team wants your Feedback</title>
		<link>http://feedproxy.google.com/~r/InsideLync/~3/TXTd6_A697s/</link>
		<comments>http://blog.insidelync.com/2013/03/microsoft-canadas-it-pro-team-wants-your-feedback/#comments</comments>
		<pubDate>Mon, 25 Mar 2013 19:00:38 +0000</pubDate>
		<dc:creator>Curtis Johnstone</dc:creator>
				<category><![CDATA[Microsoft IT Professional]]></category>
		<category><![CDATA[Microsoft IT Pro Feedback]]></category>
		<category><![CDATA[Microsoft IT Profession Canada]]></category>

		<guid isPermaLink="false">http://blog.insidelync.com/2013/03/microsoft-canadas-it-pro-team-wants-your-feedback/</guid>
		<description><![CDATA[Tweet<p>If you’ve had any interaction with the IT Pro team at Microsoft Canada, they are interested in your feedback. </p> <p>The IT Pro team at Microsoft Canada (specifically evangelists Anthony, Pierre, and Mitch) would like feedback on how they are doing to achieve their goal of providing the information and tools you need to <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.insidelync.com/2013/03/microsoft-canadas-it-pro-team-wants-your-feedback/">Microsoft Canada&#8217;s IT Pro Team wants your Feedback</a></span>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton677" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.insidelync.com%2F2013%2F03%2Fmicrosoft-canadas-it-pro-team-wants-your-feedback%2F&amp;text=Microsoft%20Canada%26rsquo%3Bs%20IT%20Pro%20Team%20wants%20your%20Feedback&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fblog.insidelync.com%2F2013%2F03%2Fmicrosoft-canadas-it-pro-team-wants-your-feedback%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.insidelync.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>If you’ve had any interaction with the IT Pro team at Microsoft Canada, they are interested in your feedback. </p>
<p>The IT Pro team at Microsoft Canada (specifically evangelists Anthony, Pierre, and Mitch) would like feedback on how they are doing to achieve their goal of providing the information and tools you need to be get the most out of Microsoft based solutions, at home and at work.</p>
<h2>Feedback</h2>
<p>Here are the ways you can connect with the Microsoft Canadian IT Pro team and provide feedback.</p>
<p><strong>The Global Relationship Study (GRS)</strong></p>
<p>If you’ve subscribed to any of the Microsoft newsletters or attended any IT Pro event, you will be sent the survey through email which will have the following message properties:</p>
<blockquote><ul>
<li><u>Sent</u>: March 4th – April 12th, 2013 </li>
<li><u>Sent From</u>: “Microsoft Feedback” </li>
<li><u>Email Alias</u>: <a href="mailto:&ldquo;feedback@e&ndash;mail.microsoft.com">“feedback@e–mail.microsoft.com</a>” </li>
<li><u>Subject Line</u>: “Help Microsoft Focus on Customers and Partners” </li>
</ul>
</blockquote>
<p>This survey helps gather important feedback and plan what the team will focus on, so watch for it, and fill it out if you can.</p>
<p><strong>Blogs</strong></p>
<blockquote><ul>
<li>IT Professional: <a title="http://blogs.technet.com/b/canitpro/" href="http://blogs.technet.com/b/canitpro/">http://blogs.technet.com/b/canitpro/</a> </li>
<li>IT Manager: <a title="http://blogs.technet.com/b/cdnitmanagers/" href="http://blogs.technet.com/b/cdnitmanagers/">http://blogs.technet.com/b/cdnitmanagers/</a> </li>
<li>Developer: <a title="http://blogs.msdn.com/b/cdndevs/" href="http://blogs.msdn.com/b/cdndevs/">http://blogs.msdn.com/b/cdndevs/</a> </li>
</ul>
</blockquote>
<p><strong>LinkedIn</strong></p>
<blockquote><p><a title="http://www.linkedin.com/groups/Canadian-IT-Professional-Connection-4135429?trk=myg_ugrp_ovr" href="http://www.linkedin.com/groups/Canadian-IT-Professional-Connection-4135429?trk=myg_ugrp_ovr">http://www.linkedin.com/groups/Canadian-IT-Professional-Connection-4135429?trk=myg_ugrp_ovr</a></p>
</blockquote>
<p><strong>IT Camps</strong></p>
<p>Pierre, Anthony and Mitch from the Microsoft Canada IT Pro Team have delivered many IT Camps across Canada and more planned to give attendee’s hands on experience and learn how to get the most value for your organization. More events are planned this year covering topics such as:</p>
<blockquote><p>•&#160;&#160;&#160; Windows 8      <br />•&#160;&#160;&#160; Windows Server 2012       <br />•&#160;&#160;&#160; System Center 2012       <br />•&#160;&#160;&#160; Private Cloud       <br />•&#160;&#160;&#160; BYOD – Management and Security</p>
</blockquote>
<p>You can see what events are planned near you by visiting the <a href="http://plancast.com/canitpro?prod=zOTprodz&amp;tech=zOTtechz&amp;prog=zOTprogz&amp;type=zEVz&amp;media=zOTmediaz&amp;loc=zbtfz_zrrz&amp;country=zCAz">Canadian IT Pro Connection Plancast Feed</a>.</p>
<h2>Available Resources</h2>
<p>Here are some of the recent resources the IT Pro team has provided, as well as other resources that offer great opportunities to learn about Microsoft IT solutions:</p>
<blockquote><p>Voucher Offers: <a title="http://blogs.technet.com/b/canitpro/archive/2012/03/12/the-best-time-to-pass-the-70-659-windows-server-virtualization-exam-is-now.aspx" href="http://blogs.technet.com/b/canitpro/archive/2012/03/12/the-best-time-to-pass-the-70-659-windows-server-virtualization-exam-is-now.aspx">http://blogs.technet.com/b/canitpro/archive/2012/03/12/the-best-time-to-pass-the-70-659-windows-server-virtualization-exam-is-now.aspx</a></p>
<p>Windows 8 Technical Content:</p>
<ul>
<li><a href="http://blogs.technet.com/b/canitpro/archive/2012/10/29/windows-8-the-least-spooky-thing-to-come-out-this-october.aspx">Windows 8: The least spooky thing to come out this October</a> </li>
<li><a href="http://blogs.technet.com/b/canitpro/archive/2012/10/29/windows-8-the-least-spooky-thing-to-come-out-this-october.aspx">Security Concepts</a> </li>
<li><a href="http://blogs.technet.com/b/canitpro/archive/2013/03/06/windows-8-from-an-enterprise-point-of-view.aspx">Enterprise Focused Content</a> </li>
<li><a href="http://blogs.technet.com/b/canitpro/archive/2013/03/06/windows-8-amp-system-center-2012-sp1-the-complete-solution.aspx">Windows 8 and System Center 2012 Integration</a> </li>
<li><a href="http://www.microsoft.com/en-us/download/details.aspx?id=34798">Windows 8 Resource Guide for IT Professionals</a> </li>
</ul>
<p>Software Evaluations: <a title="http://technet.microsoft.com/en-ca/evalcenter/default.aspx" href="http://technet.microsoft.com/en-ca/evalcenter/default.aspx">http://technet.microsoft.com/en-ca/evalcenter/default.aspx</a></p>
<p>Microsoft Virtual Academy: <a title="http://www.microsoftvirtualacademy.com/" href="http://www.microsoftvirtualacademy.com/">http://www.microsoftvirtualacademy.com/</a></p>
<p>Microsoft TechNet Newsletters: <a title="http://technet.microsoft.com/en-ca/cc543196" href="http://technet.microsoft.com/en-ca/cc543196">http://technet.microsoft.com/en-ca/cc543196</a></p>
</blockquote>
<img src="http://feeds.feedburner.com/~r/InsideLync/~4/TXTd6_A697s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.insidelync.com/2013/03/microsoft-canadas-it-pro-team-wants-your-feedback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.insidelync.com/2013/03/microsoft-canadas-it-pro-team-wants-your-feedback/</feedburner:origLink></item>
		<item>
		<title>A Fix for the Lync 2010 Control Panel Crash Issue on VMWare</title>
		<link>http://feedproxy.google.com/~r/InsideLync/~3/mPglOaMUliU/</link>
		<comments>http://blog.insidelync.com/2013/03/a-fix-for-the-lync-2010-control-panel-crash-issue-on-vmware/#comments</comments>
		<pubDate>Thu, 21 Mar 2013 15:50:53 +0000</pubDate>
		<dc:creator>Curtis Johnstone</dc:creator>
				<category><![CDATA[Lync 2013]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[microsoft lync control panel crash]]></category>
		<category><![CDATA[microsoft lync control panel crash AdminUIHost AppCrash]]></category>

		<guid isPermaLink="false">http://blog.insidelync.com/2013/03/a-fix-for-the-lync-2010-control-panel-crash-issue-on-vmware/</guid>
		<description><![CDATA[Tweet<p>For those living with the annoying issue of the Lync Server 2010 Control Panel crashing on a VMWare image, a fix has quietly been released in the form of a new update to Silverlight (which was the underlying cause).</p> <p>The original issue was caused by a Silverlight 5.x update (specifically Silverlight 5.1.10411.0) and the <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.insidelync.com/2013/03/a-fix-for-the-lync-2010-control-panel-crash-issue-on-vmware/">A Fix for the Lync 2010 Control Panel Crash Issue on VMWare</a></span>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton667" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.insidelync.com%2F2013%2F03%2Fa-fix-for-the-lync-2010-control-panel-crash-issue-on-vmware%2F&amp;text=A%20Fix%20for%20the%20Lync%202010%20Control%20Panel%20Crash%20Issue%20on%20VMWare&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fblog.insidelync.com%2F2013%2F03%2Fa-fix-for-the-lync-2010-control-panel-crash-issue-on-vmware%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.insidelync.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>For those living with <a href="http://blog.insidelync.com/2012/05/lync-control-panel-issue-adminuihost/">the annoying issue of the Lync Server 2010 Control Panel crashing on a VMWare image</a>, a fix has quietly been released in the form of a new update to Silverlight (which was the underlying cause).</p>
<p>The original issue was caused by a Silverlight 5.x update (specifically Silverlight 5.1.10411.0) and the only workaround was to rollback to Silverlight 4.x. This was annoying when updates applied to the image re-upgraded Silverlight to the 5.1 version and the issue surfaced again.</p>
<p>On March 12, 2013 Microsoft released an update to Silverlight 5: see <a href="https://support.microsoft.com/kb/2814124">MS13-022: Vulnerability in Silverlight could allow remote code execution</a>.</p>
<p>This updates Silverlight to be 5.1.20125.0 and has resolved the issue in my lab.</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/03/clip_image0012.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image001" border="0" alt="clip_image001" src="http://blog.insidelync.com/wp-content/uploads/2013/03/clip_image001_thumb2.png" width="703" height="109" /></a></p>
<p>I became aware of this fix in the <a href="http://communities.vmware.com/message/2005873">VMWare community thread posting that described the issue</a>.</p>
<img src="http://feeds.feedburner.com/~r/InsideLync/~4/mPglOaMUliU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.insidelync.com/2013/03/a-fix-for-the-lync-2010-control-panel-crash-issue-on-vmware/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.insidelync.com/2013/03/a-fix-for-the-lync-2010-control-panel-crash-issue-on-vmware/</feedburner:origLink></item>
		<item>
		<title>De-Provisioning a Lync User</title>
		<link>http://feedproxy.google.com/~r/InsideLync/~3/eLyfAArmPa4/</link>
		<comments>http://blog.insidelync.com/2013/03/de-provisioning-a-lync-user/#comments</comments>
		<pubDate>Wed, 13 Mar 2013 19:30:20 +0000</pubDate>
		<dc:creator>Curtis Johnstone</dc:creator>
				<category><![CDATA[De-provisioning]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[microsoft lync deprovision]]></category>
		<category><![CDATA[Microsoft Lync disable account]]></category>
		<category><![CDATA[microsoft lync disable-csUser Set-CsUser enable disable]]></category>

		<guid isPermaLink="false">http://blog.insidelync.com/2013/03/de-provisioning-a-lync-user/</guid>
		<description><![CDATA[Tweet<p>The word ‘de-provision’ doesn’t show up in many dictionaries, but it is an important word for IT shops.</p> <p>For Microsoft Lync Administrators it typically refers to performing two actions on an existing Lync user: disabling access to Lync and then removing the resources associated with that users Lync account. The common use-case for doing <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.insidelync.com/2013/03/de-provisioning-a-lync-user/">De-Provisioning a Lync User</a></span>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton661" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.insidelync.com%2F2013%2F03%2Fde-provisioning-a-lync-user%2F&amp;text=De-Provisioning%20a%20Lync%20User&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fblog.insidelync.com%2F2013%2F03%2Fde-provisioning-a-lync-user%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.insidelync.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>The word ‘de-provision’ doesn’t show up in many dictionaries, but it is an important word for IT shops.</p>
<p>For Microsoft Lync Administrators it typically refers to performing two actions on an existing Lync user: disabling access to Lync and then removing the resources associated with that users Lync account. The common use-case for doing this is if an employee leaves or is terminated.</p>
<p>De-provisioning a Lync user can be accomplished in several ways. This blog post covers the pros and cons of the various known methods. Some of this has been discussed in the community before, but I wanted to present my experience with several options for the benefit of others.</p>
<h3>Disabling the Associated AD Account</h3>
<p>De-provisioning a user is easy right?</p>
<p>When an employee ceases employment at a company, most Lync deployments simply disable the Active Directory user associated with the Lync account. However, in Lync Server this does not disable the users ability to use Lync while they are currently logged on (e.g. to their Windows workstation with a Lync client), and further, it will likely not prevent the Lync user from signing back into Lync again either (while authenticated to the domain). Here why:</p>
<ul>
<li>Lync Server 2010 authentication leverages Kerberos and NTLM authentication for sign-in by default. </li>
<li>If the user selects the “Save my password” checkbox on the Lync client sign-in dialog, the user is sent an X.509 certificate generated by the Lync server. </li>
<li>This certificate by default is good for 180 days, so even if the AD account is disabled, the user can still sign-in to Lync (worst case for up to 180 days). The certificate is stored in the user’s Personal Certificate Store. </li>
<li>The employee is also able to continue to use the full Lync functionality on any active session. </li>
<li>This holds true for any Lync deployment using Kerberos and NTLM authentication with client certificates.&#160; Remote users and domain-joined users with a valid certificate with be able to access Lync. </li>
</ul>
<p>Microsoft Exchange MCM and MVP Jeff Guillet has <a href="http://www.expta.com/2011/03/disabling-user-in-ad-does-not-disable.html">a really good article</a> that includes more information on this.&#160; </p>
<p>In this post, I explore what options are available to de-provision a Lync account, and explore the pros-and-cons of each.</p>
<p>Before we get to that, <u>what exactly does disabling the AD account do in terms of Lync functionality then</u>? </p>
<p>The short answer: nothing. Disabling the AD account of a Lync user has no immediate affect on the associated Lync user functionality:</p>
<ol>
<li>The AD attribute <strong>msRTCSIP-UserEnabled</strong> is unaffected. </li>
<li>The Lync “Enabled” attribute (as shown in the Lync Control Panel, and the Get-CsUser, Get-CsAdUser cmdlet’s) is unaffected. </li>
</ol>
<p>This reinforces the Golden Rule for Lync user provisioning starting in Lync Server 2010: after the based user AD account is provisioned <strong>settings related to a Lync user should be changed through Lync, not AD, even if similar AD attributes exist -</strong> a lesson learned previously for provisioning Federation and Remote Access: <a href="http://blog.insidelync.com/2011/05/configuring-user-federation-remote-access-and-public-im-in-lync/">Configuring User Federation, Remote Access, and Public IM in Lync</a>.</p>
<h3><strong>Possible Solutions</strong></h3>
<p>Here are my experiences with the methods available to de-provision a Lync user account.</p>
<h4><strong>1] Disable the Lync User using Disable-CsUser</strong></h4>
<p>A common recommended solution is to use the Lync <a href="http://technet.microsoft.com/en-us/library/gg398747.aspx">Disable-CsUser</a> cmdlet. The big advantage of this method is that it prevents users from using Lync Server, and more importantly<strong> disconnects any active Lync sessions</strong> as shown in this example of an active Lync user being disconnected:</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/03/image.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/03/image_thumb.png" width="480" height="411" /></a></p>
<p><strong>Tip</strong> &#8211; it will take a few minutes for a signed-in user to become disconnected however they will be unable to access any Lync features, such as new IM, web conferencing, or Enterprise Voice calls while they are signed in.</p>
<p>The major disadvantage of this method is that is it <strong>deletes all the attribute information related to Lync Server from the AD user account, Lync settings such as policy assignments, and all Lync user data (including the users’ contact list and any scheduled conferences).&#160; </strong></p>
<p>On the surface this sounds fine since we want to get rid of the Lync account anyway, but corporate provisioning ‘systems’ (everything from homegrown scripts to solutions which integrate HR systems and Active Directory) have been known to have bugs and will inadvertently disable users that should not be. Using <u>Disable-CsUser</u> makes it impossible to easily restore the Lync user account to what it was!</p>
<p>For this reason, if there is any doubt that the Lync user account should not be fully removed, the better option is to use the <a href="http://technet.microsoft.com/en-us/library/gg398510.aspx">Set-CsUser</a> cmdlet instead – which is discussed in the next section.</p>
<p><strong>Tips:</strong></p>
<ol>
<li>I have found that the disabled Lync user will remain on the contact lists of other Lync users once the account is restored with Enable-CsUser. </li>
<li>You can quickly re-enable the Lync account with Enable-CsUser (but the Lync account will be equivalent to a new account with no contact lists, policy settings, etc…).&#160; Enable-CsUser requires 3 parameters:&#160; Identity, SIP address, and home registrar as in this example:
<ul>
<p><a href="http://technet.microsoft.com/en-us/library/gg398711.aspx">Enable-CsUser</a> -Identity <a href="mailto:ExampleUser@domain.com">ExampleUser@domain.com</a> -SipAddress sip:ExampleUser@domain.com –RegistrarPool LyncPool.domain.com           </p>
</ul>
<ul></ul>
</li>
</ol>
<h4><strong>2] Disable the Lync User using Set-CsUser</strong></h4>
<p>If we want to keep the Lync user account intact but disable it, use the Lync cmdlet: <a href="http://technet.microsoft.com/en-us/library/gg398510.aspx">Set-CsUser</a>. Unlike Disable-CsUser, the Set-CsUser can easily be reversed by setting the $Enabled parameter to $True – the user contact lists, scheduled conferences, and Lync settings stay intact as they were.</p>
<p>The big disadvantage to this method is that any current Lync sessions stay active – the user is not disconnected. So the question becomes, what functionality are they able to use during that active session after they have been disabled using this method?</p>
<p>Here are my experiences:</p>
<blockquote><p><strong>1) Presence, IM, and Conferencing is available for up to 5 minutes</strong></p>
<p><strong>2) Within 5 minutes of the user being disabled:</strong></p>
<ul>
<li>The user appears to remain signed in, however, </li>
<li>The user cannot use any Lync communication features. Any attempts to IM result in an error message like this: </li>
</ul>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/03/image1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/03/image_thumb1.png" width="498" height="224" /></a></p>
<p><strong>3) Any attempt to Conference (or Meet Now) generates an error, like this:</strong></p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/03/image2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/03/image_thumb2.png" width="495" height="237" /></a></p>
<p><strong>4) Attempts to initiate an IM with a disabled Lync user are rejected.&#160; The user appears offline to the caller. </strong></p>
</blockquote>
<p><strong>Important</strong>: my initial attempts at disabling the user with Set-CsUser were not good &#8211; the disabled Lync user could still IM, Conference, etc.. in their active session.&#160; I attributed this to either unpatched Lync 2010 Clients, or not waiting long enough for the disable action to be effective. Suffice to say if you are running the the Lync 2010 Client <a href="http://technet.microsoft.com/en-us/lync/gg131945">make sure it has the most up-to-date hotfixes installed</a>.</p>
<p><strong>Tip -&#160; </strong>the $Enabled parameter on this cmdlet is the same setting used by the Lync Control Panel to disable a Lync server user. It also corresponds to the AD attribute <strong>msRTCSIP-UserEnabled</strong>, but again it should be set through the Lync cmdlet’s or the Lync Control Panel, not through AD. I point that out because some provisioning systems still use AD only.</p>
<h4><strong>3] Revoke the Lync Client Certificate</strong></h4>
<p>As Jeff Gulliet points out in his article, you can revoke the client certificate used for authentication by using the <a href="http://technet.microsoft.com/en-us/library/gg425748.aspx">Revoke-CsCertificate</a> cmdlet which will disable the ability to sign-in to Lync. After about 3 minutes revoking the certificate, the user will receive this error message when they try to sign back into Lync:</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/03/image3.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/03/image_thumb3.png" width="357" height="221" /></a></p>
<p>The disadvantage is that will not affect the users current active Lync session, and it will not restrict Lync functionality during that session. I tried this myself, and indeed the Lync user can IM, conference, and use other Lync features.</p>
<p>Also, I have not found an good method to restore the certificate once it is revoked, which makes reversing this change difficult.</p>
<h4><strong>4] Change the SIP Address to Something Invalid</strong></h4>
<p>While this option initially seemed absurd, it had it’s advantages: the Lync user would not be able to sign-in again and it is easily reversed if there was a mistake.</p>
<p>You have two options here: change the left-hand-side (LHS) of the SIP address, or the right-hand-side (RHS) which is the FQDN.</p>
<p>Neither the Lync Control Panel or Lync PowerShell rightfully allows a setting on the right-hand-side to a domain that is not supported in the Lync deployment, so this is not an option.</p>
<p>You can change the LHS (the username part of the SIP address) using the Set-CsUser cmdlet with the –SipAddress parameter.</p>
<p>Surprisingly, this worked! And better yet, the Lync user is actually disconnected <em>immediately</em> as shown below.</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/03/image4.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/03/image_thumb4.png" width="462" height="357" /></a></p>
<p>Also, the change was easily reversed by using the Set-CsUser cmdlet to change the SIP address back to it’s original.</p>
<p>While this seems to work on the surface, here are some points to consider:</p>
<ul>
<li>The disabled Lync user could still sign-in with the new SIP address if they are clever enough to figure-out what the new SIP address is, so use in conjunction with disabling the Lync account with the Set-CsUser method. </li>
<li>Programmatically finding a SIP address that is absolutely not already in use could be a challenge (although you should be safe appending something like “123456” onto the end of the LHS of an existing SIP address. </li>
<li>It can lead to confusion – the SIP address is now disjoint from the user principal AD account. </li>
<li>Be sure to fully de-provision the account at a later time using the Disable-CsUser cmdlet to clean up the resources. </li>
<li>If the change is reversed and the SIP address is changed back to what it was, in my testing, other Lync users will be required to sign-out and sign-back in again to see the restored Lync users presence. </li>
</ul>
<p><strong>Caveat Emperor</strong>: I haven’t fully vetted this solution in a production environment, only in a lab. It does appear to be effective though and could be tested further if you have a need to disconnect the Lync user immediately.</p>
<p>If your provisioning system still only has access to AD (and not PowerShell – yikes!) this could be your best option.</p>
<h4>Recommendation</h4>
<p>Unless you have a need to disconnect the active Lync session immediately, I believe a two stage process using Set-CsUser and Disable-CsUser is the best.&#160; Disable the Lync user with the Set-CsUser cmdlet (or the Lync Control Panel) first, and then after some safe amount of time fully de-provision the Lync account with Disable-CsUser.</p>
<p>Below is a quick Lync Management PowerShell script that you can use to identify AD accounts that are disabled but have a corresponding Lync user account that is still enabled – a situation you probably want to avoid for security reasons:</p>
<blockquote><p>Write-Host      <br />Write-Host &quot;Lync enabled accounts that have disabled AD accounts:&quot;</p>
<p>Foreach ($LyncUser in Get-CsAdUser)      <br />{       <br />&#160;&#160;&#160; Foreach ($value in $LyncUser.UserAccountControl)       <br />&#160;&#160;&#160; {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; if ($value.ToString() -like &quot;AccountDisabled*&quot;)       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if ($LyncUser.Enabled -eq $True)       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Write-Host &quot;&#160; &gt; &quot; $LyncUser.Name &quot; (&quot; $LyncUser.SipAddress &quot;)&quot;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }       <br />&#160;&#160;&#160; }       <br />}</p>
</blockquote>
<p>Powershell guru’s will note this can be done on one line <img src='http://blog.insidelync.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  but I put it into loops so people can easily modify it.</p>
<h3>References</h3>
<ul>
<li>The EXPTA Blog: <a href="http://www.expta.com/2011/03/disabling-user-in-ad-does-not-disable.html">Disabling a User in AD Does Not Disable the User In Lync</a> </li>
<li><a href="http://blogs.technet.com/b/nexthop/archive/2012/11/28/lync-2010-client-authentication.aspx">Microsoft NextHop: Lync 2010 Client Authentication</a> </li>
</ul>
<img src="http://feeds.feedburner.com/~r/InsideLync/~4/eLyfAArmPa4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.insidelync.com/2013/03/de-provisioning-a-lync-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.insidelync.com/2013/03/de-provisioning-a-lync-user/</feedburner:origLink></item>
		<item>
		<title>New Lync 2013 Mobile Clients &amp; VOIP have Arrived</title>
		<link>http://feedproxy.google.com/~r/InsideLync/~3/NKLWcBu3zcM/</link>
		<comments>http://blog.insidelync.com/2013/02/new-lync-2013-mobile-clients-voip-have-arrived/#comments</comments>
		<pubDate>Tue, 19 Feb 2013 18:40:43 +0000</pubDate>
		<dc:creator>Curtis Johnstone</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Lync 2013 iphone ipad android "windows phone 8"]]></category>
		<category><![CDATA[Lync 2013 Mobile Clients]]></category>
		<category><![CDATA[Microsoft Lync 2013 Mobile]]></category>

		<guid isPermaLink="false">http://blog.insidelync.com/2013/02/new-lync-2013-mobile-clients-voip-have-arrived/</guid>
		<description><![CDATA[Tweet<p>April 4, 2013 Update: the Lync 2013 client for Android is now available:</p> Download: https://play.google.com/store/apps/details?id=com.microsoft.office.lync15 Troubleshooting issues with Microsoft Lync 2013 for Android: http://support.microsoft.com/kb/2834018/en-us Android smartphone devices that are supported for use with Lync 2013 for Android: http://support.microsoft.com/kb/2829747/en-us <p>March 12, 2013 Update: the Lync 2013 Mobile Clients for the iPhone, iPad, and the Windows <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.insidelync.com/2013/02/new-lync-2013-mobile-clients-voip-have-arrived/">New Lync 2013 Mobile Clients &#38; VOIP have Arrived</a></span>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton622" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.insidelync.com%2F2013%2F02%2Fnew-lync-2013-mobile-clients-voip-have-arrived%2F&amp;text=New%20Lync%202013%20Mobile%20Clients%20%26amp%3B%20VOIP%20have%20Arrived&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fblog.insidelync.com%2F2013%2F02%2Fnew-lync-2013-mobile-clients-voip-have-arrived%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.insidelync.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p><strong>April 4, 2013 Update:</strong> the Lync 2013 client for Android is now available:</p>
<ul>
<li>Download: <a title="https://play.google.com/store/apps/details?id=com.microsoft.office.lync15" href="https://play.google.com/store/apps/details?id=com.microsoft.office.lync15">https://play.google.com/store/apps/details?id=com.microsoft.office.lync15</a> </li>
<li>Troubleshooting issues with Microsoft Lync 2013 for Android: <a href="http://support.microsoft.com/kb/2834018/en-us">http://support.microsoft.com/kb/2834018/en-us</a> </li>
<li>Android smartphone devices that are supported for use with Lync 2013 for Android: <a href="http://support.microsoft.com/kb/2829747/en-us">http://support.microsoft.com/kb/2829747/en-us</a> </li>
</ul>
<p><strong>March 12, 2013 Update</strong>: the Lync 2013 Mobile Clients for the iPhone, iPad, and the Windows Phone are now available in their respective app stores. These new clients enable voice and video over IP and point-to-point and multi-party video. Here are the links to the respective mobile client downloads:</p>
<ul>
<li><strong>iPad</strong>: <a title="https://itunes.apple.com/us/app/microsoft-lync-2013-for-ipad/id605608899?mt=8" href="https://itunes.apple.com/us/app/microsoft-lync-2013-for-ipad/id605608899?mt=8">https://itunes.apple.com/us/app/microsoft-lync-2013-for-ipad/id605608899?mt=8</a> </li>
<li><strong>iPhone</strong>: <a title="https://itunes.apple.com/us/app/microsoft-lync-2013-for-iphone/id605841731?mt=8" href="https://itunes.apple.com/us/app/microsoft-lync-2013-for-iphone/id605841731?mt=8">https://itunes.apple.com/us/app/microsoft-lync-2013-for-iphone/id605841731?mt=8</a> </li>
<li><strong>Windows Phone 8</strong>: <a title="http://www.windowsphone.com/en-us/store/app/lync-2013/d85d8a57-0f61-4ff3-a0f4-444e131d8491" href="http://www.windowsphone.com/en-us/store/app/lync-2013/d85d8a57-0f61-4ff3-a0f4-444e131d8491">http://www.windowsphone.com/en-us/store/app/lync-2013/d85d8a57-0f61-4ff3-a0f4-444e131d8491</a> </li>
</ul>
<p><strong>Important Notes</strong>:</p>
<ul>
<li>The new Lync 2013 clients require <strong>Lync Server 2013 with CU1 installed</strong> or they will not connect (they will return an “incorrect version” error message). This includes the Lync 2013 Edge server. Here is a good blog entry explain this: <a href="http://blogs.technet.com/b/lync/archive/2013/03/12/why-is-lync-2013-mobile-asking-me-to-use-lync-2010.aspx">Why is Lync 2013 Mobile asking me to use Lync 2010?</a> </li>
<li>I have heard several reports that the Windows Phone 8 update is <strong>only currently available in the US and Canada</strong>. Other regions will likely get an “App not available” error when trying to install.&#160; I am not sure when other regions will become available. </li>
<li>The iOS clients require iOS 6.x. </li>
</ul>
<p>You can read more about the recent Lync 2013 Mobile Client release in the Next Hop article here: <a title="http://blogs.technet.com/b/lync/archive/2013/03/11/lync-2013-mobile-apps-available-for-windows-phone-and-ios.aspx" href="http://blogs.technet.com/b/lync/archive/2013/03/11/lync-2013-mobile-apps-available-for-windows-phone-and-ios.aspx">http://blogs.technet.com/b/lync/archive/2013/03/11/lync-2013-mobile-apps-available-for-windows-phone-and-ios.aspx</a>.</p>
<hr />
<p>As expected at the <a href="http://lyncconf.com">Microsoft Lync 2013 Conference</a>, the new Lync 2013 Mobile Clients were announced with live demonstrations and the headline feature is support in the Lync 2013 Mobile clients for voice, video, and data collaboration over IP on all major devices allowing Lync voice and video calls over <strong>WiFi</strong>, 3G, and 4G. This is significant and truly brings full mobility experience to Lync.</p>
<p>No specific release dates were given, but the new Lync 2013 mobile clients for the iOS (iPhone and iPad) and Windows phone are expected in early <strong>March</strong>.&#160; The Android client is expected in <strong>April</strong>. Screenshots of the new clients are included below.</p>
<p>The Lync 2013 iPad client demonstration was impressive. In addition to voice and video over IP, users can also share desktops and applications in the Lync meeting experience.</p>
<p>You can see live demo’s of all the mobile client demo’s in the Keynote which is available here: <a href="http://www.lyncconf.com/media.aspx">http://www.lyncconf.com/media.aspx</a>. You can skip ahead to see specific clients in action:</p>
<ul>
<li><u>Windows 8 Mobile</u>: 31:43 (min:sec) </li>
<li><u>Android</u>: 36:51 (min:sec) </li>
<li><u>iPhone</u>: 38:52 (min:sec) </li>
<li><u>iPad</u>: 40:40 (min:sec) </li>
</ul>
<p>Specifically, today’s announcement enables the following on iPhones, iPad, Windows Phone and Android:</p>
<ol>
<li>Audio over IP (VOIP) for both Peer-to-Peer and Multiparty (with Gallery View available) </li>
<li>Video over IP </li>
<li>Active Speaker Video </li>
</ol>
<p>The Lync 2013 mobile clients <strong>will need CU1 installed on the Lync 2013 server to stream the audio/video. </strong>Read <font style="font-weight: normal">“<a href="http://blogs.technet.com/b/lync/archive/2013/03/12/why-is-lync-2013-mobile-asking-me-to-use-lync-2010.aspx">Why is Lync 2013 Mobile asking me to use Lync 2010?</a>” for more information.</font></p>
<p><strong>Server Compatibility with the Lync 2013 and Lync 2010 Mobile Clients</strong></p>
<p>Below is a table which describes the user experience with the different versions of the mobile clients and the Lync Server 2010 and Lync Server 2013:</p>
<table border="1" cellspacing="0" cellpadding="2" width="726">
<tbody>
<tr>
<td valign="top" width="97">&#160;</td>
<td valign="top" width="146"><strong>Lync Server 2010</strong> (with Mobility Service)</td>
<td valign="top" width="157"><strong>Lync Server 2013</strong> (without “CU1”)</td>
<td valign="top" width="168"><strong>Lync Server 2013</strong> (with “CU1”)</td>
<td valign="top" width="156"><strong>Lync Server 2013</strong> (with “CU1” but Mobility Disabled)</td>
</tr>
<tr>
<td valign="top" width="101"><strong>Lync 2010</strong> Mobile Clients</td>
<td valign="top" width="145">
<p align="center">YES</p>
</td>
<td valign="top" width="160">
<p align="center">YES</p>
</td>
<td valign="top" width="167">
<p align="center">YES</p>
<p align="center">(plus a notification to upgrade to the latest version of the mobile client)</p>
</td>
<td valign="top" width="156">
<p align="center">Error: “Cannot sign in because you are not setup to use Lync 2013”</p>
</td>
</tr>
<tr>
<td valign="top" width="103"><strong>Lync 2013</strong> Mobile Clients</td>
<td valign="top" width="144">
<p align="center">Error: “You can’t sign in with this version of Lync. Please install Lync 2010”</p>
</td>
<td valign="top" width="162">
<p align="center">Error: “You can’t sign in with this version of Lync. Please install Lync 2010”</p>
</td>
<td valign="top" width="166">
<p align="center">YES</p>
</td>
<td valign="top" width="156">
<p align="center">Error: “Cannot sign in because you are not setup to use Lync 2013”</p>
</td>
</tr>
</tbody>
</table>
<p><strong></strong></p>
<p><strong>Other Noteworthy Points about Lync Mobile</strong></p>
<ul>
<li>In the testing done to-date the battery usage has been very good (even on the iOS). The push notification methods are proving to be very efficient. </li>
<li>Microsoft is not leveraging Apple’s push notification service; they have their own. </li>
<li>BlackBerry is on the roadmap, but there are no timelines but Microsoft is actively looking at. </li>
<li>Desktop and application sharing for all major smartphones are on the roadmap for the future. </li>
<li>There are settings on the all mobile clients to control whether Wi-Fi is required for Voice and Video </li>
<li>Lync Server 2013 Administrative Controls exist to control the mobile experience for things such as the ability to:
<ul>
<li>Require Wi-Fi for IP Audio and Video </li>
<li>Limit data usage by employees </li>
<li>Block push notifications </li>
<li>Disabling saving history </li>
</ul>
</li>
<li>Android tablets are on the roadmap but no current specific plans </li>
<li>The Lync mobile clients will support call-via-work with VoIP </li>
</ul>
<p>Here are some screenshots of the new Lync 2013 Mobile client on various devices from the keynote:</p>
<table border="0" cellspacing="0" cellpadding="2" width="676">
<tbody>
<tr>
<td valign="top" width="450">
<h5>Windows Phone 8</h5>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/02/image.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/02/image_thumb.png" width="244" height="139" /></a></p>
</td>
<td valign="top" width="224">
<h5>Android</h5>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/02/image1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/02/image_thumb1.png" width="148" height="296" /></a></p>
</td>
</tr>
<tr>
<td valign="top" width="468">
<h5>iPad</h5>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/02/image2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/02/image_thumb2.png" width="387" height="302" /></a></p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/02/image3.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/02/image_thumb3.png" width="394" height="316" /></a></p>
</td>
<td valign="top" width="235">
<h5>iPhone</h5>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/02/image4.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.insidelync.com/wp-content/uploads/2013/02/image_thumb4.png" width="139" height="302" /></a></p>
</td>
</tr>
</tbody>
</table>
<h4>Mobility Feature List</h4>
<p><img border="0" alt="[2013features1%255B3%255D.png]" src="http://lh5.ggpht.com/-R3NH7m_gcbg/USTox5QBgGI/AAAAAAAAHJY/QuDkpgXKfrU/s1600/2013features1%25255B3%25255D.png" /></p>
<p>You can read more about this announcement and others at the Lync 2013 conference here:</p>
<ul>
<li><a href="http://blogs.technet.com/b/microsoft_blog/archive/2013/02/19/re-humanizing-communications-from-the-living-room-to-the-boardroom.aspx">Future of Communications: Rehumanizing the Experience from the Living Room to the Boardroom</a> </li>
<li><a href="http://www.zdnet.com/microsoft-to-begin-connecting-skype-and-lync-by-june-2013-7000011488/">Microsoft to begin connecting Skype and Lync by June 2013</a> </li>
<li><a href="http://windowspbx.blogspot.ca/2013/02/microsoft-lync-mobile-2013-everything.html">Microsoft Lync Mobile 2013: Everything You Wanted to Know</a> </li>
<li><a href="http://office.microsoft.com/en-us/microsoft-lync-2013-for-mobile-clients-HA104019126.aspx">Microsoft Lync 2013 for Mobile Clients</a> </li>
</ul>
<img src="http://feeds.feedburner.com/~r/InsideLync/~4/NKLWcBu3zcM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.insidelync.com/2013/02/new-lync-2013-mobile-clients-voip-have-arrived/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		<feedburner:origLink>http://blog.insidelync.com/2013/02/new-lync-2013-mobile-clients-voip-have-arrived/</feedburner:origLink></item>
		<item>
		<title>February 2013 Update for the Lync 2013 Client</title>
		<link>http://feedproxy.google.com/~r/InsideLync/~3/cAxLV6jbX8s/</link>
		<comments>http://blog.insidelync.com/2013/02/february-2013-updates-for-the-lync-2013-client/#comments</comments>
		<pubDate>Wed, 13 Feb 2013 15:52:19 +0000</pubDate>
		<dc:creator>Curtis Johnstone</dc:creator>
				<category><![CDATA[Client]]></category>
		<category><![CDATA[Lync 2013]]></category>
		<category><![CDATA[Microsoft Lync]]></category>
		<category><![CDATA[Lync 2013 client CU1]]></category>
		<category><![CDATA[Lync 2013 client updates]]></category>

		<guid isPermaLink="false">http://blog.insidelync.com/2013/02/february-2013-updates-for-the-lync-2013-client/</guid>
		<description><![CDATA[Tweet<p>A new update (aka CU1) for the Lync 2013 Client is available: http://support.microsoft.com/kb/2812461.&#160; There is not an associated Lync 2013 Server update yet but stay tuned.&#160; Also, this update is just for the Windows Lync Client, not the VDI plug-in and other clients.</p> <p>This update fixes some bugs (including some presence update issues with <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.insidelync.com/2013/02/february-2013-updates-for-the-lync-2013-client/">February 2013 Update for the Lync 2013 Client</a></span>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton616" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.insidelync.com%2F2013%2F02%2Ffebruary-2013-updates-for-the-lync-2013-client%2F&amp;text=February%202013%20Update%20for%20the%20Lync%202013%20Client&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fblog.insidelync.com%2F2013%2F02%2Ffebruary-2013-updates-for-the-lync-2013-client%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.insidelync.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>A new update (aka CU1) for the Lync 2013 Client is available: <a title="http://support.microsoft.com/kb/2812461" href="http://support.microsoft.com/kb/2812461">http://support.microsoft.com/kb/2812461</a>.&#160; There is not an associated Lync 2013 <strong>Server</strong> update yet but stay tuned.&#160; Also, this update is just for the Windows Lync Client, not the VDI plug-in and other clients.</p>
<p>This update fixes some bugs (including some presence update issues with Outlook), improves quality, and has some noteworthy new improvements such as the ability to hide offline contacts in your contact list, and improved handling of devices that have both a front-and-rear facing camera.</p>
<p>The download links are at the bottom of the <a href="http://support.microsoft.com/kb/2812461">KB article</a>. You will see two installation packages: <strong>Lyncloc</strong> and <strong>Msores</strong>.&#160; <strong>You will need to install both packages</strong>.</p>
<p>Also, in case you missed it, there were significant new updates for Lync for Mac 2011 released in recently in January: <a href="http://blogs.technet.com/b/nexthop/archive/2013/02/01/update-for-lync-for-mac-2011-january-2013.aspx">Update for Lync for Mac 2011: January 2013</a>.</p>
<img src="http://feeds.feedburner.com/~r/InsideLync/~4/cAxLV6jbX8s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.insidelync.com/2013/02/february-2013-updates-for-the-lync-2013-client/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://blog.insidelync.com/2013/02/february-2013-updates-for-the-lync-2013-client/</feedburner:origLink></item>
		<item>
		<title>Top 5 New Lync 2013 PowerShell Features</title>
		<link>http://feedproxy.google.com/~r/InsideLync/~3/AyNICTP7zD0/</link>
		<comments>http://blog.insidelync.com/2013/01/top-5-new-lync-2013-powershell-functionality/#comments</comments>
		<pubDate>Wed, 30 Jan 2013 23:53:43 +0000</pubDate>
		<dc:creator>Curtis Johnstone</dc:creator>
				<category><![CDATA[Lync 2013]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Microsoft Lync 2013 PowerShell]]></category>
		<category><![CDATA[microsoft lync 2013 powershell cmdlets]]></category>
		<category><![CDATA[Microsoft Lync Top 5 New Lync 2013 PowerShell Functionality]]></category>
		<category><![CDATA[microsoft powershell ISE]]></category>
		<category><![CDATA[microsoft powershell v3]]></category>

		<guid isPermaLink="false">http://blog.insidelync.com/2013/01/top-5-new-lync-2013-powershell-functionality/</guid>
		<description><![CDATA[Tweet<p>Microsoft Lync Server 2013 ships with Microsoft PowerShell Version 3.0 which has many improvements to the PowerShell command line interface. Coupled with new additions in the Microsoft Lync PowerShell module, the two bring a lot of great new things to the Lync Administration table. This blog post contains the top 5 things I have <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.insidelync.com/2013/01/top-5-new-lync-2013-powershell-functionality/">Top 5 New Lync 2013 PowerShell Features</a></span>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton611" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.insidelync.com%2F2013%2F01%2Ftop-5-new-lync-2013-powershell-functionality%2F&amp;text=Top%205%20New%20Lync%202013%20PowerShell%20Features&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fblog.insidelync.com%2F2013%2F01%2Ftop-5-new-lync-2013-powershell-functionality%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.insidelync.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Microsoft Lync Server 2013 ships with <a href="http://www.microsoft.com/en-us/download/details.aspx?id=34595">Microsoft PowerShell Version 3.0</a> which has many improvements to the PowerShell command line interface. Coupled with new additions in the Microsoft Lync PowerShell module, the two bring a lot of great new things to the Lync Administration table. This blog post contains the top 5 things I have discovered so far.</p>
<h3>1] The Show-Command CmdLet</h3>
<p>The new PowerShell V3 <strong>Show-Command</strong> cmdlet bridges a bit of the gap between a CLI and GUI interface – which eases some of the syntax-challenges with a CLI interface.</p>
<p>Running this cmdlet opens a small user interface with a list of all available PowerShell modules in your PowerShell session and a full listing of all of the cmdlet’s, aliases, drives, and functions available in those modules.</p>
<p>Even if you are comfortable with the command line, the new Show-Command cmdlet can help you:</p>
<ol>
<li>Easily discover and explore what cmdlet’s are available and what module they reside it (see the Tip below)</li>
<li>Easily see what parameters need to be entered to run the cmdlet</li>
</ol>
<p><strong>Tip</strong> &#8211; You can quickly filter on the cmdlet’s available in a particular PowerShell Module by using the Modules drop-down. Here is a screen shot with the filter applied to the Lync PowerShell module. This shows all the Lync Server 2013 cmdlets that are available.</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/01/clip_image001.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image001" src="http://blog.insidelync.com/wp-content/uploads/2013/01/clip_image001_thumb.png" border="0" alt="clip_image001" width="377" height="605" /></a></p>
<p>Hmm…notice the new <strong>LyncOnlineConnector</strong> module.</p>
<p>Any available cmdlet can be selected (or type its name in Name textbox), and the GUI presents a bottom panel with the parameters for that cmdlet. Below is a screen shot of the <strong>Get-CsUser cmdlet</strong>. The parameters can be supplied in the GUI and it can be run directly from the GUI  &#8211; which in-turn runs the cmdlet on the command line.</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/01/clip_image002.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image002" src="http://blog.insidelync.com/wp-content/uploads/2013/01/clip_image002_thumb.png" border="0" alt="clip_image002" width="396" height="636" /></a></p>
<p><strong> </strong></p>
<h3>2] Easily Return the Lync Policies Assigned to a User</h3>
<p>There is a new Lync Server 2013 PowerShell cmdlet called <strong><a href="http://technet.microsoft.com/en-us/library/jj204636.aspx">Get-CsEffectivePolicy</a></strong> that returns all the Lync policy assignments for a Lync user – regardless of whether the policy is a user policy, a service policy, a site policy, or the global policy. This simplifies user account management and reporting compared to Lync Server 2010.</p>
<p>In Lync Server 2010 the only cmdlet available to see which Lync policies have been assigned to a particular user was the <strong>Get-CsUser</strong> cmdlet – and this cmdlet only returns any <strong>user level</strong> policies; any assigned global, service, or site policies will not be shown (just a blank value beside the policy property). Instead, a non-trivial Lync Powershell script was required to return all of the policy assignments for a user as documented here: <a title="http://blogs.technet.com/b/csps/archive/2010/06/07/scriptuserpolicyassignments.aspx" href="http://blogs.technet.com/b/csps/archive/2010/06/07/scriptuserpolicyassignments.aspx">http://blogs.technet.com/b/csps/archive/2010/06/07/scriptuserpolicyassignments.aspx</a>.</p>
<p>Here is an example of how the Lync Server 2013 <strong>Get-CsEffectivePolicy</strong> simplifies life.</p>
<p>The Get-CsUser cmdlet’s returns the following 15 Lync policy assignments for user “Curtis Johnstone”:</p>
<blockquote><p>&gt; Get-CsUser &#8220;curtis johnstone&#8221;</p>
<p>…<br />
VoiceRoutingPolicy      :<br />
ConferencingPolicy      :<br />
PresencePolicy          :<br />
DialPlan                :<br />
LocationPolicy          :<br />
ClientPolicy            :<br />
ClientVersionPolicy     :<br />
ArchivingPolicy         :<br />
ExchangeArchivingPolicy :<br />
PinPolicy               :<br />
ExternalAccessPolicy    : User Policy<br />
MobilityPolicy          :<br />
PersistentChatPolicy    :<br />
UserServicesPolicy      :<br />
HostedVoicemailPolicy   :</p></blockquote>
<p>But the Get-CsEffectivePolicy returns all the policy assignments for the Lync user – regardless of whether they are user, site, service, or global policies as shown here:</p>
<blockquote><p><strong>&gt; Get-CsEffectivePolicy</strong> &#8220;curtis johnstone&#8221;<br />
Identity              : curtis johnstone<br />
ConferencingPolicy    : Global<br />
PresencePolicy        : Global<br />
LocationPolicy        : Global<br />
VoicePolicy           : Tag:International All<br />
LocationProfile       : Global<br />
ClientVersionPolicy   : Global<br />
ClientPolicy          : Global<br />
ImArchivingPolicy     : Global<br />
UserPinPolicy         : Global<br />
ExternalAccessPolicy  : Tag:User Policy<br />
HostedVoicemailPolicy : Global<br />
MobilityPolicy        : Global<br />
PersistentChatPolicy  : Global<br />
VoiceRoutingPolicy    : Global<br />
UserServicesPolicy    : Global</p></blockquote>
<h3>3] New Features and Enhancements to the PowerShell ISE</h3>
<p>PowerShell V3 ships with the <a href="http://technet.microsoft.com/en-us/library/hh849182.aspx">Windows PowerShell 3.0 Integrated Scripting Environment (ISE)</a>. While it lacks some advanced features of more mature 3rd-party PowerShell development environments used for heavy script development, it does have some nice enhancements and feature additions which makes it a lot better for Lync Administration.</p>
<p><strong>IntelliSense and Context Sensitive Syntax Help</strong></p>
<p>PowerShell by nature is a syntax-heavy language. Providing IntelliSense (type-ahead possibilities) and pop-up syntax references is a big help.</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/01/image.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://blog.insidelync.com/wp-content/uploads/2013/01/image_thumb.png" border="0" alt="image" width="722" height="354" /></a></p>
<p>This is available in both the PowerShell ISE IDE and the ISE console window:</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/01/image1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://blog.insidelync.com/wp-content/uploads/2013/01/image_thumb1.png" border="0" alt="image" width="781" height="198" /></a></p>
<p>This is also particularly useful for interrogating variables such as the environment variable as shown here:</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/01/image2.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://blog.insidelync.com/wp-content/uploads/2013/01/image_thumb2.png" border="0" alt="image" width="539" height="229" /></a></p>
<p><strong>In-Place Updating of Windows PowerShell Help</strong></p>
<p>Directly from the PowerShell ISE you can update the help (select Help | Update Windows PowerShell help). This will update the content for all the cmdlet’s in the loaded modules:</p>
<p><a href="http://blog.insidelync.com/wp-content/uploads/2013/01/image3.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://blog.insidelync.com/wp-content/uploads/2013/01/image_thumb3.png" border="0" alt="image" width="806" height="248" /></a></p>
<p>Microsoft Powershell MVP Shay Levy has some great pointers about the updatable help system in this post: <a href="http://blogs.microsoft.co.il/blogs/scriptfanatic/archive/2012/12/20/improving-the-output-of-update-help.aspx">Improving the output of Update-Help</a> such as you must be running as an Administrator in order to update the help.</p>
<p><strong>Windows PowerShell ISE Add-On Tools</strong></p>
<p>The PowerShell ISE has the ability to be extended with ISE Add-On’s. An Add-On is a piece of PowerShell code which extends the functionality of PowerShell ISE – for example, you can add the ability to do a <a href="http://blogs.msdn.com/b/mediaandmicrocode/archive/2009/12/09/test-spelling.aspx">spellcheck</a> or <a href="http://gallery.technet.microsoft.com/Script-to-copy-the-c55f0106">create an html version of the current script for printing</a> or add custom menu entries that carry-out an action.</p>
<p>There is a lot of potential here for Lync Administration. For example, if you have a Lync administration script that returns a list of Lync users and their properties, you could extend the PowerShell ISE to query the policy settings of a Lync policy assigned to a user that you have highlighted in the output.</p>
<p>See the Microsoft TechNet <a href="http://social.technet.microsoft.com/wiki/contents/articles/2969.windows-powershell-ise-add-on-tools.aspx#Overview_of_PowerShell_ISE_Add-On">Windows PowerShell ISE Add-On Tools</a> website to get started.</p>
<h3>4] New &amp; Changed Lync PowerShell CmdLets</h3>
<p><strong>New Lync Cmdlets</strong></p>
<p>There are <strong>173 new</strong> Lync specific cmdlet’s added in Lync Server 2013 PowerShell module (567 Lync Server 2010 versus 740 in Lync Server 2013). Rather than list all the new cmdlet’s here I will summarize the new cmdlet’s associated with the new Lync 2013 functionality (if you do want a full listing <a href="http://lyncdup.com/2012/07/what-are-the-165-new-powershell-cmdlets-in-lync-2013-preview/">fellow Lync MVP Tom Arbuthnot did a nice job of this on his blog during the Lync 2013 Preview Release</a>).</p>
<table border="2" cellspacing="0" cellpadding="2" width="744">
<tbody>
<tr>
<td width="141" valign="top"><strong>New Lync 2013 Functionality</strong></td>
<td width="374" valign="top"><strong>To See all of the Related Cmdlet’s</strong></td>
<td width="225" valign="top"><strong>Description</strong></td>
</tr>
<tr>
<td width="141" valign="top">Persistent Chat</td>
<td width="374" valign="top">&gt; Get-Command *CsPersistent* -CommandType Cmdlet</td>
<td width="225" valign="top">Complete management of Persistent Chat configuration, rooms, users, and policies.</td>
</tr>
<tr>
<td width="141" valign="top">User Services</td>
<td width="374" valign="top">&gt; Get-Command *CsUserServicesPolicy* -CommandType Cmdlet</td>
<td width="225" valign="top">5 new cmdlet’s are used to manage whether user contacts are stored in Lync or the new Unified Contact Store (UCS).</td>
</tr>
<tr>
<td width="141" valign="top">Centralized Logging</td>
<td width="374" valign="top">&gt; Get-Command *CsCls* -CommandType Cmdlet</p>
<p>&gt; Get-Command *CsCentralizedLogging* -CommandType Cmdlet</td>
<td width="225" valign="top">Complete management of the new Lync centralized server logging. <strong>Get-CsClsConfiguration</strong> will return details about the current configuration.</td>
</tr>
<tr>
<td width="141" valign="top">Pool Pairing</td>
<td width="374" valign="top">The cmdlet names are too varied to easily enumerate them but a good starting point is available on <a href="http://technet.microsoft.com/en-us/library/jj204925.aspx">Microsoft TechNet: Lync 2013 Backup and High Availability Cmdlets</a></td>
<td width="225" valign="top">New cmdlet’s allow administrators to view and manage Lync 2013 pool pairing.</td>
</tr>
<tr>
<td width="141" valign="top">Meeting Rooms</td>
<td width="374" valign="top">&gt; Get-Command *CsMeetingRoom* -CommandType Cmdlet</td>
<td width="225" valign="top">5 new cmdlet’s which allow management of the new Lync 2013 meeting room functionality</td>
</tr>
<tr>
<td width="141" valign="top">XMPP</td>
<td width="374" valign="top">&gt; Get-Command “*CsXmpp*” -CommandType Cmdlet</td>
<td width="225" valign="top">New cmdlet’s allow administrators to manage the new built-in XMPP gateway.</td>
</tr>
<tr>
<td width="141" valign="top">Test Cmdlets</td>
<td width="374" valign="top">The new cmdlet names are too varied to easily enumerate them, but some of the more notable new test cmdlet’s are:<br />
&gt; Test-CsUnifiedContactStore<br />
&gt; Test-CsExUMConnectivity<br />
&gt; Test-CsAVEdgeConnectivity<br />
&gt; Test-CsDatabase<br />
&gt; Test-CsDataConference</p>
<p>For a complete listing of all test cmdlet’s:<br />
&gt; Get-Command &#8220;Test-Cs*&#8221; -CommandType Cmdlet</td>
<td width="225" valign="top">There are ~15 new test cmdlet’s which allow verification that specific Lync functionality is working.</td>
</tr>
<tr>
<td width="141" valign="top">Outbound Number Translation</td>
<td width="374" valign="top">&gt; Get-Command &#8220;*CsOutboundCallingNumberTranslationRule*” -CommandType Cmdlet</td>
<td width="225" valign="top">New cmdlet’s to manage the new outbound calling number formatting capabilities in Lync 2013</td>
</tr>
<tr>
<td width="141" valign="top">Reporting Configuration</td>
<td width="374" valign="top">&gt; Get-Command &#8220;*CsReportingConfiguration* -CommandType Cmdlet</td>
<td width="225" valign="top">New cmdlet’s to manage the native monitoring reports.</td>
</tr>
<tr>
<td width="141" valign="top">Partner Application</td>
<td width="374" valign="top">&gt; Get-Command &#8220;*CsPartnerApplication*” -CommandType Cmdlet</td>
<td width="225" valign="top">Partner applications are used for Lync features which integrate with Lync 2013. There are 4 new cmdlet’s that can be used to configure and view these settings.</td>
</tr>
<tr>
<td width="141" valign="top">Presence Provider</td>
<td width="374" valign="top">&gt; Get-Command &#8220;*CsPresenceProvider*” -CommandType Cmdlet</td>
<td width="225" valign="top">4 new cmdlet’s to manage Presence Providers (a collection of users services configuration).</td>
</tr>
<tr>
<td width="141" valign="top">Watcher Node Configuration</td>
<td width="374" valign="top">&gt; Get-Command &#8220;*CsWatcherNodeConfiguration*&#8221; -CommandType Cmdlet</td>
<td width="225" valign="top">4 new cmdlet’s to manage integration with Microsoft SCOM.</td>
</tr>
<tr>
<td width="141" valign="top">Federal Information Processing Standards (FIPS)</td>
<td width="374" valign="top">&gt; Get-Command &#8220;*CsFIPS*&#8221; -CommandType Cmdlet</td>
<td width="225" valign="top">The FIPS standards are a set of US government security standards required for use in computers maintained by non-military government agencies and by government contractors – these new cmdlet’s manage these settings.</td>
</tr>
<tr>
<td width="141" valign="top">Miscellaneous Cmdlets</td>
<td width="374" valign="top">There are ~15 other new Lync cmdlet’s which help manage a collection of various Lync system settings.</p>
<p>Notable new cmdlet’s:<br />
&gt;  Get-CsEffectivePolicy<br />
&gt;  Convert-CsUserData<br />
&gt;  Get-CsTrunk<br />
&gt;  Update-CsQoENetworkConfiguration</td>
<td width="225" valign="top"></td>
</tr>
</tbody>
</table>
<p><strong>Lync Cmdlet’s that have Changed from Lync 2010</strong></p>
<p>During my Lync Server 2013 travels, I have not found many Lync specific cmdlet’s that have changed behavior.</p>
<p>Several cmdlet’s return more properties – usually reflecting the new Lync 2013 features. For example, the well used <strong>Get-CsUser</strong> cmdlet returns 64 Lync user properties, whereas Lync 2010 returned 56. Here are some of the new Lync user properties:</p>
<ul>
<li>ExchangeArchivingPolicy</li>
<li>UserRoutingGroupId</li>
<li>VoiceRoutingPolicy</li>
<li>LegalInterceptPolicy</li>
<li>PersistentChatPolicy</li>
<li>UserServicesPolicy</li>
<li>ExperiencePolicy</li>
<li>HostingProvider</li>
</ul>
<p>The <strong>Get-CsConfigurationStoreLocation</strong> cmdlet now returns 2 properties <strong>BackEndServer</strong> &amp; <strong>MirrorBackEndServer</strong> to reflect the high availability and backup and recovery features of Lync 2013, whereas in Lync 2010 this cmdlet just returned one string with the SQL Server path to the computer running the CMS.</p>
<h3>5] The Windows PowerShell Web Access feature</h3>
<p>PowerShell V3 boasts another useful Administration feature – the ability to host a PowerShell session within a web browser. The PowerShell console is hosted on an IIS web site and provides a basic text console where you can run PowerShell cmdlet’s. The console will connect to the remote computer that you specified during the sign-in process (in this case a Lync 2013 server).</p>
<p>This opens the door for doing basic Lync Administration from a web browser, which would be really useful on a device or computer that has a web browser available but is not running Windows – such as your favorite tablet smartphone if it has network access to the IIS web site.</p>
<p>This is available in Windows Server 2012, but not Windows 2008 or Windows 2008 R2, and Windows Server 2012 does not have the Windows PowerShell Web Access feature enabled by default, so you first need to enable the feature using the new Server Manager. <strong> </strong></p>
<p><strong>Tip</strong> – making this feature work requires several non-trivial configuration steps in addition to installing the PowerShell Web Access (including assigning a certificate, etc…). Nevertheless, it can be a useful Administration feature if you need it.</p>
<p>There are some limitations compared with the regular Windows PowerShell console which are outlined here: <a title="http://technet.microsoft.com/en-us/library/hh831417.aspx#BKMK_web" href="http://technet.microsoft.com/en-us/library/hh831417.aspx#BKMK_web">http://technet.microsoft.com/en-us/library/hh831417.aspx#BKMK_web</a>.</p>
<p>Here are some good references to get you started:</p>
<ul>
<li><a href="http://technet.microsoft.com/en-us/library/hh831611.aspx">Microsoft TechNet &#8211; Deploy Windows PowerShell Web Access</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/hh831417.aspx">Microsoft TechNet &#8211; Use the Web-based Windows PowerShell Console</a></li>
<li><a href="http://blog.powershell.no/2011/09/14/windows-powershell-web-access/">MVP Jan Egil Ring’s blog &#8211; Windows PowerShell Web Access</a></li>
</ul>
<img src="http://feeds.feedburner.com/~r/InsideLync/~4/AyNICTP7zD0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.insidelync.com/2013/01/top-5-new-lync-2013-powershell-functionality/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://blog.insidelync.com/2013/01/top-5-new-lync-2013-powershell-functionality/</feedburner:origLink></item>
		<item>
		<title>Upcoming Restrictions on Public Certificates</title>
		<link>http://feedproxy.google.com/~r/InsideLync/~3/P4ZkDTz-m0w/</link>
		<comments>http://blog.insidelync.com/2012/12/upcoming-restrictions-on-public-certificates/#comments</comments>
		<pubDate>Wed, 19 Dec 2012 20:39:41 +0000</pubDate>
		<dc:creator>Curtis Johnstone</dc:creator>
				<category><![CDATA[Certificates]]></category>
		<category><![CDATA[Lync 2013]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[lync 2010 2013 certificates]]></category>
		<category><![CDATA[lync certificate authentication]]></category>
		<category><![CDATA[lync public certificate changes]]></category>
		<category><![CDATA[lync public certificates internal names]]></category>
		<category><![CDATA[microsoft lync 2010 lync 2013 public certificates]]></category>

		<guid isPermaLink="false">http://blog.insidelync.com/2012/12/upcoming-restrictions-on-public-certificates/</guid>
		<description><![CDATA[Tweet<p>A restriction to public certificates was introduced several months ago that could affect your planning of a Microsoft Lync, Exchange, or other application service deployment. While this change restricts only public certificates that contain an internal name with an expiry date after November 2015, you should be aware of this change for planning and <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.insidelync.com/2012/12/upcoming-restrictions-on-public-certificates/">Upcoming Restrictions on Public Certificates</a></span>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton597" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.insidelync.com%2F2012%2F12%2Fupcoming-restrictions-on-public-certificates%2F&amp;text=Upcoming%20Restrictions%20on%20Public%20Certificates&amp;related=&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fblog.insidelync.com%2F2012%2F12%2Fupcoming-restrictions-on-public-certificates%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://blog.insidelync.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>A restriction to public certificates was introduced several months ago that could affect your planning of a Microsoft Lync, Exchange, or other application service deployment. While this change restricts only public certificates that contain an internal name with an expiry date after November 2015, you should be aware of this change for planning and certificate renewal purposes.</p>
<h3>The Change: No Public Certificates with Internal Names Allowed</h3>
<p>In a nutshell, the change will mean that Public Certificate Authorities (e.g. GoDaddy, DigiCert, VeriSign, Entrust, etc..) will no longer issue public certificates that contain an internal only name &#8211; i.e. a name that cannot be publicly verified. For Microsoft Lync and Exchange this equates to not allowing public certificates used on servers that have an internal (private) AD suffix – e.g. domain.local. </p>
<p>Note: before this restriction, many public CA’s frowned upon this type of certificate, and wouldn’t issue them anyway.</p>
<p>The specific requirement for this change can be found in the CAB Baseline Requirements document here: <a title="https://www.cabforum.org/Baseline_Requirements_V1.pdf" href="https://www.cabforum.org/Baseline_Requirements_V1.pdf">https://www.cabforum.org/Baseline_Requirements_V1.pdf</a>.&#160; Section 9.2.1 details the requirement: “</p>
<blockquote><p>“….the CA SHALL NOT issue a certificate with an Expiry Date later than 1 November&#160; 2015 with a subjectAlternativeName extension or Subject commonName field containing a Reserved IP Address or Internal Server Name”</p>
</blockquote>
<p>The CAB is a voluntary organization of certification authorities (CAs) and web browser vendors.</p>
<p>This restriction is targeted at certificates with <strong>expiry dates after November 1, 2015</strong>, but apparently some Certificate Authorities that previously did this are already rejecting these types of certificate requests. <strong>Any</strong> <strong>of these types of certificates already issued will be good until their expiry date</strong> however. The CAB specification states that “the practice will be eliminated by October 2016”.</p>
<h3>What Does it Mean for Microsoft Lync and Exchange?</h3>
<p>While not common-place in Lync and Exchange deployments, it was sometimes used in deployments with two namespaces – one public (domain.com) and the other private (domain.local) with an associated split-brain DNS deployment &#8211; as a useful solution to a couple of challenging Lync and Exchange authentication issues.</p>
<p>For example, in Microsoft Lync, using a certificate that is signed by an internal Certificate Authority will present problems for any client that does not trust the private CA certificate chain.&#160; This includes any non-domain joined Lync clients or Lync Phone devices that could not download the internal certificate. The issue was amplified with the introduction of the Lync Mobile clients which would sometimes connect internally via the Lync autodiscover service but did not natively trust an the internal CA.</p>
<p><a href="http://blog.schertz.name/2012/12/lync-2013-client-autodiscover/">Lync MVP Jeff Schertz nicely details how this issue is magnified in Lync Server 2013</a> with the introduction of more Lync clients that depend on the Lync autodiscover service, and concludes: </p>
<blockquote><p>“The first solution would be to simply start issuing public certificates to the internal Lync servers but this approach may not work for all environments as many third party certificate authorities will not allow certificate requests which contain internal-only domain names”.</p>
</blockquote>
<p>Several Public CA’s, such as DigiCert, did allow public certificates with internal names, and it made for a simple solution to these types of issues. Jeff offers some updated guidance (<a href="http://blog.schertz.name/2012/12/lync-2013-client-autodiscover/">in his blog entry</a>) which does not require a public certificate with an internal name for this situation.</p>
<p>I have had other Microsoft Lync and Exchange authentication issues that were nicely solved with a public certificate that contained an internal name. So why was it frowned upon?</p>
<h3>What was the Issue with these Types of Certificates?</h3>
<p>While public certificates that contained internal names simplified some deployments, it was somewhat frowned upon because it was seen as a potential security risk:</p>
<ol>
<li>It is generally not a good security practice to put internal names on things that are meant for public purposes; even if they are used for internal only services. </li>
<li>A potential security risk – in theory at least – that went along the lines of:
<ul>
<li>A hacker (aka bad guy) finds out the internal name (e.g. domain.local) used inside a company (e.g. through some sort of network access) by looking at the certificate. </li>
<li>The hacker goes to a CA and acquires a public certificate issued with this internal name on it (e.g. domain.local). </li>
<li>The hacker then set’s up a rogue version of a popular application service using this certificate that accepts user authentication attempts (user name and passwords) – for example, a network service that mimics Lync Server on port 5061. </li>
<li>The hacker then get’s corporate users to logon to the rogue network service (via DNS poisoning, DHCP impersonations, etc…). </li>
<li>This allows the hacker to collect user names and passwords. </li>
</ul>
</li>
</ol>
<p>As someone pointed out to me, a hacker could achieve the same thing with an internal certificate that they issued themselves with their own internal CA &#8211; with the exception that users will have a chance to opt-out from connecting because they will get the “…this certificate is not trusted” warning – but 90% of users would accept that warning if it meant getting at their Outlook email.</p>
<p>Nevertheless, restricting certificates of this nature is more secure.</p>
<img src="http://feeds.feedburner.com/~r/InsideLync/~4/P4ZkDTz-m0w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.insidelync.com/2012/12/upcoming-restrictions-on-public-certificates/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://blog.insidelync.com/2012/12/upcoming-restrictions-on-public-certificates/</feedburner:origLink></item>
	</channel>
</rss>
