1. Introduction
This application note shows how to connect MyPBX to TE100 via SIP trunking.
Target:
- Make outbound calls from MyPBX extension through the E1 trunks of TE100 directly.
- Receive calls from E1 trunks of TE100 at MyPBX.
Description:
- IP address of MyPBX: 192.168.5.142
- IP address of TE100: 192.168.5.239
- E1 DID range: 5551000-5551099
- E1 DOD range: 5551000-5551099
Figure 1
2. Connect MyPBX to TE100
2.1 Create a Service Provider SIP Trunk on MyPBX
Path: PBX→Trunks→VoIP Trunk→Add Service Provider
Figure 2
- Trunk Type: Service Provider
- Provider Name: T100
- Hostname/IP: 192.168.5.239
After save and apply the changes, you will see the trunk is ‘ok’ in ‘Line Status’ page.
Path:Status→Line Status→Trunk Status
Figure 3
2.2 Create a VoIP Trunk on TE100
Path: Gateway→VoIP Settings→VoIP Trunk→Add VoIP Trunk
Choose "Service Provider" mode, and fill in MyPBX IP address.
Figure 4
- Trunk Type: Service Provider
- Provider Name: MyPBX
- Hostname/IP: 192.168.5.142
After save and apply the changes, you will see the trunk is “OK” in “Line Status” page.
Path: Status→System Status→Trunk Status
Figure 5
2.3 Setup E1 trunk on TE100
Figure 6
After save and apply changes, please check the E1 trunk status on Status -> System Status -> Trunk status.
Figure 7
3. Outgoing Calls from MyPBX through E1
Figure 8
3.1 Create an Outbound Route on MyPBX
Path: PBX→ Outbound call control → outbound routes
Choose the VoIP trunk "TE100" and set the rule for the outbound as the picture shows, which allows users to dial out any number out.
Figure 9
3.2 Create Route on TE100
Path: Gateway--Routes Settings--Routes List
Figure 10
- Simple Mode: Yes
- Call Comes in From: ServiceProvider-MyPBX.
- Send Call Through: Trunk—E1Trunk1.
3.3 Setup DOD for MyPBX Extensions on MyPBX
Figure 11
For example, we set extension 301 as DOD number 5551001.When you use extension 301 to make outgoing call through TE100, callee will see the caller ID number 5551001.
4. Incoming Calls from E1 to MyPBX
Figure 12
4.1 Create ‘FromTEToMyPBX’ Route on TE100
Path: Gateway→Routes Settings→Routes List
Figure 13
- Simple Mode: Yes
- Call Comes in From: Trunk—E1Trunk1.
- Send Call Through: ServiceProvider-MyPBX.
4.2 Create an Inbound Route on MyPBX
Path: PBX→Inbound Call Control→Inbound Routes
In this guide, we set the DID number as 5551001 and set destination to extension 301.
Figure 14
- DID number: 5551001 (which is same to the E1 trunk external number)
- Set Destination: 301
After saving the settings, you can dial the E1 DID number 5551001 from the mobile phone, the call will be routed to the extension 301 on MyPBX.
2 Comments