Test SIP trunk configuration settings in Skype for Business Server 2015
Topic Last Modified: 2015-06-02
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 Skype for Business Server, 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 Skype for Business Server Management Shell or from a remote session of Skype for Business Server Management Shell.
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