How to Connect Yeastar TA FXS Gateway to 3CX

1. Introduction

The guide provides step-by-step configuration instructions of how to connect TA FXS gateway and 3CX. TA FXS gateway is used to expand the FXS extensions on 3CX. With the connection of TA FXS gateway and 3CX, you can achieve:

  1. Make calls between the analog phone and SIP extension on 3CX phone system;
  2. Receive incoming calls on the analog phones;
  3. Make external calls from the analog phones using trunks on 3CX phone system.

 

Integration Modes

There are two normal modes for TA FXS gateway to connect 3CX.

On TA FXS gateway, the register modes are as below:

Port Register

Service Provider

*You can choose one of the modes to do the integration due to different scenarios. 

Firmware version:

In the guide, we tested TA1600 and S300.

TA1600: 40.19.0.30

3CX: 15.0.60903.0

Description:

IP address of 3CX: http://192.168.9.17:5000

IP address of TA1600: 192.168.9.73

  

 

2. Preparation

Yeastar TA1600 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 Yeastar TA1600 to 3CX phone system, you need to set a static IP address from the same LAN with the 3CX phone system.

Steps to set static IP for Yeastar TA1600:

  1. Connect one analog phone in one of the FXS ports on Yeastar TA1600;
  2. Dial "***" to enter the voice menu;
  3. Press "1" to check the IP address;
  4. Open the browser and type in the TA1600's IP address to access TA1600;
  5. Log in TA1600 and go to System> Network Preferences> LAN Settings, disable DHCP and configure the LAN network, save and apply the changes, reboot Yeastar TA1600 to take effect.

                                            Figure 2. Configure LAN Settings on Yeastar TA1600

 

3. Port Register Mode

If you choose port register mode, the FXS ports will be registered as the 3CX's SIP extensions, whose functions are the same with other SIP extensions on 3CX.

 

 

Step 1. Create a SIP extension on 3CX phone system.

Path: Extensions> Add

Create an extension on 3CX phone system for the FXS port on the TA1600 which has connected an analog phone. Here we take extension 100 for example.

Check the status of the extension 100 after you create it

PathExtensions

                                      

 

Figure 4. Create Extension 100 on 3CX Phone System

Step 2. Configure one VoIP server template on Yeastar TA1600.

Path: Gateway> VoIP Settings> VoIP Server Settings

Fill in the 3CX phone system IP address, and choose the “Port Register” mode.

                                                         Figure 5. Configure the port register mode

Server Name: 3CX

Type: SIP

Transport: UDP

Hostname/IP: fill in the 3CX phone system IP address, 192.168.9.17

Domain: fill in the 3CX phone system IP address, 192.168.9.17

Register Mode: Port Register

 

Step 3. Edit the Dial Pattern Template

Path: Gateway> VoIP Settings> Dial Pattern Template

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 6. Edit Dial Pattern Template

 

Step 4. Edit the FXS port

Path: Gateway> Port List> FXS Port List

                                                                  Figure 7. Edit the FXS Port

 

Caller ID Name: You can name the port whatever you want

Caller ID Number: The extension number on 3CX, 100.

VoIP Server: Choose S-series 3CX(1), the VoIP Server Settings configured in Step 2.

User Name: The extension number on 3CX, 100.

Authentication Name: The extension authentication name on 3CX, 100.

Password: The registration password of the extension on 3CX.

From user: The extension number on 3CX, 100. And it is necessary to be filled, otherwise you may not pass the incoming call to analog phones.

Dial Pattern Template: Choose the Dial Pattern Template, DialPatternTemplate1(1).

DID number: The extension number on 3CX, 100.

 

Save and apply the changes, and you will see the port status is ‘OK’ on "Port Status"

Path: ‍Status> System Status> FXS Port Status

                                                                  Figure 8. Port Status

Now, you are able to use the analog phone which is connected to Yeastar TA's FXS port 1 to make calls and receive calls.

Note: All outgoing calls to 3CX extensions and to external numbers through trunks on 3CX should match the dial pattern, or calls will be failed.

 

4. Service Provider Mode

