在 Lync Server 2013 中为远程呼叫控制配置受信任的应用程序项

 

上次修改的主题: 2015-11-02

必须将 SIP/CSTA 网关配置为受信任的应用程序,以便 Lync Server 应用静态路由以将调用路由到网关。

重要

如果要从早期版本的 Lync Server 部署迁移用户,请确保在遵循本主题中的过程之前,先删除以前为 SIP/CSTA 网关创建的已授权主机条目) (以前称为授权主机条目的所有现有受信任应用程序条目。 有关详细信息,请参阅 在 Lync Server 2013 中删除旧版授权主机 (可选)
如果计划使用传输控制协议 (TCP) 连接部署新的远程呼叫控制,则需要验证是否应在现有受信任的应用程序和池上设置对 所选 IP 地址的服务使用 限制,如果要对新的受信任应用程序使用同一 TCP 端口。

为 SIP/CSTA 网关配置受信任的应用程序条目

  1. 登录到将 Lync Server Management Shell 安装为 RTCUniversalServerAdmins 组成员或基于角色的访问控制 (RBAC) 角色的计算机,你已将 New-CsTrustedApplicationPool cmdlet 分配到该角色。

  2. 启动 Lync Server Management Shell:单击 “开始”,单击 “所有程序”,单击 Microsoft Lync Server 2013,然后单击 Lync Server Management Shell

  3. 若要创建受信任的应用程序条目,请执行以下操作之一:

    • 对于传输层安全 (TLS) 连接,请在命令提示符处键入以下内容:

      New-CsTrustedApplicationPool -Identity <FQDN of the SIP/CSTA gateway> [-Registrar <Service ID or FQDN of the Registrar service>] -Site <Site ID for the site where you want to create the trusted application pool>
      

      例如:

      New-CsTrustedApplicationPool -Identity rccgateway.contoso.net -Registrar registrar1.contoso.net -Site co1 -TreatAsAuthenticated $true -ThrottleAsServer $true
      
    • 对于传输控制协议 (TCP) 连接,请在命令提示符处键入以下内容:

      New-CsTrustedApplicationPool -Identity <IP address or FQDN of the SIP/CSTA gateway> [-Registrar <Service ID or FQDN of the Registrar service>] -Site <Site ID for the site where you want to create the trusted application pool>
      

      例如:

      New-CsTrustedApplicationPool -Identity 192.168.0.240 -Registrar registrar1.contoso.net -Site co1 -TreatAsAuthenticated $true -ThrottleAsServer $true
      
  4. 若要将受信任的应用程序添加到池中,请执行以下操作之一:

    • 对于 TLS 连接,请在命令提示符处键入以下内容:

      New-CsTrustedApplication -ApplicationID <application name> -TrustedApplicationPoolFqdn <FQDN of the SIP/CSTA gateway> -Port <SIP listening port on the gateway>
      

      例如:

      New-CsTrustedApplication -ApplicationID RccGateway-1 -TrustedApplicationPoolFqdn rccgateway.contoso.net -Port 5065
      
    • 对于 TCP 连接,请在命令提示符处键入以下内容:

      New-CsTrustedApplication -ApplicationID <application name> -TrustedApplicationPoolFqdn <IP address or FQDN of the SIP/CSTA gateway> -Port <SIP listening port on the gateway> -EnableTcp
      

      例如:

      New-CsTrustedApplication -ApplicationID RccGateway-1 -TrustedApplicationPoolFqdn 192.169.0.240 -Port 5065 -EnableTcp
      
  5. 若要实现已发布的拓扑更改,请在命令提示符处键入以下内容:

    Enable-CsTopology