<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Skype for Business Hybrid Voice Team</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/sfbhybridvoice/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/sfbhybridvoice/feed.xml</link>
    <description>Blog of Skype for Business Hybrid Voice team</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:47:54 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>How to Update Cloud Connector to Version 1.4.2</title>
      <link>https://docs.microsoft.com/archive/blogs/sfbhybridvoice/how-to-update-cloud-connector-to-version-1-4-2</link>
      <pubDate>Mon, 08 May 2017 14:14:01 GMT</pubDate>
      <dc:creator><![CDATA[Carolyn Blanding]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sfbhybridvoice/?p=255</guid>
      <description><![CDATA[This walkthrough is to help you update to the latest Cloud Connector in case you have a build prior...]]></description>
      <content:encoded><![CDATA[This walkthrough is to help you update to the latest Cloud Connector in case you have a build prior auto update support in 1.4.1, or your 1.4.1 has auto update disabled due to special configuration requirements.

For full details on planning and deploying Cloud Connector, please see <a href="https://aka.ms/CloudConnector">Https://aka.ms/CloudConnector</a>.

For troubleshooting upgrade issues, please see <a href="https://blogs.technet.microsoft.com/sfbhybridvoice/2017/04/07/troubleshooting-cloud-connector-edition-1-4-2-updates-and-new-deployments/">Troubleshooting Cloud Connector Edition 1.4.2 Updates and New Deployments</a>
<h1>Prepare for Upgrade</h1>
Schedule a maintenance window for the work. If you have a single appliance and are updating from a build prior to 1.4.1 (version 1.3.X), you will need to plan for downtime in PSTN calling during the upgrade process <b>which will take between 1.5 and 2 hours</b>. If you have CCE version 1.4.1 the downtime in PSTN calling will only be a few minutes when switching from the previous version to the latest version.

Gather credentials that you will need for the deployment used when running Register-CcAppliance. You will need local Cloud Connector administrator password and Office 365 Tenant administrative password.

Backup your existing Cloud Connector configuration file for reference (see below for details) when creating a new configuration file for the latest version. After installing latest Skype for Business Online Cloud Connector, you will obtain the latest version file by running Export-CcConfigurationSampleFile from administrative PowerShell.
<h1>Update from 1.3.4 to 1.4.2</h1>
As there were significant changes since 1.3.4, you need to clean up the 1.3.4 deployment before installing the latest version.
<h3>Remove 1.3.4</h3>
<ol>
 	<li>Backup the %userprofile%\CloudConnector\CloudConnector.ini to another drive so it will be available for reference when creating the new CloudConnector.ini file.</li>
 	<li>Stop all the Cloud Connector VM’s in Hyper-V Manager on the Cloud Connector host appliance.</li>
 	<li>Delete the Cloud Connector VM’s and virtual disks which are in the &lt;Appliance Directory&gt;\Instances folder. Run <a><b>Get-CcApplianceDirectory</b> </a>cmdlet from administrative PowerShell to find the directory if not known.</li>
 	<li>If you want to use the existing external Edge certificate, back it up. Run <b>Get-CcExternalCertificateFilePath</b> to find the current location of the certificate.</li>
 	<li>Delete all content from the following folders
<ol>
 	<li>%userprofile%\Cloudconnector.</li>
 	<li>Appliance directory. Run <a><b>Get-CcApplianceDirectory </b></a><a href="https://microsoft.sharepoint.com/teams/sfbhybrid/Shared Documents/Blogs/#_msocom_3">[BH3]</a> to find the location of the directory.</li>
 	<li>Site directory. Run <b>Get-CcSiteDirectory</b> to find the location of the directory.</li>
</ol>
</li>
</ol>
<h3>Prepare the Appliance</h3>
Gather credentials that you will need for the deployment used when running Register-CcAppliance. You will need local Cloud Connector administrator password and Office 365 Tenant administrative password.

Follow all instructions in <a href="https://technet.microsoft.com/en-us/library/mt740649.aspx">Prepare your Cloud Connector appliance</a> including steps to create a new base VHDX for the Cloud Connector virtual machines. <b>Note</b> – be sure that this step completes successfully. If the Base VM needs special network configuration, e.g. Proxy settings, to connect to the Internet for obtaining windows updates, be sure to use the <b>PauseBeforeUpdate</b> setting to allow you to connect to the VM and update network settings to allow connectivity before continuing.

When <a href="https://technet.microsoft.com/en-us/library/mt740649.aspx#Anchor_5">updating the Cloud Connector configuration</a> file, refer to the backup copy you made in step 3 above. Also, if you manually created a Hybrid PSTN site in your tenant, be sure that the Site name and Edge FQDN defined in the Cloud Connector configuration file matches site settings in your tenant. Run <b>Get-CsHybridPSTNSite</b> in Skype for Business Online PowerShell to see sites defined in your tenant. In the latest version, Register-CcAppliance cmdlet will either create a new site based on name defined in configuration, or update existing site if a site with same name exists in your tenant.
<h3>Install the latest version</h3>
<ol>
 	<li>Follow instructions to Deploy the first Skype for Business Cloud Connector Edition appliance in <a href="https://technet.microsoft.com/en-us/library/mt740654.aspx">Deploy a single site in Cloud Connector</a>.</li>
 	<li>Confirm Appliance status in Skype for Business Online Admin Center &gt; Voice &gt; on premises PSTN, or by running Get-CsHybridPSTNAppliance using Skype for Business Online PowerShell.</li>
 	<li>Validate the new deployment following <a href="https://technet.microsoft.com/en-us/library/mt740653.aspx">Validate your Cloud Connector deployment</a>.</li>
</ol>
<h1>Update from 1.3.8 to 1.4.2</h1>
<ol>
 	<li>Backup the &lt;Appliance Root&gt;\CloudConnector.ini for reference when updating CloudConnector.ini file for the latest version. Run <b>Get-CcApplianceDirectory</b> to find location.</li>
 	<li>Uninstall the current appliance. To do this, start a PowerShell console as administrator and run Uninstall-CcAppliance.</li>
 	<li>Follow instructions to Deploy the first Skype for Business Cloud Connector Edition appliance in <a href="https://technet.microsoft.com/en-us/library/mt740654.aspx">Deploy a single site in Cloud Connector</a>.</li>
 	<li>Confirm Appliance status in Skype for Business Online Admin Center &gt; Voice &gt; on premises PSTN, or by running Get-CsHybridPSTNAppliance using Skype for Business Online PowerShell.</li>
 	<li>Validate the new deployment following <a href="https://technet.microsoft.com/en-us/library/mt740653.aspx">Validate your Cloud Connector deployment</a>.</li>
</ol>
<h1>Update from 1.4.1 to 1.4.2</h1>
<ol>
 	<li>Remove the Forward PAI section in the &lt;Appliance Root&gt;\CloudConnector.ini. Run <b>Get-CcApplianceDirectory</b> to find location. Forward PAI has been deprecated in 1.4.2 as it’s no longer required to resolve missing caller ID for outbound calls from Skype for Business Mobile clients which has been resolved with changes in outbound routing logic for Cloud Connector.</li>
 	<li>Follow instructions to Upgrade a single site to a new version <a href="https://technet.microsoft.com/en-us/library/mt740656.aspx#Anchor_0">Upgrade to a new version of Cloud Connector</a>.</li>
 	<li>Confirm Appliance status in Skype for Business Online Admin Center &gt; Voice &gt; on premises PSTN, or by running Get-CsHybridPSTNAppliance using Skype for Business Online PowerShell.</li>
 	<li>Validate the new deployment following <a href="https://technet.microsoft.com/en-us/library/mt740653.aspx">Validate your Cloud Connector deployment</a>.</li>
</ol>]]></content:encoded>
    </item>
    <item>
      <title>Troubleshooting Cloud Connector Edition 1.4.2 Updates and New Deployments</title>
      <link>https://docs.microsoft.com/archive/blogs/sfbhybridvoice/troubleshooting-cloud-connector-edition-1-4-2-updates-and-new-deployments</link>
      <pubDate>Fri, 07 Apr 2017 14:19:11 GMT</pubDate>
      <dc:creator><![CDATA[Carolyn Blanding]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sfbhybridvoice/?p=245</guid>
      <description><![CDATA[This post is to share troubleshooting tips for some common problems when updating or deploying Skype...]]></description>
      <content:encoded><![CDATA[This post is to share troubleshooting tips for some common problems when updating or deploying Skype for Business Cloud Connector Edition 1.4.2.

For details on planning and deploying Cloud Connector, please see our documentation posted at <a href="https://aka.ms/cloudconnetor">https://aka.ms/cloudconnetor</a>.
<h3>Cloud Connector Download Failed</h3>
Cloud Connector Software is download failing with:
<i>Failed to download installation files with exception: Exception calling "DownloadFile" with "2" argument(s): "Unable to connect to the remote server".</i>
<h4>Troubleshooting</h4>
Confirm that one Host Appliance physical adapter is configured with a gateway that provides a route to the Internet
<ol>
 	<li>On Host Appliance, open a command prompt and run:
Ipconfig /All</li>
</ol>
Confirm that a gateway is set on one of the network adapters.

Confirm that the Host Appliance server has Internet connectivity and DNS resolution of external resources
<ol>
 	<li>Open command prompt on the host and run and confirm reply:
Ping Bing.com</li>
</ol>
If you use a Proxy in the DMZ for Internet access, confirm that the Proxy settings are per-machine rather than by user. Otherwise Cloud Connector downloads will fail. Set either with registry change or Group Policy setting:
<ol>
 	<li>Registry: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings] ProxySettingsPerUser dword:00000000</li>
 	<li>Group Policy: Computer&gt;Administrative Templates&gt;Windows Components&gt; Internet Explorer: Make Proxy settings per-machine (rather than per user</li>
</ol>
Confirm firewall rules allow traffic to the following:
<ol>
 	<li>TCP Port 443: <a href="https://go.microsoft.com">https://go.microsoft.com</a></li>
 	<li>TCP Port 80: <a href="http://download.microsoft.com">http://download.microsoft.com</a></li>
</ol>
<h3>Install of 1.4.2 Fails with Access Denied Connecting to Remote Server</h3>
The following error displayed during update to version 1.4.2 of the Cloud Connector appliance:

<i>Connecting to remote server 192.168.213.2 failed with the following error message: Access is denied.</i>

This is because the Domain Admin and VM Admin credentials for the Cloud Connector servers expired. To resolve:
<ol>
 	<li>Log in to the CCE AD machine with the CCE Domain Admin password. Open the <b>AD Users and Computers console</b> from Administrative tools, and reset both the Administrator and CCEService account passwords to the original password and set the passwords as non-expiring.</li>
 	<li>Log in to each of the other CCE machines with the CCE Domain Admin password. Open <b>Computer Management</b>, and reset both the Administrator and CCEService accounts to the original passwords and set to <b>non-expiring passwords</b>.</li>
</ol>
Note that in 1.4.2 and later all Cloud Connector account credentials are non-expiring and this error would be unexpected unless someone changed credentials to be different that configured in Cloud Connector cached passwords set with Register-CcAppliance.
<h3>Install of 1.4.2 Fails with WinRM Error Connecting to Remote Server</h3>
The following error displayed during installation of the new Cloud Connector appliance:

<i>Connecting to remote server 192.168.213.2 failed with the following error message: WinRM cannot complete the operation. Verify that the specified computer name is valid, that the computer is accessible over the network, and that a firewall exception for the WinRM service is enabled and allows access from this computer.</i>

If you use a Proxy in the DMZ for Internet access, set WinHTTP Proxy settings on the Host appliance with your proxy server and a Bypass-list including the "192.168.213.*” network used by your Cloud Connector Managements services to bypass the proxy. Otherwise management connectivity will fail and prevent the deployment of Cloud Connector Edition. <b>Note</b>: Match the bypass list to the management subnet that defined in your CloudConnector.ini file. Sample winhttp configuration command:
netsh winhttp set proxy "10.10.10.175:8080" bypass-list="*.local;1.*;172.20.*;192.168.218.*'&lt;local&gt;"
<h3>Missing CCE Management Service: Install Fails After Uninstalling Current Version of Skype for Business Cloud Connector Edition</h3>
The update to 1.4.2 fails after the CCE Management Service stops and the current version of Skype for Business Cloud Connector Edition uninstalls, and use see the following error displayed:

<i>Uninstallation failed with exception System.Management.Automation.MethodInvocationException: </i>

<i>Exception calling "Uninstall" : "Illegal operation attempted on a registry key that has been marked for deletion.</i>

The Group Policy to prevent removal of registry on logoff was either not created or removed in the case of a domain joined Host appliance. To resolve:
<ol>
 	<li>Make the Group Policy entry described in Prepare Cloud Connector Appliance <a href="https://technet.microsoft.com/en-us/library/mt740649.aspx">https://technet.microsoft.com/en-us/library/mt740649.aspx</a></li>
 	<li>Follow Steps 2-7 here if not in Bits Update time window and want to manually update, <a href="https://technet.microsoft.com/en-us/library/mt740656.aspx">https://technet.microsoft.com/en-us/library/mt740656.aspx</a>, or, steps 2-4 if you are.</li>
</ol>
<h3>Install Fails Connecting to Machine After Waiting 600 Seconds</h3>
Installation fails during deployment of the first Cloud Connector VM with:

<i>Can’t connect to machine 192.168.213.2 after waiting 600 seconds</i>

A network issue is preventing the Host appliance from making a PowerShell session to the Cloud Connector Virtual Machine over the management switch.

<strong>Troubleshooting</strong>

Confirm no VLAN’s configured on the Host appliance.

If using a Proxy server, confirm WinHTTP proxy settings bypass list includes management switch network as described above.

Check if the switches on the Cloud Connector VM have Automatic Private IP Addresses of 169.x. It they have 169.x addresses, the Convert-CcIsoToVhdx did not complete correctly. To resolve:
<ol>
 	<li>Run:
<strong>Convert-CcIsoToVhdx -IsoFilePath &lt;Windows ISO File Path, including file name&gt; -PauseBeforeUpdate</strong></li>
 	<li>When prompted, connect to the Base VM using credentials provided in the PowerShell output.</li>
 	<li>Make any necessary adjustments to allow the computer to connect to Windows Update Service.</li>
 	<li>Complete all Windows Updates and restart the VM.</li>
 	<li>Return to PowerShell and answer prompt complete the process.</li>
</ol>]]></content:encoded>
    </item>
    <item>
      <title>Cloud Connector Custom Configurations</title>
      <link>https://docs.microsoft.com/archive/blogs/sfbhybridvoice/cloud-connector-custom-configurations</link>
      <pubDate>Wed, 05 Apr 2017 14:44:41 GMT</pubDate>
      <dc:creator><![CDATA[Nik Muravlyannikov]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sfbhybridvoice/?p=235</guid>
      <description><![CDATA[by Nikolay Muravlyannikov, Carolyn Blanding, Bob Wille

With the introduction of Auto update...]]></description>
      <content:encoded><![CDATA[by Nikolay Muravlyannikov, Carolyn Blanding, Bob Wille

With the introduction of Auto update feature in Cloud Connector, we started receiving asks what will happen with the custom changes made by tenant administrators.

Just to remind, Cloud Connector first  setup requires providing parameters such as SIP domains, IP addresses of virtual machines, the configuration of REFER, and some other parameters in the INI file. The full list of the parameters is in the <a href="https://technet.microsoft.com/en-us/library/mt605227.aspx">Plan Cloud Connector Edition documentation</a>. The INI file is the main source of configuration information for Cloud Connector.  During the update process, Cloud Connector installs the fresh set of Virtual machines and applies configuration settings from the INI file. Any parameters that are not present in INI are set to the default values.

Tenant administrators might have a need to change other parameters, that are not part of the INI to provide interoperability with <u>3<sup>rd</sup></u> party gateways or SBCs or for billing purposes. In this case, administrators need to disable auto update, perform the manual update, and return the settings after every update. We are working on a better management story moving forward.

For example, we receive many questions on how to enable History-info and Referred-By headers which are disabled by default.

By enabling these headers enterprises can more effectively bill for their services for calls forwarded or transferred to another PSTN number. More about the headers are here: <a href="http://download.microsoft.com/download/2/4/5/245583A7-E9E1-403B-BD15-AB711C7DF744/Lync%202013%20Headers%20for%20SIP%20trunk%20provider%20billing.docx">http://download.microsoft.com/download/2/4/5/245583A7-E9E1-403B-BD15-AB711C7DF744/Lync%202013%20Headers%20for%20SIP%20trunk%20provider%20billing.docx</a>

To set these headers, run the following in PowerShell on each Cloud Connector mediation server deployed:

Set-CSTrunkConfiguration -ForwardCallHistory $true.

However, when Cloud Connector is updated, the headers will be set to the default value of $false.

For custom configurations, we recommend the following:
<ol>
 	<li>Set auto update to Manual instead of Automated. To set manual update, run the following in Skype for Business Online Powershell for every Cloud Connector PSTN site:</li>
</ol>
Set-CsHybridPSTNSite -EnableAutoupdate $false.
<ol start="2">
 	<li>When an update is available, update one appliance in a site at a time as follows:</li>
 	<li>Follow instructions here to manually update the appliance: <a href="https://technet.microsoft.com/EN-US/library/mt740656.aspx">https://technet.microsoft.com/EN-US/library/mt740656.aspx</a> Step 7 (Switch-CcVersion). Important: do not perform Step 7 (Switch-CCVersion) yet. Switching the version will bring the appliance to the production before you reapplied the custom configuration</li>
 	<li><em> </em>Apply the custom changes, for example by running Set-CSTrunkConfiguration -ForwardCallHistory $true in PowerShell on the Cloud Connector mediation server</li>
 	<li><em> </em>Run Step 7 (Switch-CCVersion) from <a href="https://technet.microsoft.com/EN-US/library/mt740656.aspx">https://technet.microsoft.com/EN-US/library/mt740656.aspx</a></li>
</ol>
<em>Note: Microsoft supports the previously released version of Cloud Connector for 60 days after a new version is released. Cloud Connector appliances must be updated within 60 days of a new release.  </em>

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Cloud Connector Calls: Identifying call quality via Call Quality Dashboard</title>
      <link>https://docs.microsoft.com/archive/blogs/sfbhybridvoice/cloud-connector-calls-identifying-call-quality-via-call-quality-dashboard</link>
      <pubDate>Mon, 27 Mar 2017 13:01:33 GMT</pubDate>
      <dc:creator><![CDATA[Nik Muravlyannikov]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sfbhybridvoice/?p=155</guid>
      <description><![CDATA[After the deployment of Cloud Connector (or any telephony option) the first question administrators...]]></description>
      <content:encoded><![CDATA[<span style="color: #000000;font-family: Calibri">After the deployment of Cloud Connector (or any telephony option) the first question administrators usually ask is how good </span><span><span style="color: #000000;font-family: Calibri">the call quality is</span></span><span style="color: #000000;font-family: Calibri">? Microsoft has a nice tool Call Quality Dashboard which allows seeing and analyzing call quality. The detailed description of Call Quality Dashboard is</span><a href="https://support.office.com/en-us/article/Turning-on-and-using-Call-Quality-Dashboard-in-Skype-for-Business-Online-553fa13c-92d2-4d5c-a3d5-41a073cb047c?ui=en-US&amp;rs=en-US&amp;ad=US"><span style="color: #0563c1;font-family: Calibri"> here</span></a>

<span style="color: #000000;font-family: Calibri">First a little bit of theory.</span>

<span style="color: #000000;font-family: Calibri">When a client places a call there are two streams going on, the first one is RTP and the second is RTCP. RTP stands for Real Time Protocol and is used to </span><span><span style="color: #000000;font-family: Calibri">transmit</span></span><span style="color: #000000;font-family: Calibri"> audio and video. RTCP is Real Time Control Protocol and </span><span><span style="color: #000000;font-family: Calibri">is used</span></span><span style="color: #000000;font-family: Calibri"> for controlling the media flow and also used to collect network information during the call. Such statistics includes measuring network jitter, </span><span><span style="color: #000000;font-family: Calibri">round-trip</span></span><span style="color: #000000;font-family: Calibri">, packet loss. After a call client combines the data about devices, client versions, network ranges </span><span><span style="color: #000000;font-family: Calibri">and</span></span><span style="color: #000000;font-family: Calibri"> many others, includes network statistics the client received from </span><span><span style="color: #000000;font-family: Calibri">RTCP,</span></span><span style="color: #000000;font-family: Calibri"> and sends </span><span><span style="color: #000000;font-family: Calibri">in </span></span><span style="color: #000000;font-family: Calibri">a “Service” message to Skype for Business Online servers that processes the data and publishes it on tenant’s Call Quality </span><span><span style="color: #000000;font-family: Calibri">Dashboard</span></span><span style="color: #000000;font-family: Calibri">. Note there could be a </span><span><span style="color: #000000;font-family: Calibri">delay</span></span><span style="color: #000000;font-family: Calibri"> up to</span><span><span style="color: #000000;font-family: Calibri">  </span></span><span style="color: #000000;font-family: Calibri">48 hours between client sent the data and seeing it on Call Quality Dashboard. The delay caused by internal processing jobs.</span>

<span style="color: #000000;font-family: Calibri">You can find the data sent by the client in local client logs. Find a “Service” message after a </span><span><span style="color: #000000;font-family: Calibri">call,</span></span><span style="color: #000000;font-family: Calibri"> and you </span><span><span style="color: #000000;font-family: Calibri">will see</span></span><span style="color: #000000;font-family: Calibri"> what parameters the client sends.</span>

<img width="1005" height="622" class="aligncenter size-full wp-image-165" alt="clinetlog" src="https://msdnshared.blob.core.windows.net/media/2017/03/ClinetLog.jpg" />

<span style="color: #000000;font-family: Calibri">Note the client does not send the logs if a call which was 5 sec or less. </span>

<span style="color: #000000;font-family: Calibri">Now the data is in Call Quality </span><span><span style="color: #000000;font-family: Calibri">Dashboard, the</span></span><span style="color: #000000;font-family: Calibri"> question is how to see the data about PSTN calls that were made using a Cloud Connector. If you look at </span><span><span style="color: #000000;font-family: Calibri">CQD,</span></span><span style="color: #000000;font-family: Calibri"> there is information about all audio streams,</span><span><span style="color: #000000;font-family: Calibri">  </span></span><span style="color: #000000;font-family: Calibri">including peer to peer VoIP calls, </span><span><span style="color: #000000;font-family: Calibri">audio,</span></span><span style="color: #000000;font-family: Calibri"> and video conferences. There is also a chance that you might have Microsoft PSTN calling </span><span><span style="color: #000000;font-family: Calibri">for users in the US or UK</span></span><span style="color: #000000;font-family: Calibri"> while providing PSTN services using a hybrid voice option in countries where Microsoft PSTN Calling is not available. </span>

<span style="color: #000000;font-family: Calibri">You can </span><span><span style="color: #000000;font-family: Calibri">distinguish</span></span><span style="color: #000000;font-family: Calibri"> hybrid </span><span><span style="color: #000000;font-family: Calibri">voice</span></span><span style="color: #000000;font-family: Calibri"> PSTN calls from any other calls you can use a parameter called “First User Agent” and filter by RTCC/6.0.0.0/*</span>

<span style="color: #000000;font-family: Calibri">Back to the theory again. </span><span><span style="color: #000000;font-family: Calibri">Parameters “First User Agent” and “Second User Agent” capture endpoints which were used in the particular call. On the screenshot below, an example of “First User Agent” endpoints from one of the tenants. End users utilized these devices when placing or receiving the call. The similar list you will see for the “Second User Agent”.</span></span>

<img width="1177" height="782" class="aligncenter size-full wp-image-185" alt="fua" src="https://msdnshared.blob.core.windows.net/media/2017/03/FUA.jpg" />

&nbsp;

<span><span style="color: #000000;font-family: Calibri">The very important point is that when an endpoint places a call to a service or receives call from a service (not a peer to peer call), the service endpoint is always reported in “First User Agent” regardless of a call flow and who call whom. </span></span>

<span><span style="color: #000000;font-family: Calibri">The service which handles calls for Cloud Connector users is on-premises mediation server, which has version 6.0.0.0/* If you have calls that went through Microsoft PSTN calling the Mediation server version will be 7.0</span></span>

<span style="color: #000000;font-family: Calibri">Based on these two factors to distinguish Hybrid PSTN calls from all other </span><span><span style="color: #000000;font-family: Calibri">audio</span></span><span style="color: #000000;font-family: Calibri"> streams you need only apply the filter:</span>

<span style="color: #000000;font-family: Calibri">“First Usage Agent” = RTCC/6.0.0.0/*</span>

<span style="color: #000000;font-family: Calibri">On screenshot is basic representation Dimensions, </span><span><span style="color: #000000;font-family: Calibri">Measurements and Filters configuration</span></span><span style="color: #000000;font-family: Calibri"> to see Hybrid voice calls.</span>

<img width="1176" height="786" class="aligncenter size-full wp-image-175" alt="cqd3" src="https://msdnshared.blob.core.windows.net/media/2017/03/CQD3.jpg" />

&nbsp;

<span style="color: #000000;font-family: Calibri">You can configure additional </span><span><span style="color: #000000;font-family: Calibri">filters, for example,</span></span><span style="color: #000000;font-family: Calibri"> see network parameters during calls, or media connectivity issues to troubleshoot issues with call quality. </span><span><span style="color: #000000;font-family: Calibri">You can find </span></span><span style="color: #000000;font-family: Calibri">how to configure CQD to troubleshoot networks in Skype Operations Framework. In this </span><span><span style="color: #000000;font-family: Calibri">blog,</span></span><span style="color: #000000;font-family: Calibri"> we want to show how to distinguish Cloud Connector calls from other calls.</span>

<span style="color: #000000;font-family: Calibri">The result </span><span><span style="color: #000000;font-family: Calibri">shown</span></span><span style="color: #000000;font-family: Calibri"> </span><span><span style="color: #000000;font-family: Calibri">on</span></span><span style="color: #000000;font-family: Calibri"> the screenshot below.</span>

<img width="1424" height="595" class="aligncenter size-full wp-image-195" alt="cqd4" src="https://msdnshared.blob.core.windows.net/media/2017/03/CQD4.jpg" />

&nbsp;
<div><strong>Questions:</strong>
<strong>Question:</strong> I see many RTCC/6.0.0.0/LyncSkypeGateway/* as a “First User Agent” is it related to hybrid voice?
<strong>Answer:</strong> No, these are gateways the service uses to place calls between Skype and Skype for Business users</div>
<div>Question: In some cases, I see “RTCC/6.0.0.0/* as a “Second User Agent” as on screenshot below. Based on the fact that if a call goes to the service, I expect RTCC/6.0.0.0 only as a “First User Agent.” Why?</div>
<div></div>
<div><img width="1397" height="401" class="aligncenter size-full wp-image-205" alt="pic5" src="https://msdnshared.blob.core.windows.net/media/2017/03/Pic5.jpg" /></div>
<div>

<strong>Answer:</strong> These are forwarded calls. Imagine the situation where an end user received a call on a Lync Client but set forward to another number; the call goes back to mediation server to make an external call.

<strong>Question:</strong> Why in some cases I see no data about call quality or network parameters?

<strong>Answer</strong>: There are several cases when this data is not available:

-          Calls to voice mail don’t send the data;

-          About 1% of sending the data might not reach the processing service. This is service limitation and we allow some data not reaching the service;

-          Forwarded calls also do not have the call quality data (will be fixed soon)

</div>
&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Skype for Business Cloud Connector Version 1.4.2 Release</title>
      <link>https://docs.microsoft.com/archive/blogs/sfbhybridvoice/skype-for-business-cloud-connector-version-1-4-2-release</link>
      <pubDate>Mon, 20 Mar 2017 07:12:10 GMT</pubDate>
      <dc:creator><![CDATA[Carolyn Blanding]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sfbhybridvoice/?p=125</guid>
      <description><![CDATA[Skype for Business Cloud Connector Version 1.4.2 Release
This is an important update as it is the...]]></description>
      <content:encoded><![CDATA[<h3>Skype for Business Cloud Connector Version 1.4.2 Release</h3>
This is an important update as it is the first update that will automatically update all existing installed Skype for Business Cloud Connector (Cloud Connector) 1.4.1 appliances based on the update schedule that administrators have configured for their Cloud Connector Hybrid PSTN Sites. For details please refer to <a href="https://blogs.technet.microsoft.com/sfbhybridvoice/2017/03/10/understanding-cloud-connector-edition-auto-update/">Understanding the automatic update process for Cloud Connector Edition</a>.

Be sure to read <a href="https://blogs.technet.microsoft.com/sfbhybridvoice/2017/03/10/prepare-for-cloud-connector-edition-release-1-4-2/">Prepare for Cloud Connector Edition Release 1.4.2</a> prior to your update schedule to insure a successful update.

If you are running version 1.3.8, please refer to the manual update instructions <a href="https://technet.microsoft.com/en-us/library/mt740656.aspx#Anchor_0">Upgrade a single site to a new version</a> in the Cloud Connector Edition configuration guide. Also, be sure to export a new sample Cloud Connector configuration file after 1.4.2 has been installed and update your existing configuration file with new parameters, e.g., HardwareType and WSUS Server.
<h3>Thoughts and Motivations behind 1.4.2</h3>
As you’ll see in the sections below we have several fixes and improvements in this latest version of CCE. We’ve listened to your feedback and made the 1.4.X CCE easier to deploy, more robust and fixed many minor bugs.

There are several reasons why we decided to issue a release now:
<ul>
 	<li>1.4.1 was about 9 months old. There were numerous improvements to the components of CCE and there were a pile of improvements and workarounds that were starting to cause deployment friction with our customers.</li>
 	<li>1.4.1 introduced Auto Update (among other improvements) but we had not released an actual update to verify at scale. While we tested Auto Update as part of the 1.4.1 release process, it was important to have a real update work well across the wide diversity of live CCE deployments. V2.0 is coming later this year and it has some substantial feature updates and changes to the CCE architecture, so it was important to make sure the fundamentals of 1.4.X Auto Update were well in hand before we start automatically updating a big release like V2.0</li>
</ul>
<u>There is another important point to make here: It is <b>really</b> important to enable Auto Update.</u>

Unlike pure cloud offerings or pure on-premises offerings (like Skype for Business Server or Cisco Call Manager) the software needed to deliver CloudPBX and Hybrid PSTN separate into two distinct places. The other offerings have all their elements in one place and while there may be new releases or updates, the old releases are self-consistent and unchanging. If you can live with current features, you can delay updating. It’s not unusual for on-premises software to skip several updates.

For Hybrid PSTN, the software components split across the Skype for Business Online (SFBO) cloud service elements and the elements inside the CCE in your data center. In SFBO, all components are capable of updating globally every 2 weeks and some can be done as quickly as 2 days. Some changes in the cloud need an upgrade to the on-premises CCE. If CCE does not auto update there is a real chance that PSTN calling will cease to work, or work intermittently. Deferring or stopping all CCE updates does not stop the cloud parts of your solution from updating. Auto Update is needed to ensure your CCE stays in sync with the Skype for Business cloud.
<h3>Changes in Support Policy</h3>
Since the beginning the EULA required before downloading CCE software notified the customer that their SLA requires that they comply with recommended software updates to keep their financially backed SLA in force. In support of that the CCE team spent a lot of time developing and perfecting the Auto Update subsystem for CCE to make staying current painless and eliminate software mismatch induced errors.

Starting with CCE 1.4.2 we will be a little more prescriptive on updates and SLAs:

<b>When we release version N (1.4.2 in this case) there is a 60 day window within which version N-1 (the prior released version, 1.4.1) will also be supported against the SLA commitment. After 60 days only version N is supported against the SLA commitment.</b>

Many customers still are running v1.3.8. This version is the original version of CCE, and it will <b>not</b> automatically update but it <b>will</b> manually update to the current production version of CCE. Given how old this release is to the evolving CloudPBX software, the risk of failure or degradation grows day by day. Please update your 1.3.8 ASAP. No one wants users to lose the ability to make/receive phone calls. We have tested updating 1.3.8 to 1.4.1 and to 1.4.2.

<b>If running 1.3.8, please manually update to 1.4.2 now</b>.
<h3>Improvements in 1.4.2</h3>
<h4>Revised cmdlet</h4>
Added following two parameters to Set-CcExternalCertificateFilePath:

<b>Target</b>: Define the certificate target, either <b>EdgeServer</b> or <b>MediationServer</b>.
<ul>
 	<li><b>Set-CcExternalCertificateFilePath -Path &lt;Path to Edge PFX Cerfiticate&gt; -Target EdgeServer</b>
Set the path to the certificate that has private key which the script will import and assign to the external interface of the Edge server during deployment.</li>
 	<li><b>Set-CcExternalCertificateFilePath -Path &lt;Path to PSTN Gateway Certificate&gt; -Target MediationServer</b>.
Set the path to the certificate that has the certificate chain of the issuing CA for the PSTN Gateway which the script will import to the Mediation server certificate store during deployment.</li>
</ul>
<b>Import</b>: Import the certificate for the Edge server or Mediation server.
<ul>
 	<li><b>Set-CcExternalCertificateFilePath -Path &lt;Path to Edge PFX Cerfiticate&gt; -Target EdgeServer -Import</b>. <b>
</b>Used to both import new certificate to the Edge server and assign it to the external interface. This action will put appliance in maintenance mode.</li>
 	<li><b>Set-CcExternalCertificateFilePath -Path &lt; Path to PSTN Gateway Certificate</b><b> &gt; -Target MediationServer -Import</b>. <b>
</b>Used to import new certificate chain of the issuing CA for PSTN Gateway certificate to the Mediation Server.</li>
</ul>
Defined certificate paths saved in "C:\ProgramData\CloudConnector\module.ini":
<ul>
 	<li>ExternalCertificateFilePath.</li>
 	<li>GatewayCertificateFilePath.</li>
</ul>
<h4>New cmdlets</h4>
Certificate Management
<ul>
 	<li><b>Backup-CcCertificationAuthority</b>: Backs up the certification authority service to a file and saves it to the CA folder under the site share directory.</li>
 	<li><b>Export-CcRootCertificate</b>: Exports the root CA certificate to a local file on the Cloud Connector host server.</li>
 	<li><b>Renew-CcCACertificate</b>: Reinstalls the Certification Authority Service AD Server to create a new root CA certificate..</li>
 	<li><b>Renew-CcServerCertificate:</b> Renews the certificates for Cloud Connector when they are near expiration or already expired.</li>
 	<li><b>Remove-CsCertificationAuthorityFile</b>: Removes the certification authority service backup file "&lt;SiteRootDirectory&gt;\CA\SfB CCE Root.p12" in the CA folder under the site share directory for Cloud Connector.</li>
 	<li><b><b>Remove-CcLegacyServerCertificate:</b></b>Removes legacy server certificates on the Central Management Store, Mediation Server, and Edge Server after you execute the Renew-CcCACertificate or Renew CcServerCertificate cmdlets.</li>
 	<li><b>Reset-CcCACertificate</b>: Resets the certificate authority servers to install a new certificate authority certificate.</li>
</ul>
CLS Logging
<ul>
 	<li><strong>Start-CcLogging</strong>: The Start-CcLogging cmdlet generates the incoming and outgoing call log for a Skype for Business Cloud Connector Edition instance.</li>
 	<li><strong>Stop-CcLogging</strong>: The Stop-CcLogging cmdlet stops generating the incoming and outgoing call log for a Skype for Business Cloud Connector Edition instance.</li>
 	<li><strong>Search-CcLog</strong>: The Search-CcLog cmdlet searches the incoming and outgoing call logs in the Skype for Business Cloud Connector Edition appliance log directory.</li>
</ul>
Cloud Connector cmdlet reference: <a href="https://technet.microsoft.com/EN-US/library/mt740652.aspx">https://technet.microsoft.com/EN-US/library/mt740652.aspx</a>
<h3>1.4.2 Resolves Following Issues</h3>
<ul>
 	<li>Inbound calls failed when Edge server was unable to resolve sipfederation_.tls record by using Pin Point Zones when creating Host A records for PSTN Gateway FQDN’s in the Cloud Connector internal DNS service. <a href="https://support.microsoft.com/en-us/help/3157353/incoming-call-fails-when-you-use-skype-for-business-cloud-connector-edition">https://support.microsoft.com/en-us/help/3157353/incoming-call-fails-when-you-use-skype-for-business-cloud-connector-edition</a>.</li>
 	<li>Failure occurred during installation when confirming services running on Mediation Server and Edge Server if Domain Admin and VM Admin credentials were different.</li>
 	<li>Failure to parse credential xml file when special characters, like &amp;, used in passwords.</li>
 	<li>Prompt for change in credentials due to expiring passwords for Cloud Connector Domain Admin, Local Machine Admin, and CCE Service account. These accounts are now all set for non-expiring passwords.</li>
 	<li>Caller ID not presented when calls placed from Skype for Business Mobile clients. <a href="https://support.microsoft.com/en-us/help/3161342/pstn-call-from-skype-for-business-mobile-client-shows-wrong-caller-number-in-cloud-connector-edition">https://support.microsoft.com/en-us/help/3161342/pstn-call-from-skype-for-business-mobile-client-shows-wrong-caller-number-in-cloud-connector-edition</a>.</li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>Understanding Cloud Connector Edition Auto Recovery</title>
      <link>https://docs.microsoft.com/archive/blogs/sfbhybridvoice/understanding-cloud-connector-edition-auto-recovery</link>
      <pubDate>Fri, 10 Mar 2017 14:53:40 GMT</pubDate>
      <dc:creator><![CDATA[Carolyn Blanding]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sfbhybridvoice/?p=75</guid>
      <description><![CDATA[Starting with the Skype for Business Cloud Connector (Cloud Connector) 1.4.1, we introduced an...]]></description>
      <content:encoded><![CDATA[Starting with the Skype for Business Cloud Connector (Cloud Connector) 1.4.1, we introduced an automated recovery process: Cloud Connector will try to automatically recover an appliance if the Cloud Connector management service detects a service is not running.
<h3>Auto Recovery Requirements</h3>
For details on Auto Update requirements, please see <a href="https://blogs.technet.microsoft.com/sfbhybridvoice/2017/03/10/understanding-cloud-connector-edition-auto-update/">Understanding Cloud Connector Edition Auto Update</a>
<h3>Auto Recovery Process</h3>
<b>Detection</b>: Process for detecting an appliance status runs every 60 seconds and status is updated in the online tenant and cached locally in “CCE Site Directory\Site_<i>EdgeFQDN”. </i>During detection the management switch will connect to the cloud connector virtual machines to run PowerShell session to get the status of the services.

<b>Monitoring</b>: The following services are actively monitored:
<ul>
 	<li>Mediation Server: RTCSRV and MEDSVC</li>
 	<li>Edge Server: RTCSRV</li>
</ul>
<b>Recovery Process</b>: If any monitored services are detected stopped:
<ul>
 	<li>The appliance status set to Error, and its network connection disconnected.</li>
 	<li>The <b>AutoMaintenanceStatus </b>value set to 3 indicating <b>Auto Recovery</b> status in the "Appliance Root\CceSevicePersistent" file.</li>
 	<li>Service tries three (3) times to restart the failed service(s). The HAHealthKeepRecover value in the "C:\ProgramData\CloudConnector\ApplianceManager.ini" increments for each attempt.</li>
 	<li>After 3 failed attempts, a process to restart each Cloud Connector Virtual Machine begins in this order: AD, CMS, MS, Edge.</li>
 	<li>The network connection restored when the appliance is running.</li>
 	<li>If recovery cannot complete, the following events logged by the Cloud Connector management service in the Windows application event log:
<ul>
 	<li>Event ID 304: Completed recovery of the appliance, recover result: CannotRecover</li>
 	<li>Event ID 20006: Appliance cannot be recovered automatically, please recover manually</li>
</ul>
</li>
</ul>
<h3>Manual Recovery</h3>
To manually recover the appliance, first review the Cloud Connector management service log for details on what prevented automatic recovery from being successful.

<b>Log location</b>: "C:\Program Files\Skype for Business Cloud Connector Edition\ManagementService\CceManagementService.log"

If connectivity to the Cloud Connector virtual machines fails due to an access denied error message, manually check network connectivity to the machines.

If any services cannot be started on either the Edge and/or Mediation server, connect to the virtual machines and review the Lync Server event logs for relevant error messages and try to start the services manually.

<a href="https://msdnshared.blob.core.windows.net/media/2017/03/clip_image0016.png"><img width="244" height="150" title="clip_image001" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border: 0px" alt="clip_image001" src="https://msdnshared.blob.core.windows.net/media/2017/03/clip_image001_thumb5.png" border="0" /></a>
<h4>Reset the Appliance</h4>
Once services are running, reset the appliance status to a running state by running the following cmdlets in an Administrative PowerShell on the Host Appliance:
<ul>
 	<li><b>Enter-CcUpdate</b> and wait for the process to complete.</li>
 	<li><b>Exit-CcUpdate </b>and wait for the process to complete.</li>
</ul>
<h4>Confirm the Appliance Status</h4>
Confirm the appliance has returned to a running state as follows:
<ul>
 	<li>Open the "Appliance Root\CceSevicePersistent" file in Notepad and check confirm the value for <b>AutoMaintenanceStatus</b> is 0, and the <b>IsInManualMaintenance</b> value is false</li>
 	<li>Connect to Remote PowerShell and run <b>Get-CcHybridPSTNAppliance</b> and confirm the Status for the appliance is <b>Running</b>.</li>
</ul>
<strong>Note</strong>: You can also check the status of appliances from the <b>on premises PSTN</b> tab in the Voice section of Skype for Business Admin Center in your Office 365 tenant portal.
<h4>Worst Case Scenario</h4>
If the current version of the appliance cannot be recovered, run <b>Switch-CcVersion </b>to switch to the backup version. After the backup version is confirmed running, uninstall the non-working version with: <b>Uninstall-CcAppliance -Version “# of non-working version”</b>.

Note that when the backup version is running, there will be no High Availability support due to inconsistent running and Cloud Connector script versions. Update to the current version as soon as possible, either by modifying the auto update schedule, or manually. For manual update instructions see <a href="https://technet.microsoft.com/en-us/library/mt740656.aspx#Anchor_0">Upgrade a single site to a new version</a> in the Cloud Connector Edition configuration guide.

<b>Cmdlets to check versions</b>
<ul>
 	<li>Installed Cloud Connector script version: <b>Get-CcVersion</b></li>
 	<li>Appliance running version: <b>Get-CcRunningVersion</b></li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>Understanding Cloud Connector Edition Auto Update</title>
      <link>https://docs.microsoft.com/archive/blogs/sfbhybridvoice/understanding-cloud-connector-edition-auto-update</link>
      <pubDate>Fri, 10 Mar 2017 14:50:01 GMT</pubDate>
      <dc:creator><![CDATA[Carolyn Blanding]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sfbhybridvoice/?p=115</guid>
      <description><![CDATA[Starting with Skype for Business Cloud Connector (Cloud Connector) 1.4.1, we introduced an automated...]]></description>
      <content:encoded><![CDATA[Starting with Skype for Business Cloud Connector (Cloud Connector) 1.4.1, we introduced an automated update process: Cloud Connector automatically update based on the update schedule that administrators have configured for their Cloud Connector Hybrid PSTN Sites. This article goes into the details of this automatic update.

<b><i>Note:</i></b> Cloud Connector should be viewed as a part of Skype for Business Service. We are constantly improving the service and make changes in the Service and in Cloud Connector. If you do not update the Cloud Connector to the latest release, you might end up in the situation when your Cloud Connector will not work properly. Imagine the situation, Microsoft updated the service, added changes in Cloud Connector code to make it work with the new version of the service, but if you don’t update the Cloud Connector, your telephony will not work. Because of these, Microsoft supports only the latest version of Cloud Connector software. Also, to accommodate Update Window, we support the N-1 version for 60 days after releasing a new version.
<h3>Auto Update Requirements</h3>
<ul>
 	<li>Outbound internet access to install, manage, and update Cloud Connector on Host Appliance.</li>
 	<li>Outbound internet access on all Cloud Connector VM’s to download Windows updates, or, access to WSUS server as defined in Cloud Connector configuration file.</li>
 	<li>Skype for Business Online PowerShell Module installed on Host Appliance.</li>
 	<li>CCE Management Service is running on Host Appliance.</li>
 	<li>Group Policy to prevent forcefully unloading user registry at log off (required for 1.4.1).</li>
 	<li>Skype for Business Tenant Admin account.</li>
</ul>
<h3>Initial Setup</h3>
When the first Cloud Connector appliance is registered, a PSTN site is configured in the Office 365 Skype for Business Tenant, with the name of the Site as defined in the Cloud Connector configuration file, Auto update is enabled, and default time windows are configured for both the software (bits) and operating system (windows) with corresponding Tenant Update Time Windows that are configured in the tenant as part of this registration process. To view the PSTN site settings, run Get-CsHybridPSTNSite in Skype for Business Online PowerShell. To modify, use Set-CsHybridPSTNSite -Identity &lt;Site Name&gt;.

<a href="https://msdnshared.blob.core.windows.net/media/2017/03/clip_image00161.png"><img width="414" height="89" title="clip_image001[6]" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border-width: 0px" alt="clip_image001[6]" src="https://msdnshared.blob.core.windows.net/media/2017/03/clip_image0016_thumb.png" border="0" /></a>
<h3>Confirm or Modify the Update Schedule for Hybrid PSTN Site(s)</h3>
To confirm the schedule for updating Cloud Connector software, administrators can use Remote PowerShell as noted above, or can view the Hybrid PSTN site update schedule in Skype for Business Admin Center in the <b>on premises PSTN</b> tab of the Voice section. <b>Note</b> that updates will run based on the local host time of the Cloud Connector appliance.

Please be sure to confirm that auto update is <b>enabled </b>and that a bits update time window is set to correspond to the maintenance window that you want the updates to run. The time that updates will occur is based on the local time of the Cloud Connector host appliance. For example, if the update time window is set for 11PM and the Cloud Connector appliance is in Amsterdam, the updates will occur at 11PM CET (UTC+1).

For details on how to configure update time windows, please refer to <a href="https://technet.microsoft.com/en-us/library/mt740655.aspx">Modify the configuration of an existing Cloud Connector deployment</a>.
<h3>Cloud Connector Auto Update Process</h3>
When auto updates are enabled, the Cloud Connector management service will check for updates during the update time window configured. If updates are found, then the update process will proceed with the update.
<h4>Detection</h4>
The CCE Management service uses cached update time window information stored in the root of the CCE Site Directory\<i>Tenant_&lt;EdgeFQDN&gt; </i>file when checking if updates run. This file is updated from O365 tenant every 30 minutes. Therefore, if you modify the schedule online, it can take up to 30 minutes for the change to be implemented on the host appliance.
<h4>Auto Update Process Overview</h4>
<ol>
 	<li>The auto update process will run on the schedule set by Tenant Administrator based on local host appliance clock.</li>
 	<li>Update detection will continue to run for the duration specified in the update time window.</li>
 	<li>If an update is detected, the update process is invoked.</li>
 	<li>The appliance will be put in maintenance mode and only one appliance per site can enter maintenance mode. The maintenance mode lock is written to the root of the CCE Appliance Directory\CceSevicePersistent file. Values for the AutoMaintenanceStatus in this file are: <span style="font-family: Courier New">0=None, 1=Bits Update, 2=OS Update, 3=RecoveryMode</span></li>
 	<li>Update tasks will run.</li>
 	<li>Once updates are completed and all services are confirmed running, the Appliance will be taken out of maintenance mode.</li>
 	<li>Repeat steps for the next appliance in site.</li>
</ol>
<h4>Monitor Update Process</h4>
The Cloud Connector management service will log events to the Windows Application log with a source of CCEManagementService and detailed information will be written to "C:\Program Files\Skype for Business Cloud Connector Edition\ManagementService\CceManagementService.log".

<b>Note</b>: the CCEManagementService.log can grow quite large, so you might want to stop the CCE Management Service, and rename this log periodically. There are plans to modify logging in the future to prevent log growth. If the log file size becomes too large to open in a text editor, you must use a text file splitter to break into smaller segments.

You can also see the status of the appliance by running <b>Get-CsHybridPSTNAppliance</b> in Remote PowerShell or by viewing in on premises PSTN tab in the Voice section of the Skype for Business Admin Center.
<h4>Bits Update Process</h4>
During this process, the running version remains in service, and an interim switch is used to connect to the new VM’s. Once the new version installation is complete and services are confirmed to be running, the old version is drained stopped and the network connections are switched to the new version.
<ol>
 	<li>Bits update is detected based on the scheduled time window.</li>
 	<li>Bits update task is triggered.</li>
 	<li>The Cloud Connector download site is queried and if a new build is detected, then the update will occur.</li>
 	<li>The appliance is put in maintenance mode, and the appliance status is updated in the Tenant showing <b>Status</b> of Maintenance, and <b>DeploymentStatus</b> of Upgrading, with the new version and the start time that the update began.</li>
 	<li>Cloud Connector bits are downloaded.</li>
 	<li>The CCE management service is stopped.</li>
 	<li>The Skype for Business Online Cloud Connector edition software is updated which requires uninstalling the old version and installing the new version.</li>
 	<li>New virtual machines are built from the existing VHDX file. If the VHDX is detected to be older than 90 days, the Install Instance script will log the following warning:
SFBServer.vhdx was generated more than 90 days before. Use Convert-CcIsoToVhdx to generate it again and apply windows updates.<span style="font-size: medium"> </span>

<span style="font-size: medium">Note: It is recommended that a new VHDX be built periodically to reduce the amount of time to perform Windows updates for new and updated Cloud Connector machines. It’s not supported to update the VHDX with Windows update and re-run Sysprep as there are a limited number of times that Sysprep can run on a computer.</span></li>
 	<li>Once the deployment of the new Cloud Connector is completed and services confirmed running, the switch to the new version will occur as follows:
<ol>
 	<li>Change virtual network connections to new Cloud Connector virtual machines.</li>
 	<li>Shut down the N+1 version.</li>
 	<li>Remove N+2 version and delete the virtual disks.</li>
</ol>
</li>
 	<li>The appliance will be taken out of maintenance mode, and the appliance status is updated in the Tenant to reflect updated <b>Status</b> of running, <b>Version</b> number of new build, and <b>DeploymentStatus</b> of Upgraded.</li>
 	<li>Detailed logs for the download, upgrade of the Cloud Connector software, new version installation and switch to new build will be written to the Logs folder located in the root of the Appliance directory.</li>
</ol>
<h4>Windows Update Process</h4>
Windows update process is performed on the active running version. Therefore, when a windows update is detected, the appliance is drained stopped and put in maintenance mode.
<ol>
 	<li>OS update is detected during scheduled time window.</li>
 	<li>OS update task is triggered.</li>
 	<li>The appliance is put in maintenance mode, and the appliance status is updated in the Tenant showing <b>Status</b> of Maintenance, and <b>OsUpdateStatus</b> of Upgrading, with start time.
<a href="https://msdnshared.blob.core.windows.net/media/2017/03/clip_image0036.jpg"><img width="671" height="19" title="clip_image003[6]" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border-width: 0px" alt="clip_image003[6]" src="https://msdnshared.blob.core.windows.net/media/2017/03/clip_image0036_thumb.jpg" border="0" /></a></li>
 	<li>The RTCSRV service on Edge and the RTCSRV and RTCMEDSRV services on Mediation server are drained stopped.</li>
 	<li>OS update PowerShell script is copied to the root of the System drive on all CCE VM’s.</li>
 	<li>Local windows update service is triggered to check for updates either against Windows Updates Internet service, or the local WSUS server defined in Cloud Connector configuration file.</li>
 	<li>Updates are installed and a check for virtual machine restart is run.</li>
 	<li>If a restart is required, all Cloud Connector virtual machines are restarted, then a second check for restart is run.</li>
 	<li>Once updates are completed on all virtual machines, the updates are run on the host appliance and its restarted.</li>
 	<li>Once the host has been restarted and no additional restarts are confirmed, the appliance is taken out of maintenance mode, and the appliance status is updated in the Tenant to reflect updated <b>Status</b> of running, and <b>OSUpdateStatus</b> of Updated.</li>
</ol>
<h3>Troubleshooting Auto Update</h3>
<b>CCE Management Service Logging Level: </b>If you need more diagnostic logging, you can modify the logging level to verbose for the following two settings in the "C:\Program Files\Skype for Business Cloud Connector Edition\ManagementService\Microsoft.Rtc.CCE.ManagementService.exe.config“ (This will cause rapid log growth):

&lt;add name="serviceSwitch" value="Information"/&gt;

&lt;add name="powershellSwitch" value="Warning"/&gt;

<b>If updates are not running because another maintenance task is detected</b>, check the status of the CCE Appliance Directory\CceSevicePersistent file to determine what task is running.

{"AutoMaintenanceStatus":#,"IsInManualMaintenance":false}

0=None, 1=Bits Update, 2=OS Update, 3=RecoveryMode

<b>Bits update failed to switch version </b>is logged by the CCE Management Service with following error:<b>
</b>CceService Error: 20003: Bits update failed to switch version. Appliance running status: Running, error detail: Failed to drain services with exception: [192.168.213.4] Connecting to remote server 192.168.213.4 failed with the following error message: Access is denied

Check the networking status on the virtual machines and be sure there are no duplicate IP’s configured.]]></content:encoded>
    </item>
    <item>
      <title>Prepare for Cloud Connector Edition Release 1.4.2</title>
      <link>https://docs.microsoft.com/archive/blogs/sfbhybridvoice/prepare-for-cloud-connector-edition-release-1-4-2</link>
      <pubDate>Fri, 10 Mar 2017 08:05:50 GMT</pubDate>
      <dc:creator><![CDATA[Carolyn Blanding]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sfbhybridvoice/?p=45</guid>
      <description><![CDATA[Expected release date for this is 3/20/2017 pending final testing. Look for release announcement...]]></description>
      <content:encoded><![CDATA[Expected release date for this is 3/20/2017 pending final testing. Look for release announcement here.

This update is important, as it is the first to automatically update all existing installed Skype for Business Cloud Connector 1.4.1 appliances, based on the update schedule that administrators have configured for their Cloud Connector Hybrid PSTN Sites. For managing auto update, see <a href="https://techcommunity.microsoft.com/t5/Skype-Operations-Framework-Skype/Understanding-Cloud-Connector-Edition-Auto-Update/ba-p/48014">Understanding Cloud Connector Edition Auto Update</a>.

If you are running version 1.3.8, refer to the manual update instructions <a href="https://technet.microsoft.com/en-us/library/mt740656.aspx#Anchor_0">Upgrade a single site to a new version</a> in the Cloud Connector Edition (CCE) configuration guide. Also, make sure to export a new sample Cloud Connector configuration file after 1.4.2 is installed for reference, and update your existing configuration file with two new parameters defined in the Common Section: HardwareType and WSUS Server.

If you are having problems installing or upgrading to 1.4.2, see <a href="https://blogs.technet.microsoft.com/sfbhybridvoice/2017/04/07/troubleshooting-cloud-connector-edition-1-4-2-updates-and-new-deployments/">Troubleshooting Cloud Connector Edition 1.4.2 Updates and New Deployments</a>.
<h4>Confirm Group Policy is Configured</h4>
To ensure Cloud Connector successfully automatically updates, confirm that all Cloud Connector host appliance computers have the local Group Policy (GP) applied as documented in the <a href="https://technet.microsoft.com/en-us/library/mt740649.aspx#Anchor_8">Prepare your environment for Cloud Connector</a> document.

<b>Note</b>: This group policy is not required for appliances deployed with version 1.4.2 or higher.
<h4>Remove Forward PAI from Cloud Connector Configuration</h4>
Use of Forward PAI has been deprecated in 1.4.2 as it’s no longer required to resolve missing caller ID for outbound calls from Skype for Business Mobile clients which has been resolved with changes in outbound routing logic for Cloud Connector.
<ol>
 	<li>Open the “Appliance Root\CoudConnector.ini” file in a text editor and check the value for ForwardPAI.</li>
 	<li>If the value is <b>False</b>, Remove the entire ForwardPAI section and save the configuration file.
<a href="https://msdnshared.blob.core.windows.net/media/2017/03/clip_image0028.jpg"><img width="426" height="51" title="clip_image002[8]" style="padding-top: 0px;padding-left: 0px;padding-right: 0px;border-width: 0px" alt="clip_image002[8]" src="https://msdnshared.blob.core.windows.net/media/2017/03/clip_image0028_thumb.jpg" border="0" /></a></li>
 	<li>If the value is True, indicating you are actively using this for mobile caller ID, wait until 1.4.2 is installed before removing this section in the configuration file. Then, follow the Update Trunk Configuration instructions below.</li>
</ol>
<b>Note:</b> Run <b>Get-CcApplianceDirectory</b> from the Administrative PowerShell console on the Cloud Connector appliance host to locate the appliance directory if unknown

<b><span style="font-size: medium">Update Trunk Configuration</span></b>
<ol>
 	<li>Connect to Mediation Server</li>
 	<li>Open PowerShell as Administrator</li>
 	<li>Run <b>Set-CsTrunkConfiguration -ForwardPAI $False</b></li>
 	<li>Confirm replication to all servers with <b>Get-CsManagementStoreReplicationStatus</b></li>
</ol>
<h4>Set CCE Account Passwords to Non-Expiring</h4>
A bug in prior builds caused Cloud Connector account passwords to expire. If the passwords have expired, then the update will fail. To ensure that the upgrade to 1.4.2 is successful, please do the following:
<ol>
 	<li>Log in to the CCE AD machine with the CCE Domain Admin password. Open the <b>AD Users and Computers console</b> from Administrative tools, and set both the Administrator and CCEService accounts to <b>non-expiring passwords</b>.</li>
 	<li>Log in to each of the other CCE machines with the CCE Domain Admin password. Open <b>Computer Management</b>, and set both the Administrator and CCEService accounts to <b>non-expiring passwords</b>.</li>
 	<li>On the CCE Appliance Host, open <b>Computer Management</b>, and set both the Administrator and CCEService accounts to <b>non-expiring passwords</b>.</li>
</ol>
<h4>Proxy Configured in DMZ</h4>
If you require a Proxy in DMZ for Internet access, confirm the following on the Host appliance.
<ol>
 	<li>WinHTTP Proxy settings are configured with your proxy server and a Bypass-list including the "192.168.213.*” network used by your Cloud Connector Managements services to bypass the proxy. Otherwise management connectivity will fail and prevent the deployment of Cloud Connector Edition. <b>Note</b> – match the bypass list to the management subnet that is defined in your CloudConnector.ini file. Sample winhttp configuration command:
netsh winhttp set proxy "10.10.10.175:8080" bypass-list="*.local;1.*;172.20.*;192.168.218.*'&lt;local&gt;"</li>
 	<li>Proxy settings are configured per-machine rather than by user. Otherwise Cloud Connector downloads will fail. This can be done either with registry change or Group Policy setting:
<ul>
 	<li><strong>Registry: </strong>HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings] ProxySettingsPerUser dword:00000000</li>
 	<li><strong>Group Policy: </strong>Computer&gt;Administrative Templates&gt;Windows Components&gt; Internet Explorer: Make Proxy settings per-machine (rather than per user)</li>
</ul>
</li>
</ol>
<strong>Note: </strong>Be sure to configure IE Proxy settings on Cloud Connector virtual machines to allow them to reach Windows Update Servers for operating system updates.]]></content:encoded>
    </item>
  </channel>
</rss>