This page is a part of this sites archive and was migrated from another platform. Links, images and/or formatting may be broken.



After adding a static route to Lync (for example when adding a CTP integration) you can use the following command to show the route:
 Get-CsStaticRoutingConfiguration Service:Registrar:lspool01.contoso.com

´´´Identity : Service:Registrar:lspool01.contoso.com Route    : {MatchUri=video.contoso.com;MatchOnlyPhoneUri=False;Enabled=True;ReplaceHostInRequestUri=False}´´´ This will list the static route, but it won’t show all the route details (specifically the route target which is semi often used in troubleshooting) as they are contained inside a Route object in the StaticRoutingConfiguration object. To list the details of the route, do:

https://gist.github.com/Tom-Inge Larsen/b8974b83625445b4060e

This will give you the content of the route. ´´´Transport               : TransportChoice=Certificate=Microsoft.Rtc.Management.WritableConfig.Settings.SipProxy.UseDefaultCert;Fqdn=vcsc.contoso.com;Port=5061 MatchUri                : video.contoso.com MatchOnlyPhoneUri       : False Enabled                 : True ReplaceHostInRequestUri : False´´´