Get Lync / Skype for Business User Call Routing Settings

Search for user call forwarding and simultaneous ring settings in Lync 2013 / Skype for Business 2015.

 
 
 
 
 
4.5 Star
(2)
170 times
Add to favorites
Lync
11/18/2016
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Error: Cannot convert value
    4 Posts | Last post August 02, 2017
    • I have tested with a SIPuri, hosted on a SBA, and got the following error:
      
      Cannot convert value "<routing xmlns="http://schemas.microsoft.com/02/2006/sip/routing" name="rtcdefault" version="2" ........<long output cropped>..
      
      Error: "This document already has a 'DocumentElement' node."
      At C:\temp\Get-CsUserRoutingConfig.ps1:100 char:1
      + [xml]$XMLData = [System.Text.Encoding]::ASCII.GetString($RoutingInformation.Data ...
      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
          + FullyQualifiedErrorId : InvalidCastToXmlDocument
      
      If tested with a SIPuri hosted on Lync2013 pool, it works fine.
    • Unfortunately this is something I overlooked in my testing. I will have to test it in my lab and publish an updated fix.
    • Ok, so it wasnt my mistake, but some real issue with the script? Glad I helped to discover it :)
    • For sfb2015 server works only if change 59 to
      $UserHomePool = Get-CsUserPoolInfo $SipAddress | select -ExpandProperty PrimaryPoolFQDN