You are on page 1of 12

How to Connect MyPBX to

TA FXO Gateway

Version: 2.0
Date: 2015.05.15

Yeastar Information Technology Co. Ltd.


How to Connect MyPBX to TA FXO Gateway

Contents

1. Introduction......................................................................................................... 3
2. Preparation .......................................................................................................... 4
3. Connect MyPBX to TA810 .................................................................................. 5
4. IP to Port.............................................................................................................. 7
5. Port to IP ........................................................................................................... 10

2/12
How to Connect MyPBX to TA FXO Gateway

1. Introduction
This application note shows how to connect MyPBX to TA FXO VoIP gateway via SIP
trunking. This guide has been tested with:
• TA810 firmware version 41.19.0.15
• MyPBX U100 firmware version 15.19.0.43

Target:
After connecting TA810 and MyPBX, physical trunk PSTN will be extended on MyPBX.
The following features can be achieved:
1. Make outbound calls from MyPBX via the PSTN trunks of TA810.
2. Receive calls from PSTN trunks of TA810 at MyPBX.

Description:
IP address of MyPBX U100: 192.168.6.107
IP address of TA810: 192.168.6.147
A PSTN line from provider is connected to TA810’s FXO port1.
PSTN number:05955503301

Figure 1 Connect MyPBX and TA810

3/12
How to Connect MyPBX to TA FXO Gateway

2. Preparation
TA810 attempts to contact a DHCP server in your network to obtain valid network settings
(e.g., the IP address, subnet mask, default gateway address and DNS address) by
default.

Before connecting TA810 to MyPBX, you need to set a static IP address from the same
LAN with the MyPBX.

Steps to set static IP for TA810:

1. Download a DeviceFound tool from Yeastar website: FindTA.rar


2. Run the DeviceFound.exe software.
3. The detected TA devices in the local network will appear in the window.
4. Find the TA device’s IP address by the device’s MAC address or the SN.
5. Log in TA810 and go to System→Network Preferences→LAN Settings, disable
DHCP and configure the LAN network, save and apply the changes, reboot TA810 to take
effect.

Figure 2 Configure LAN Settings on TA810

4/12
How to Connect MyPBX to TA FXO Gateway

3. Connect MyPBX to TA810

Step 1. Create a SIP Trunk on MyPBX


Path: PBXTrunksVoIP TrunkService Provider

Figure 3 Add SIP Trunk on MyPBX


• Type: SIP
• Provider Name: TA810
• Hostname/IP: fill in TA810's IP address, 192.168.6.147.

Save and apply the changes, we can check the status of this trunk, it should be OK.
Path: StatusLine StatusTrunk Status

Figure 4 SIP Trunk Status on MyPBX

Step 2. Create a Service Provider SIP trunk on TA810.


Path: Gateway→VoIP Settings→VoIP Trunk

Figure 5 Create a Service Provider SIP Trunk on TA810

• Trunk Type: Service Provider


• Type: SIP
• Provider Name: give a name for the trunk, MyPBX.

5/12
How to Connect MyPBX to TA FXO Gateway

• Hostname/IP: fill in MyPBX IP address, 192.168.6.107, the default port is 5060.

Save and apply the changes, we can check the status of this trunk, it should be OK.
Path: StatusSystem StatusPort/Trunk Status

Figure 6 VoIP Trunk Status on TA810

6/12
How to Connect MyPBX to TA FXO Gateway

4. IP to Port
In this section, we introduce how to achieve making outbound calls from MyPBX through
PSTN line on TA810.

Figure 10 IP to Port

Step 1. Create one outbound route on MyPBX.


To make external calls from MyPBX through TA810’s PSTN trunk, you need to create one
outbound route on MyPBX.

Path: PBX→Outbound Call Control→Outbound Routes


Choose the SIP trunk "TA810" and set the rule for the outbound as the picture shows,
which allows users to dial any number.

7/12
How to Connect MyPBX to TA FXO Gateway

Figure 11 Add Outbound Route

Step 2. Create a Port Group on TA810.


Path: Gateway→Port List→Port Group
There are multiple PSTN trunks on TA810. We can group the PSTN trunks, and apply the
group to “IP->Port” Route. When calling from your SIP server, TA810 will select one
available PSTN trunk to call out.
Select all the PSTN trunks and set the Strategy as “Least Used”, TA810 will select a least
used PSTN trunk to call out.

8/12
How to Connect MyPBX to TA FXO Gateway

Figure 12 Group PSTN Trunks

Step 3. Configure one “IP ->Port” Route on TA810.


Path: Gateway→Routes Settings→”IP->Port”

Figure 13 IP->Port Route

• Route Name: give a name for the route, “MyPBX”.


• Call Source: choose the VoIP trunk which is connected to MyPBX, “SPS—MyPBX”.
• Call Destination: choose the Port Group created in step 2, “Port Group1—PSTN”.

Step 4. Test a call from MyPBX.


Now, you can use MyPBX’ extension to call any external number through the PSTN trunks
on TA810.

9/12
How to Connect MyPBX to TA FXO Gateway

5. Port to IP
In this section, we configure incoming calls to MyPBX through PSTN trunk on TA810.

Figure 13 Port to IP

Step 1. Create an inbound route on MyPBX.


Path: PBX→Inbound Routes→Add Incoming Route

Choose the inbound destination as IVR, when you call to one PSTN trunk on TA810, the
call will be routed to MyPBX IVR. Here we set the DID number as 9999 to match calls with
DID number 9999.

10/12
How to Connect MyPBX to TA FXO Gateway

Figure 14 Add Incoming Route


• Route Name: From_TA810
• DID Number: 9999.
• Selected Trunks: TA810, which is created on MyPBX connecting to TA810.
• Destination: IVR-Welcome.

Step 2. Configure one “Port->IP” Route on TA810.


Path: Gateway→Routes Settings→”Port->IP”

Figure 15 Port to IP Route Page

11/12
How to Connect MyPBX to TA FXO Gateway

• Route Name: give a name for the route, “MyPBX”.


• Call Source: choose the Port Group, “Port Group1—PSTN”.
• Call Destination: choose the VoIP trunk which is connected to MyPBX,
“SPS—MyPBX”.
• Hotline: set Hotline to 9999, which is the same number with the DID number set on
MyPBX Inbound route.
Note:
You can also set the hotline as one of MyPBX extension’s number, then the call will be
routed directly to the extension.

Step 3. Test a call.


Dial one PSTN trunk number 05955503301 on your mobile phone, the call will be routed
to MyPBX IVR. After hearing the IVR prompt, you can dial any extension number on
MyPBX.

<The End>

12/12

You might also like