How to Extend Lync 2013 to MyPBX (Summary)

1. Introduction

Brief introduction of the Lync Server installed, and the target achieved in this manual.

Brief Introduction:
This is a standard version of Lync installed in windows 2008 R2 SP1 standard (64bit). It requires two computers to install, one for DC and the other one for Lync. Since TCP/TLS is supported by Lync only, which doesn't match the general trunks we get like PSTN/SIP (UDP)/BRI/GSM or others, a translator like MyPBX is needed.

Basic Information:

IP of DC:
IP of Lync:
IP of MyPBX:
FQDN: (Front end server, SQL and mediation pool are installed here)
Account: harry, extension: 800,
Extension range in MyPBX: 300-350
Default TCP port: 5060 (MyPBX), 5068(Lync)


1. Making internal calls between MyPBX and Lync server 2013 by dialing extension number directly without “+”.
2. Making outbound calls from Lync via the PSTN trunk of MyPBX directly.
3. Making inbound calls from PSTN trunk and then dial the number of Lync extension number after the second dial tone.

2. Create topology to Lync 2013 and publish it

Open the topology you have got from the builder. If you haven't got one, please create and publish it before adding a new gateway.

This is the window of lync 2013 Topology Buider:

                                                              Figure 1

Expand ‍“Shared Compoments”, right click ‍“PSTN gateways”, choose ‍“New IP/PSTN Gateway”.

                                                            Figure 2

Input the FQDN of IP PBX, in this example, MyPBX’s IP addres is

                                                          Figure 3
Click ‍“Next”, keep the default ‍“Enable IPv4”, click ‍“Next”.

                                                        Figure 4

You can change the trunk name to MyPBX, or just keep it.
Listening port of IP/PSTN gateways: 5060
SIP Transport Protocol: TCP

                                                            Figure 5

                                                                    Figure 6
When done, Publish ths new topology directly.
Publishing is progressing as the following pictures show. If there is any error, please check the above steps or re-install the central SQL server.

                                                             Figure 7

                                                               Figure 8

                                                              Figure 9
Publishing wizard is completed.


3. How to Extend Lync 2013 to MyPBX (Part 1)--Set up rules in Lync Server 2013

Please refer the below link: 

4. How to Extend Lync 2013 to MyPBX (Part 2)--Set up rules in MyPBX Web Interface

Please refer the below link:




Have more questions? Submit a request


Please sign in to leave a comment.