1. Introduction
The guide provides step-by-step configuration instructions of how to connect TE gateway and 3CX. The E1 trunk on TE gateway will be extended on 3CX phone system. With the connection you can achieve:
- Make outbound calls via the E1 trunk on Yeastar TE200
- Receive incoming calls from the E1 trunk on Yeastar TE200
Integration Modes
3CX and TE gateway use the Service provider mode to connect with each other.
Firmware version:
In the guide, we tested TE200 and 3CX.
TE200: 17.18.0.2
3CX: 15.0.60903.0
Description:
IP address of 3CX: http://192.168.9.17:5000
IP address of TE200: 192.168.9.95
E1 main line number: 5503300
Figure 1 TE200 and 3CX connection
2. Connect Yeastar TE and 3CX
2.1 Create a SPS trunk on TE200 to 3CX
Path: Gateway> VoIP Settings> VoIP trunk> Add VoIP Trunk
.
Figure 2 Add SIP Trunking in TE200
Trunk Type: SIP
Provider Name: 3CX
Hostname/IP: the IP of the 3CX, Example: 192.168.9.17
After creating SIP Trunking, we can check the status of this trunk, it should be OK(green).
Path: Status> System Status> IP Trunk Status
Figure 3 Trunks Status
2.2 Create a SPS trunk on 3CX
Figure 4 SIP trunk on 3CX
Select Country: Choose “Generic”.
Select Provider in your Country: Choose Generic SIP Trunk.
Main Trunk No: Configure the main trunk number you, please fill in the E1 main line number. Example: 5503300
Figure 5 SIP trunk on 3CX
Enter name for Trunk: The name of the sip trunk, TE200
Register/Server/Gateway Hostname or IP: the IP of the TE200, 192.168.9.66
Type of Authentication: Not required –IP Based
Main Trunk No: the number you configure on the Figure 3. 5503300
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
Check the status after creating the SIP trunk on 3CX.
Figure 6 the status of the SIP trunk on 3CX
3. Incoming Calls from E1 to 3CX
In this section, we will configure incoming call to 3CX
Figure 7 E1 to IP
Step1. Create a route from TE200 to 3CX
Path: Gateway> Route Settings> Route List> Add New Route
Figure 8 Create Route from E1 to 3CX
Simple Mode: Yes
Route name: You can name whatever you want, to_3CX
Call Source: Trunk--E1Trunk1.
Call Destination: ServiceProvider--3CX
Step 2. Configure inbound route on 3CX
Figure 9 Create an Inbound route on 3CX
Name: Name the name whatever you want, example: from_TE200
DID/DDI: the number which is the same as the main trunk number. Example: 5503300
Destination for calls during office hours: example 100 extension
Destination for calls outside office hours: example 100 extension
Now the external user can use his cell phone to 3CX phone system by dialing number 5503300. 5503300 is the line number of the E1 trunk on 3CX which is the same as DID number in the 3CX inbound route. The call will reach the extension 100
4. Outbound Calls from 3CX extension via E1
In this section, we will configure outbound call for 3CX extensions
Figure 10 IP to E1
Step1. Configure route on TE200
Path: Gateway> Route Settings> Route List> Add New Route
Figure 11 Create IP to Mobile Route
Simple Mode: Yes
Route Name: From_3CX
Call Comes in From: ServiceProvider--3CX
Send Call Through: Trunk -- E1Trunk1
Step2. Create outbound route on 3CX
Path: Outbound Rules> Add
Figure 12 Create an outbound route on 3CX
Rule Name: You can name it whatever you want, to_TE200
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 5+external number
Call from extension(s): which extension can call from the route, extension 100
Route: choose the SIP trunk, TE200
Step3. Set DOD for 3CX extension. For example, extension 100 will use E1 DOD 5503301 to make outside calls via E1
Figure 13 Configure DOD for 3CX extension
Step4. Test the call
Now, all the calls from 3CX will be routed to TE200. We can use extension on 3CX to call the external user directly. For example dial 513805044321. 5 is the prefix on 3CX outbound route.
2 Comments