When a private SIP trunk bought from Provider with a special router, which is not reachable for internet. We need to connect it to LAN port. As for other usage like ‘voicemail to email, SMS to Email’, we need to configure it to WAN port, which is reachable for internet.
Here is an example for you:
SIP trunk (peer to peer type):
- Host: 172.16.80.100
Private IP address from SIP provider:
- IP address: 10.150.4.178
- Subnet mask: 255.255.255.240
- Gateway: 10.150.4.177
- Not reachable for internet.
Network settings for Internet:
- IP address: 172.16.14.20
- Subnet mask 255.255.255.0
- Gateway: 172.16.14.1
Email account for SMTP settings:
- Email address: firstname.lastname@example.org
- Password: **********
- SMTP server: gmail.smtp.com
- Port: 587/465
- SSL/TLS: enable
- Model: MyPBX standard V4
- Firmware: 188.8.131.52
Note: Please make sure LAN port has been connected to the private router offered by ISP, and make sure WAN port has been connected to local route, which is reachable for internet.
Steps to configure MyPBX standard:
Step 1. Configure LAN port
Click ‘LAN settings’ page, input the details like this:
Save and apply the changes.
Step 2. Configure WAN port.
Click ‘WAN settings’ to configure WAN port
Save and apply the changes, reboot MyPBX to take effect.
Step 3. Create SIP trunk when MyPBX boots up again.
Step 4. Create static route for ISP
In this example, we need to route the packages through ISP (172.16.80.100) to LAN port, whose gateway is 10.150.4.177.
You can register extensions, outbound route, inbound route to test if the calls are working fine
Note: If the ISP’s IP address is dynamic or the IP address of RTP proxy is different from the register IP, please contact ISP to confirm the exact IP range, then configure the static route here.
Step 5. Configure SMTP settings in ‘voicemail settings’ page
Input the correct email detais here
Note: If you are not sure about your email details like SMTP server, port and SSL/TLS, please do a test in your local PC using outlook to confirm before configuring it to MyPBX.
Click ‘Test SMTP Settings’ button to test.