Setting up VoIP FXO gateway Yeastar Neogate TAXXX to work with 3CX

This guide describes how to connect VoIP FXO gateways Yeastar NeoGate TA410 / TA810 / TA1610 to
IP-PBX 3CX .
Yeastar Neogate gateways can connect to the SIP server as a client, i.e. register on the server, but also have a built-in SIP registration server. Thus, the 3CX system can register with the gateway as with a SIP operator. For this, a regular SIP trunk is created in 3CX. This is the method used in this manual.
FXO Gateway Setup
This manual is based on the Yeastar NeoGate TA410 gateway interface with firmware version
41.19.0.23 .
')
1. Log in to the gateway interface at 192.168.5.150 (pre-installed by default) with admin login and password password.
2. It is recommended to update the firmware of the gateway if an update is available. You can see the current firmware version in the Status - System Info section. Download the latest firmware from
the Yeastar website and update it in the System - Firmware Update section. The firmware update is performed using a TFTP server.

3. Set the IP address of the gateway corresponding to your network in the System - Lan Settings section and reset the gateway.

4. In the gateway interface in the Gateway - FXO Port List section, sign the FXO ports. For example, you can sign a port by the number of the telephone line to which this port is connected. So it will be easier to work with them in the future.

On the Call Duration Settings tab, you can specify various call time limits.
5. In the VoIP Trunk section, create accounts for connecting 3CX server trunks. In this manual, for each FXO port a separate SIP account is created on the gateway and a corresponding SIP trunk 3CX. However, you may want to group the FXO ports into a pool (Port Group) and “address” from one SIP trunk.

For convenience, the phone number connected to this FXO port is also listed as the user name.
6. In the IP-> Port section, create a call routing rule from the SIP trunk to the FXO port.

7. In the Port -> IP section, create a “reverse” routing rule from the FXO port to the SIP trunk.

The rest of the FXO ports are configured in the same way.
3CX Setup
1. In the 3CX interface, in the SIP trunks section, add a new SIP trunk. Select the country Generic and specify Generic VoIP Provider, which provides for authorization with a login and password.

2. In the configuration interface that appears, specify:
- Trunk name (this can be the name of the operator's PSTN or direction)
- IP address of FXO gateway
- The number of simultaneous calls (switching) in the trunk (as we agreed above, each SIP trunk 3CX will correspond to one FXO port of the gateway) - 1
- Trunk connection credentials from section 5 of the FXO Gateway Setup section

3. In the Parameters section, disable the Proxy audio stream through PBX option (if the PBX and the gateway are on the same network) and set the options to Supports the Re-Invite method and Supports the Replaces header. Click OK to save the settings.

4. The SIP trunk 3CX must successfully register on the FXO gateway.

5. Create an outbound rule for the new trunk. Specify the rule triggering rules depending on the necessary conditions for routing calls through the PBX.

This completes the configuration of VoIP FXO gateway Yeastar Neogate TAXXX to work with 3CX.
Advanced FXO port settings for your line
If, after connecting the gateway, you hear the caller being too quiet, you can increase the signal gain (volume) with the Rxgain parameter, and if you hear too quietly, increase Txgain. However, keep in mind that the amplification of the useful signal also increases the noise, so it is recommended not to change the default settings.

Set the PSTN line resistance. For this it is better to use a
reference book . AC Termination Impedance in Countries b. USSR - 600 ohms, so we leave the value 0.
The Other Settings tab shows important parameters that affect the recognition of the FXO signal port Busy. The settings for your PBX may differ from those recommended, so it is best to read the
guidelines for determining the signal parameters Busy from Yeastar .
For countries b. The USSR usually takes the following signal parameters: Busy:
- Busy Frequency - 425 Hz
- Busy Pattern - 350,350 (milliseconds)

The second important parameter is the Caller ID of the subscriber. It is recommended to start with the settings shown in the figure. You may have to experiment with these parameters, because they also depend on the type of PBX.