Topic Last Modified: 2011-02-01
Remote call control requires that every Lync Server pool is configured with a path from that pool to the SIP/CSTA gateway that connects to the private branch exchange (PBX). This path requires that each pool has one static route for each gateway to which the pool will proxy SIP call control messages associated with calls to the PBX. If you configure a global static route for remote call control, each pool that is not configured with a static route at the pool level will use the global static route.
To configure a static route for remote call control
-
Log on to a computer where Lync Server Management Shell is installed as a member of the RTCUniversalServerAdmins group or a role-based access control (RBAC) role to which you have assigned the New-CsStaticRoute cmdlet.
-
Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell.
-
To create a static route and put it in the variable $TLSRoute or $TCPRoute, do one of the following:
Tip: To match child domains of a domain, you can specify a wildcard value in the MatchUri parameter. For example, *.contoso.net. That value matches any domain that ends with the suffix contoso.net. - For a Transport Layer Security (TLS) connection, type the
following at the command prompt:
Copy Code $TLSRoute = New-CsStaticRoute -TLSRoute -Destination <gateway FQDN> -Port <gateway SIP listening port> -UseDefaultCertificate $true -MatchUri <destination domain>
Copy Code $TLSRoute = New-CsStaticRoute -TLSRoute -Destination rccgateway.contoso.net -Port 5065 -UseDefaultCertificate $true -MatchUri *.contoso.net
Copy Code Get-Help New-CsStaticRoute -Full
- For a Transmission Control Protocol (TCP) connection, type the
following at the command prompt:
Note: If you specify a fully qualified domain name (FQDN), you must configure a Domain Name System (DNS) A record first. Copy Code $TCPRoute = New-CsStaticRoute -TCPRoute -Destination <gateway IP address or FQDN> -Port <gateway SIP listening port> -MatchUri <destination domain>
Copy Code $TCPRoute = New-CsStaticRoute -TCPRoute -Destination 192.168.0.240 -Port 5065 -MatchUri *.contoso.net
- Enabled = True
- MatchOnlyPhoneUri = False
- ReplaceHostInRequestUri = False
Copy Code Get-Help New-CsStaticRoute -Full
- Enabled = True
- For a Transport Layer Security (TLS) connection, type the
following at the command prompt:
-
To persist a newly created static route in the Central Management store, run one of the following, as appropriate:
Copy Code Set-CsStaticRoutingConfiguration -Route @{Add=$TLSRoute}
Copy Code Set-CsStaticRoutingConfiguration -Route @{Add=$TCPRoute}