Lync Server 2013 中的中介服务器组件Mediation Server component in Lync Server 2013

 

上次修改的主题: 2012-09-21Topic Last Modified: 2012-09-21

如果部署企业语音工作负载,则必须部署 Lync Server 2013 (中介服务器)。You must deploy Lync Server 2013, Mediation Server if you deploy the Enterprise Voice workload. 本节描述了基本功能、依赖关系、基本拓扑和规划指南。This section describes basic functionality, dependencies, basic topologies, and planning guidelines.

中介服务器转换信号,在某些配置中,内部 Lync Server 2013、企业语音基础结构和公共交换电话网络之间的媒体 (PSTN) 网关或会话初始协议 (SIP) 中继。The Mediation Server translates signaling and, in some configurations, media between your internal Lync Server 2013, Enterprise Voice infrastructure and a public switched telephone network (PSTN) gateway or a Session Initiation Protocol (SIP) trunk. 在 Lync Server 2013 端,中介服务器侦听单个相互 TLS (MTLS) 传输地址。On the Lync Server 2013 side, Mediation Server listens on a single mutual TLS (MTLS) transport address. 在网关这一端,中介服务器侦听与拓扑文档中定义的中继关联的所有相关侦听端口。On the gateway side, Mediation Server listens on all associated listening ports associated with trunks defined in the Topology document. 所有合格网关必须支持 TLS,但也可以启用 TCP。All qualified gateways must support TLS, but can enable TCP as well. 不支持 TLS 的网关将支持 TCP。TCP is supported for gateways that do not support TLS.

如果你的环境中还有现有的公共分支 Exchange (PBX) ,中介服务器将处理企业语音用户和 PBX 之间的呼叫。If you also have an existing Public Branch Exchange (PBX) in your environment, Mediation Server handles calls between Enterprise Voice users and the PBX. 如果你的 PBX 是 ip-pbx,则可以在 PBX 和中介服务器之间创建直接 SIP 连接。If your PBX is an IP-PBX, you can create a direct SIP connection between the PBX and Mediation Server. 如果你的 PBX 是时间分段多路传输 (TDM) PBX,则还必须在中介服务器和 PBX 之间部署 PSTN 网关。If your PBX is a Time Division Multiplex (TDM) PBX, you must also deploy a PSTN gateway between Mediation Server and the PBX.

默认情况下,中介服务器与前端服务器并置。The Mediation Server is collocated with the Front End Server by default. 由于性能原因,中介服务器也可以部署在独立的池中,如果您部署 SIP 中继,则强烈建议使用独立池。The Mediation Server can also be deployed in a stand-alone pool for performance reasons, or if you deploy SIP trunking, in which case the stand-alone pool is strongly recommended.

如果将直接 SIP 连接部署到支持媒体旁路和 DNS 负载平衡的合格 PSTN 网关,则不需要独立的中介服务器池。If you deploy Direct SIP connections to a qualified PSTN gateway that supports media bypass and DNS load balancing, a stand-alone Mediation Server pool is not necessary. 若要将直接 SIP 连接部署到支持媒体旁路和 DNS 负载平衡的合格的 PSTN 网关,则不需要独立的中介服务器池,因为合格的网关能够将 DNS 负载平衡到中介服务器池,并且可以从池中的任何中介服务器接收通信。A stand-alone Mediation Server pool is not necessary because qualified gateways are capable of DNS load balancing to a pool of Mediation Servers and they can receive traffic from any Mediation Server in a pool.

如果已部署 IP-PBX 或连接到互联网电话服务供应商的会话边界控制器 (SBC),只要满足以下其中一个条件,我们还建议您将中介服务器并置在前端池上:We also recommend that you collocate the Mediation Server on a Front End pool when you have deployed IP-PBXs or connect to an Internet Telephony Server Provider’s Session Border Controller (SBC), as long as any of the following conditions are met:

  • IP-PBX 或 SBC 已配置为接收来自池中的任何中介服务器的通信,并且可将通信统一路由到池中的所有中介服务器。The IP-PBX or SBC is configured to receive traffic from any Mediation Server in the pool and can route traffic uniformly to all Mediation Servers in the pool.

  • Ip-pbx 不支持媒体旁路,但承载中介服务器的前端池可以处理对不应用媒体旁路的呼叫的语音转码。The IP-PBX does not support media bypass, but the Front End pool that is hosting the Mediation Server can handle voice transcoding for calls to which media bypass does not apply.

您可以使用 Microsoft Lync Server 2013、规划工具来评估您要并置中介服务器的前端池是否可以处理负载。You can use the Microsoft Lync Server 2013, Planning Tool to evaluate whether the Front End pool where you want to collocate the Mediation Server can handle the load. 如果您的环境不能满足这些要求,则必须部署独立的中介服务器池。If your environment cannot meet these requirements, then you must deploy a stand-alone Mediation Server pool.

中介服务器的主要功能如下所示:The main functions of the Mediation Server are as follows:

  • 在 Lync Server 端对 SRTP 进行加密和解密Encrypting and decrypting SRTP on the Lync Server side

  • 将 TCP 上的 SIP(针对不支持 TLS 的网关)转换为相互 TLS 上的 SIPTranslating SIP over TCP (for gateways that do not support TLS) to SIP over mutual TLS

  • 在 Lync Server 和中介服务器的网关对等之间转换媒体流Translating media streams between Lync Server and the gateway peer of the Mediation Server

  • 将网络外部的客户端连接到内部 ICE 组件,使媒体可以遍历 NAT 和防火墙Connecting clients that are outside the network to internal ICE components, which enable media traversal of NAT and firewalls

  • 充当网关不支持的呼叫流媒介,例如来自企业语音客户端的远程工作人员的呼叫Acting as an intermediary for call flows that a gateway does not support, such as calls from remote workers on an Enterprise Voice client

  • 在包含 SIP 中继的部署中,配合 SIP 中继服务提供商提供 PSTN 支持,从而不再需要 PSTN 网关In deployments that include SIP trunking, working with the SIP trunking service provider to provide PSTN support, which eliminates the need for a PSTN gateway

下图显示了在与基本 PSTN 网关和企业语音基础结构通信时,中介服务器使用的信号和媒体协议。The following figure shows the signaling and media protocols that are used by the Mediation Server when communicating with a basic PSTN gateway and the Enterprise Voice infrastructure.

中介服务器使用的信号和媒体协议Signaling and media protocols used by the Mediation Server

中介服务器协议图Mediation Server Protocols diagram

备注

如果您在网络中使用 TCP 或 RTP/RTCP (而不是 SRTP 或 SRTCP) 在 PSTN 网关和中介服务器之间,我们建议采取措施来帮助确保网络的安全和隐私。If you are using TCP or RTP/RTCP (instead of SRTP or SRTCP) on the network between the PSTN gateway and the Mediation Server, we recommend that you take measures to help ensure the security and privacy of the network.