Condividi tramite


Test SIP trunk configuration settings in Lync Server 2013

 

Topic Last Modified: 2012-11-01

SIP trunk configuration settings define the relationship and capabilities between a Mediation Server and the public switched telephone network (PSTN) gateway, an IP-public branch exchange (PBX), or a Session Border Controller (SBC) at the service provider. These settings do such things as specify:

  • Whether media bypass should be enabled on the trunks.

  • The conditions under which real-time transport control protocol (RTCP) packets are sent.

  • Whether or not secure real-time protocol (SRTP) encryption is required on each trunk.

When you install Microsoft Lync Server 2013, a global collection of SIP trunk configuration settings is created for you. In addition, administrators can create custom setting collections at the site scope or at the service scope (for the PSTN gateway service, only). Administrators can also use the Test-CsTrunkConfiguration cmdlet to verify that a trunk can convert a number as dialed by a user to a number that can be handled by the gateway.

Trunk configuration settings can only be tested by using Windows PowerShell and the Test-CsTrunkConfiguration cmdlet. This cmdlet can be run either from the Lync Server 2013 Management Shell or from a remote session of Windows PowerShell. For details about using remote Windows PowerShell to connect to Lync Server, see the Lync Server Windows PowerShell blog article "Quick Start: Managing Microsoft Lync Server 2010 Using Remote PowerShell" at https://go.microsoft.com/fwlink/p/?linkId=255876.

To test SIP trunk configuration settings

  • This command verifies that the trunk configuration settings for the Redmond site can correctly convert the dialed number 4255551212.

    $trunk = Get-CsTrunkConfiguration -Identity "site:Redmond"
    Test-CsTrunkConfiguration -DialedNumber 4255551212 -TrunkConfiguration $trunk