Take 3CX PBX To The Next Level !
Introduction
In order to make outgoing calls on the Public Switched Telephone Network (PSTN), you will need to configure at least one SIP trunk or VoIP provider, or VoIP gateway. SIP trunks and VoIP providers host phone lines and can provide local numbers in various cities or countries, routing them to your phone system. These options are typically cheaper than traditional PSTN lines, but it's important to note that each VoIP call requires bandwidth. 3CX supports both registration-based VoIP providers (which log in with a username and password) and IP-based trunks (which are linked to the provider based on your public IP). When connecting to TelecomsXChange SIP providers, it's recommended to use IP-based trunks, as no registration is required.
If you still have traditional PSTN/phone lines or prefer to use those, you can connect them to 3CX using VoIP gateways. These devices convert telephony traffic into data, allowing it to be transmitted over a computer network. This allows PSTN/telephone lines to be "converted" into a SIP trunk, allowing you to make and receive calls on the regular telephony network. VoIP gateways are available for analog lines, as well as BRI, PRI/E1 lines, and T1 lines. These lines/ports can be bundled into a single SIP trunk within 3CX.
Configuring a TelecomsXCHange VoIP Provider / SIP Trunk
Step 1: Create a Buyer Account with TelecomsXChange
First, you need to have an account with TelecomsXChange . 3CX supports most popular SIP based VoIP Providers including TelecomsXChange SIP Platform for connecting to many VoIP providers in one account.
Step 2: Whitelist your 3CX PBX IP in TelecomsXChange Buyer account
To whitelist your 3CX PBX IP in TelecomsXChange please follow below steps:
1. Logging in to TelecomsXChange buyer account
2. Click on Accounts tab
2. Add new account
4. Enter 3CX Public IP Address.
5. Save and Close.
Step 3: Conduct the Firewall Test
3CX will prompt you to conduct a Firewall Test. Frequently, the internet facing firewall sitting between 3CX Phone System and the VoIP provider is not correctly configured or is not able to correctly route VoIP traffic. To check the firewall configuration, it is important to perform a firewall check using the inbuilt firewall checker. To do this:
- In the 3CX Management Console, go to the System Status page.
- In the section “PBX Status” select the “Firewall Check” entry.
- Click “Run.”
- Ensure that the tests for the SIP Port (default port 5060), and the Audio Port range (default ports 9000-9255) pass.
- If the firewall check fails, you must go to your firewall and troubleshoot why the test failed.
Note: 3CX does not provide specific firewall configuration support. Configurations for popular firewalls can be found here.
Step 4: Add the VoIP Provider Account in 3CX Phone System
After you have created the VoIP provider account, you will need to configure the account in 3CX Phone System. To do this:
- In the 3CX Management Console menu, select “SIP Trunks” > “Add SIP Trunk.”
- Select the Country that the VoIP provider operates in.
- Select the “Generic” option in Country drop down menu and then choose between “Generic VoIP Provider,” or “Generic SIP Trunk.”
- Enter the Main Number assigned to this SIP Trunk. If you just have DIDs and no main number you can select one of the DIDs as the main number. Click “OK.” The SIP Trunk will be created and a new dialog will open.
- Enter a name for this VoIP provider account. The “SIP server hostname or IP = sip01.telecomsxchange.com” and optional “Outbound Proxy = empty” will be pre-filled. Compare these with the details you have received from your VoIP provider and check that these are indeed correct.
- Specify the “number of simultaneous calls” your provider allows, set it to 200 by default.
- In “Authentication,” specify whether authentication is based on IP or based on Account/Registration. If you selected a template, this will be automatically pre populated and you must leave as is. If IP based, the password will be greyed out, since authentication is linked to your IP. The outbound or inbound only are not applicable in most cases and can be ignored.
- Specify how calls to the main number should be routed. The routing configured here will be for calls matching the main number.
- If you have DID numbers, you will need to specify these in the DIDs tab. Click on the “DIDs” tab and add the DID numbers associated with this account. The DID will be created and linked to the operator extension. You can change this later from the “Inbound Rules” node by adding an inbound rule for the DID and routing to the desired destination. (If you dont have a DID number and you want to get one or more for FREE please click here)
- In the Caller ID tab, add the caller ID you wish to have appear on outbound calls.
- Click “OK” to save the trunk settings.