If you choose this mode to connect Yeastar TA1600 and 3CX phone system, the FXS port will be registered as a Service Provider SIP/IAX (SPS/SPX) trunk to the 3CX phone system. One SPS/SPX trunk to Yeastar TA also should be created on 3CX phone system. In this guide, we use SIP protocol, configure one VoIP server template as SPS mode on Yeastar TA1600 and create one Service Provider SIP trunk on 3CX phone system.

                                Figure 9. Connect TA1600 and 3CX Phone System via SPS Mode

 

Step 1. Create a Service Provider SIP Trunk on 3CX phone system.

Path: SIP Trunks> Add SIP Trunk

                                                            Figure 10. Add SIP trunk on 3CX

Select Country: Choose “Generic”.

Select Provider in your Country: Choose Generic VoIP Provider.

Main Trunk No: Configure the main trunk number you like, but must be at least 4 digits. Example: 8888.

Path:SIP Trunks >Add SIP Trunk

                                              Figure 11. Configure the SIP trunk on 3CX

Enter name for Trunk: The name of the sip trunk, TA1600

Register/Server/Gateway Hostname or IP: the IP of the TA1600, 192.168.9.73

Type of Authentication: Not required –IP Based

Main Trunk No: the number you configure on the Figure 10. 8888.

Destination for calls during office hours: the destination for the office hours. Extension 100

Destination for calls outside office hours: the destination for off work time. Extension 100

 

You can check the status of the SIP trunk on 3CX after you create it

Path: SIP Trunks

 

Figure 12. Check the status of the 3CX

 

Step 2. Edit one VoIP Server template as SPS mode.

Path: Gateway> VoIP Settings> VoIP Server Settings

Fill in the 3CX phone system's IP address, the VoIP server template will be configured as service provider mode.

Figure 13. Configure the VoIP Server Template as SPS Mode

Server Name: 3CX

Type: SIP

Transport: UDP

Hostname/IP: fill in 3CX phone system's IP address, 192.168.9.17

Domain: fill in 3CX phone system's IP address, 192.168.9.17

Register Mode: choose the type as Service Provider

 

Step 3. Edit the Dial Pattern Template

Path: Gateway> VoIP Settings> Dial Pattern Template

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 14. Edit the Dial Pattern Template

 

Step 4. Edit the FXS port

Path: Gateway> Port List> Port List

Figure 15. Edit the FXS Port

Caller ID Name: You can name the port whatever you want

Caller ID Number: Give a number to the port. The number should be different from the extension numbers on 3CX. Here we set number 200 for FXS port 1.

VoIP Server: choose 3CX (1), the VoIP server template configured on Step 2.

Dial Pattern Template: choose the Dial Pattern Template, DialPatternTemplate1(1).

DID number: Same as the caller ID Number

Note: You don't need to fill in any authentication name and authentication password on the FXS port edit page if you choose SPS/SPX mode.

 

After saving and applying the changes, you will see the trunk is ‍“OK” on ”FXS port status”.

 

Path: Status> FXS Port Status.

Figure 16. FXS Port Status

 

Step 5. Configure the inbound route on 3CX phone system.

Path: Inbound Rules> Add DID Rules

Figure 17. inbound route on 3CX

Name: Name the name whatever you want

DID/DDI: the number which is the same as the main trunk number. Example: 8888

Destination for calls during office hours: example 100 extension

Destination for calls outside office hours: example 100 extension

 

Now you can make calls from the phone which is connected to TA1600 FXS port1 to 3CX phone system by dialing number 8888. 8888 is the line number of the SIP trunk on 3CX which is the same as DID number in the 3CX inbound route. The call will reach the extension 100.

 

Step 6. Create an outbound rule on 3CX phone system.

Path: Outbound Rules> Add

 

Figure 18. outbound route on 3CX

Rule Name: You can name it whatever you want, to_TA1600

Calls to numbers starting with prefix: if it is configured which means you need to dial the prefix ahead of your number, in the settings you have to call 0+external number

Call from extension(s): which extension can call from the route, extension 100

Route: choose the SIP trunk, TA1600

 

Now, extension 100 on 3CX phone system is allowed to make calls to the phone which is connected to Yeastar TA1600 FXS port 1. To call the phone, you should dial 0200.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.