On this topic
VoIP.MS is a SIP Trunk provider with offices in Canada and Mexico. It is a 100% Bring-Your-Own-Device service provider and was founded by IT and business professionals looking for a better way to bring IP Phone services to companies.
Reference website: VoIP.MS
Before configuring the SIP trunk it is required to go through the following checklist and make changes where necessary:
- NAT (when used) created to 3CX
- Firewall Checker passed
- Firewall SIP ALG checked and if present disabled
Further setup information can be found in our Academy: 3CX Academy Basic Course
Some providers gained support and compatibility with 3CX on a specific product version. It is advisable to always run the latest version of 3CX to ensure ongoing compatibility.
Minimum 3CX Version: 3CX v15.5 SP5
Below is a short overview of the provider's capabilities and services and whether they’re supported or not:
- CLNS (Clip No Screening): Yes
- Catch All Routing: Yes
- Fax T.38 support: No
- CLIR (Number Suppression): No
- DTMF via RFC 2833: Yes
- Codec Order: G711U,G729, GSM
- NAT Support: Yes
VoIP.ms provides the ability to create an account directly from their website and immediately create and start using SIP Trunks with your 3CX installation.
The first thing you need to do is create an account and add the necessary funds to create your SIP Trunk in the VoIP.ms portal and to be able to purchase the DIDs you want to use.
Click on the Sign Up button on the VoIP.ms site and fill in the necessary data. You will then receive an email with your account details. You can then login using the Email and Password you provider during the signup.
Creating a SIP Trunk
After creating your account and adding any necessary funds, you must login to the VoIP.ms portal using the following link: https://voip.ms/
To add funds, after you login to your VoIP.ms account you need to navigate to the Finances tab / Add Funds. You can use one of the provided methods to add the necessary funds to your account.
Once you have added the necessary funds you can now proceed with ordering DID numbers.
To do so please navigate to the DID Numbers tab / Order DID(s).
Once you order the required DID(s), you need to adjust some settings before adding the SIP trunk in 3CX. The first thing is adjusting the Device type. To do so please navigate to Main Menu → Account settings → Inbound Settings and make sure that the Protocol for Inbound DIDs is set to “SIP” and that the Device type is set to “IP PBX Server” and apply any changes made.
Then you need to make sure that the DIDs ordered are linked to your account. To do so navigate to DID Numbers / Manage DID(s). Click on the Edit DID icon and make sure that the routing points to SIP/IAX and your main account.
Collecting 3CX Configuration Settings
In order to be able to register and operate the trunk in 3CX you will to gather some information that will be needed in the configuration of the trunk in 3CX.
- Username: The username for registering the trunk can be found under Main Menu → Account Information
- Password: The trunk password can be found in the email you received from VoIP.ms during the registration process. You can also change the password by navigating to Main Menu → Account Settings → Security.
- DID numbers: The DID numbers can be seen by navigating to DID Numbers → Manage DID(s)
- Registrar: Go to Main Menu → Account Settings → Default DID Routing. From here make note of the selected server. In this example the server is sanjose2.voip.ms.
Configuring the Trunk with 3CX
The general instructions outlining how to add a new SIP Trunk to 3CX can be found here.
Adding the Trunk
Go to “SIP Trunks” and select “Add SIP Trunk”
- Select Country: CA
- Select Provider in your Country: VoIP.ms
- Main trunk number: Use the DID collected from the VoIP.ms portal. You must enter the number in the national number format (e.g. 6471234567)
- Press OK
Under the “General” tab in the “Registrar/Server/Gateway Hostname or IP” enter the registrar as collected in the previous step.
In the “Authentication” section enter your Authentication ID and Password collected in the previous step.
Once you have filled in these fields, scroll to the top of the page and press OK. At this point if you refresh the page you should see your VoIP.ms Trunk appear as Registered.
Adding Additional DIDs
To associate all other DIDs/Numbers you have in your VoIP.ms account with 3CX, you need to go to the Management Console → SIP Trunks, double-click on your VoIP.ms Trunk and go to the “DIDs” tab.
Here you should already see 1 entry that is the Main Trunk number you have set. Add all other DIDs/Numbers you have to the list in the 10-digit number format (e.g. 6471234567) and press OK once you have finished.
Creating Inbound Rules
Now that you have associated all your DIDs/Numbers with your SIP Trunk in 3CX, you can create Inbound Rules to set where calls will be routed when those numbers are called. Instructions on how to create Inbound Rules can be found here.
Outbound Caller ID
VoIP.ms Trunks support Clip No Screening which means you can present any number as outbound caller ID, regardless if it’s associated with your account or not. For this to work, in any field within 3CX where the Outbound Caller ID can be set, the numbers must be input in either a 10-digit (e.g. 6471234567), 11-digit format (e.g. 16471234567) or E164 format (e.g. +16471234567).
When configuring your Outbound Rules make sure that all numbers are dialed either in the 10-digit (e.g. 6471234567), 11-digit format (e.g. 16471234567) or E164 format (e.g. +116471234567).
More information about how to create Outbound Rules and how they work can be found here.
Multiple VoIP.MS SIP Trunks on the same 3CX
VoIP.MS SIP Trunks can only work reliably on 3CX if there is only one SIP Trunk on each installation.
If necessary, multiple VoIP.MS SIP Trunks can exist on the same 3CX ONLY if the SIP Trunks do not share any DID numbers. In this case, in each one of the VoIP.MS SIP Trunk settings in the 3CX Management Console → SIP Trunks, in the “Inbound Parameters” tab, you MUST enable option “Use both ‘Call Source Identification’ rules and ‘Caller Number/Name -> CalledNum’ field mappings”.
If you do not have multiple trunks, it is recommended that this option remains disabled.