Topic Last Modified: 2011-04-11
Public switched telephone network (PSTN) gateways do not prevent you from removing a server role. The Mediation Server depends on the PSTN gateway. However, if a PSTN gateway is not configured to communicate with a Mediation Server, the trunk connected to the PSTN gateway cannot send or receive calls until it is associated with another Mediation Server. Also, media bypass settings can play a role in how your Lync Server 2010 deployment uses a Mediation Server. Before you remove a Mediation Server, make sure that you understand the function of the Mediation Server and the PSTN gateway in your environment and reassign the PSTN gateway to a Mediation Server as needed.
To move the PSTN gateway
Log on to the computer where Lync Server Management Shell is installed as a member of the Domain Admins group or the RTCUniversalServerAdmins group.
Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell.
In Lync Server Management Shell, type:
Set-CsPstnGateway -Identity "PstnGateway:<Xds Identity of PSTN Gateway>" -MediationServer:"MediationServer: <Name of Mediation Server Identity>"
Set-CsPstnGateway -Identity "PstnGateway:pstngwred01.contoso.net" -MediationServer "MediationServer:mediation01.contoso.net"