Connecting TA FXS Gateway to TA FXO Gateway

1. Introduction

For companies that have geographically distributed office, there is no need for them to install a PBX at the remote offices. Users could simply set up TA FXS Gateway and TA FXO Gateway in remote offices without any SIP server. This scenario allows organization with remote location to access FXO(PSTN) trunks through IP network.
In this guide, we introduce how to connect TA FXS Gateway (located in US) and TA FXO Gateway (located in China). After connecting, users in US could make local calls through PSTN trunk located in China and save international charges.

This guide has been tested with:

  • TA810 FXO Gateway firmware version 41.19.0.15
  • TA800 FXS Gateway firmware version 41.18.0.8

Description:
Assume that US office and China office all have public IP address.

  • TA810’s Public IP address: 110.81.109.79
  • TA800’s Public IP address: 3.88.39.2

                                                                  Figure 1 Connect TA800 and TA810

 

2. Connecting TA800 to TA810

Step 1. Create a VoIP Trunk on TA810, connecting to TA800.

Path: Gateway→VoIP Settings→VoIP Trunk

                                          Figure 2 Create a Service Provider SIP Trunk on TA810

  • Trunk Type: Service Provider
  • Type: SIP
  • Provider Name: give a name for the trunk, TA800.
  • Hostname/IP: fill in TA800’s IP address, 3.88.39.2, 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 3 VoIP Trunk Status on TA810

Step 2. Configure one VoIP Server on TA800,connecting to TA810.

Path: Gateway→VoIP Settings→VoIP Server Settings

                                                Figure 4 Configure a VoIP Server on TA800

  • Server Name: TA810
  • Type: SIP
  • Enable Register: Do NOT check this option as we connect TA810 and TA800 only use IP address.
  • Hostname/IP: fill in TA810’s Public IP address,110.81.109.79.
  • Domain: fill in TA810’s IP address, 110.81.109.79, the default port is 5060.

Step 3. Edit the Dial Pattern Template on TA800.

Path: Gateway→VoIP Settings→VoIP Server Settings

The default dial pattern is set as ".", which allows you to dial any number out. In this guide, we will remain the default setting. You can change it according to your environment.

                                                          Figure 5. Edit the Dial Pattern Template

Step 4. Select one FXS port on TA800, and register the FXS port to the VoIP Server TA810.

Path: Gateway→FXS Port List→FXS Port List

                                                                             Figure 6. Edit the FXS Port

  • Number: set a number for the FXS port. 
  • Primary Server: choose the VoIP Server TA810 we configured above.
  • Dial Pattern Template: choose the Dial Pattern Template, DialPatternTemplate1(1).

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

                                                                      Figure 7 FXS Port Status on TA800

Now, we have successfully connected TA810 and TA800.

 

3. Making Calls through PSTN Trunks on TA810

In this section, we introduce how to achieve making calls from TA800 through PSTN lines on TA810.

                                            Figure 8 Making Calls through PSTN Trunks on TA810


Step 1. 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.

                                                                       Figure 9 Group PSTN Trunks

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

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

                                                                               Figure 10 IP->Port Route

  • Route Name: give a name for the route, “From_TA800”.
  • Call Source: choose the VoIP trunk which is connected to TA800, “SPS—TA800”.
  • Call Destination: choose the Port Group, “Port Group1—PSTN”.

Step 3. Test a call from TA800.

Now, you can use analog phone which is connected to TA800 to call China local number through the PSTN trunks on TA810.


4. Receiving Calls on TA800
In this section, we introduce how to receiving calls on TA800. People in China could call a local PSTN trunk number then talk to staffs in US office.

                                                                                      Figure 11 Port to IP


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

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

                                                                      Figure 12 Port to IP Route Page

  • Route Name: give a name for the route, “To_TA800”.
  • Call Source: choose the one FXO port, when people call in the PSTN trunk, the call will be routed to TA800.
  • Call Destination: choose the VoIP trunk which is connected to TA800, “SPS—TA800”.
  • Hotline: set Hotline to one FXS extension number on TA800.

Note: the FXS port on TA800 should be registered to TA810, meaning that the VoIP server TA810 should be applied to the FXS port.

Step 2. Test a call.

Dial the selected PSTN trunk number on TA810, the call will be routed to the analog phone connected to TA800.

 

Have more questions? Submit a request

1 Comments

  • 0
    Avatar
    Franz Ruben GrionToday at 09:23

    Hello, I need to perform this same ecenario but with a TA200 and ta410, but I followed the steps in this example and I can not make this possible, as? Thank you

     

Please sign in to leave a comment.