Real-Time UC

A Universal Communications Blog by Office Apps and Services MVP Michael LaMontagne

CloudPBX Enterprise Voice Fixes Lync Office365 Skype for Business

Unable to Escalate PSTN calls via CCE to an Audio Conference

Let’s just assume that a Skype for Business Cloud Connector Edition (CCE) has been deployed successfully, the steps to configure an online hybrid Mediation Server ( Configure online hybrid Mediation Server Settings) was completed and at one time PSTN calls could be escalated to an Audio Conference. Fast forward a few months and users report PSTN call escalation fails every time.

Always view the ms-diagnostics details specific to the SIP response.

After reviewing the session details the dreaded “404 Not Found” error with the ms-diagnostics details “User Does not exist” appears. This shouldn’t be confused with the same error when just making a normal call via Microsoft Phone System:

First, make sure your CCE hasn’t drifted into the future and time is out of sync, Lee Ford has a nice write up on this scenario:

Next, check the health of your Hybrid Mediation Server object. I use the following PowerShell One-Liner to dump a list of all my CCEs and check for any user objects created for use as the Hybrid Mediation Server:

Get-CsHybridPSTNSite | foreach {Get-CsOnlineUser -Filter "HostingProvider -like '*$($_.edgefqdn)*'" | Get-CsHybridMediationServer}

If you get no object, that means someone had deleted the user account.

In my case an Admin rolled out an auto Office 365 licensing script and even though the account had originally met the requirement: “Do not assign any Office 365 licenses (such as E5) to the account you create. Wait for Office 365 AD sync to complete”. Apparently that requirement is for perpetuity and if the account is licensed for Skype for Business Online the AccessProxyExternalFqdn changes from the Edge FQDN of the CCE to “” breaking the Hybrid Mediation Server functionality. You do get a nice warning off the Get-CsHybridMediationServer cmdlet (“cannot be set as Hybrid Mediation Server”). Simple fix is to unlicense the account and run the original Set-CsHybridMediationServer.

Unfortunately, I found out that after 30 days the licensing deprovisioning process actually changes the Skype for Business Online user account object to be disabled, again breaking the Hybrid Mediation Server functionality (“not set as valid Hybrid Mediation Server”). Run the original Set-CsHybridMediationServer one more time and you’re back in business. Also a great time to hunt down the Admin that licensed the Hybrid Mediation Server object.

Hugo-Octopress Theme | Powered by Hugo