Export (0) Print
Expand All

View information about individual SIP trunks in Lync Server 2013

Lync Server 2013
 

Topic Last Modified: 2013-02-21

SIP trunks are used to connect Lync Server 2013 Voice over IP phone network with the Public Switched Telephone Network. In previous version of the product, trunks were used to route outbound calls from a Mediation Server to a PSTN gateway and each gateway was limited to a single trunk. As a result, a PSTN gateway and a SIP trunk were essentially identical. For administrators, that meant they could view information about an individual SIP trunk simply by viewing information about the associated PSTN gateway.

In Lync Server 2013, however, multiple trunks can now be assigned to a single PSTN gateway; this means that gateways and trunks are no longer one and the same. In turn, that means that administrators must use the new Get-CsTrunk cmdlet in order to view information about an individual SIP trunk.

The Get-CsTrunk 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 http://go.microsoft.com/fwlink/p/?linkId=255876.

  • The following command returns information about all the SIP trunks in use in your organization:

    Get-CsTrunk
    

  • This command returns information only for the SIP trunk with the Identity PstnGateway:192.168.0.240:

    Get-CsTrunk -Identity "PstnGateway:192.168.0.240"
    

  • In this example, information is returned for all the SIP trunks assigned to the pool atl-cs-001.litwareinc.com:

    Get-CsTrunk -PoolFqdn "atl-cs-001.litwareinc.com"
    
 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft