3CX SIP trunk setup guide
This guide explains how you can configure your 3CX in order to place and receive telephone calls over the Wavix network
Purchase a DID on the Wavix platform

Before placing or receiving a call, you need to have an active DID on your Wavix account. If you already have an active number on your Wavix account, the below steps are optional.

To purchase a DID on your Wavix account:


Log in to your account


Click on Buy under Numbers & trunks in the top menu


Select a country and region you wish to purchase a DID in


Choose a specific number or numbers and click Buy now button


You will be redirected to the Cart where you can confirm your choice and check out the DID(s).

Fig. 1 Search and buy a number


Some DIDs may require a proof of local address and other documents before they can be activated. To enable these DIDs to receive inbound calls, upload the documents required, and wait until they are approved by the Wavix Number Provisioning team.

Create a SIP trunk on the Wavix platform

To create a new SIP trunk on the Wavix platform:


Select Trunks under Numbers & trunks in the top menu


Click the Create new button


Select Digest under Authentication method


Specify SIP trunk name, set SIP trunk password, and select one of the DIDs on your account as Caller ID


Optionally you can set max outbound call duration, max number of simultaneous calls via the SIP trunk and max call cost. If these parameters are not set, global account limits apply


Click Save

Fig. 2 Configure SIP trunk

After the SIP trunk is successfully created, it will appear on the list of SIP trunks on your account.

Fig. 3 List of SIP trunks and SIP trunk ID


Please be advised that your 5-digit SIP trunk username is generated automatically and displayed in the SIP trunk ID column.

Configure SIP trunk in 3CX

To configure inbound and outbound calls on your 3CX instance, log in to the 3CX Management Console, go to SIP Trunks in the left hand side menu and add a new SIP Trunk.

Fig. 4 List of SIP Trunks in 3CX Management Console

In the General tab in the Trunk Details section, adjust the name of the SIP trunk or update the field labeled Registrar/Server/Gateway Hostname or IP if needed. We recommend you to put the address of a regional Wavix SIP proxy located near to you in the field labeled Registrar/Server/Gateway Hostname or IP. The full list of the Wavix regional gateways can be found in the bottom of the page https://app.wavix.com/trunks. In the Authentication section provide SIP trunk ID and password set up for the SIP trunk on the Wavix platform.

Fig. 5 Add new SIP Trunk

Select your country and select Wavix from the list of Providers in your Country. Put your default Caller ID into Main Trunk No field. Click OK.

After the SIP Trunk is successfully created, you will be automatically redirected to the SIP trunk configuration page.

After the SIP Trunk is successfully created, you will be automatically redirected to the SIP trunk configuration page.

Fig. 6 3CX SIP Trunk Details
Fig. 7 SIP Trunk authentication details


By default, a new 3CX trunk supports up to 10 calls in parallel. However, for security reasons, all new Wavix accounts can place only 2 simultaneous calls. In case you’d like to adjust the limit, reach out to your account manager or email support@wavix.com

To save SIP trunk configuration click OK on the top of the page. It takes a moment or so for 3CX to register the SIP Trunk.

Click on Options tab and ensure that inbound and outbound calls are allowed and video calls are not in the Call options section.

Fig. 8 SIP Trunk allowed calls

Scroll the page down and check the Codec Priority. Wavix supports all the codecs listed below and G.711 is recommended for most cases.

Fig. 9 SIP Trunk supported codecs

Green bubble indicates that the SIP Trunk is successfully registered. In case of any issues, check Event logs in the 3CX Management Console dashboard.

Fig. 10 SIP Trunk successfully registered
Configure outbound calls

In order to place outbound calls you need to configure Outbound Rules. Go to Outbound Rules in the left hand side menu and click the “Add” button.

Give your Outbound Rule a name and apply it to the Default extension group by:


Clicking on the Add button in the Apply this rule to these calls section


Selecting the DEFAULT group name


Clicking OK

Fig. 11 Assign an Outbound Rule to extension

Scroll to the Make outbound calls on section, select Wavix and save the Outbound Rule.

Fig. 12 Set route for an Outbound Rule

All destination phone numbers must be in the E.164 international format. E.164 numbers can have up to fifteen digits and are usually formatted as follows: [+][country code][subscriber number including area code]. An example of an US number in E.164 format is +16561223344. Calls to numbers without country code or carrying national access codes will be rejected by the Wavix platform.

Below are typical examples of incorrectly formatted phone numbers

Table 1 International E.164 phone number presentation

Depending on your users’ dialing habits, you may want to strip some of the leading digits or prepend the country code. For example, the below configuration can be used to prepend all dialed numbers with the leading 1 in case your users are accustomed to US domestic number in the national format.

Fig. 13 Custom dial rule configuration
Configure inbound calls

In order to receive inbound calls you need to configure Inbound Rules. Go to Inbound Rules in the left hand side menu and click on the Add DID Rule button.

Give your Inbound Rule a name, enter the number and set the extension to route calls to.

Fig. 14 Inbound Rule configuration

Click OK to save the rule. Depending on your business needs, you may set specific office hours for the rule and route calls to different extensions, voice mailbox or automatically drop the call based on the schedule.

For calls to be routed to your 3CX instance, log in to your Wavix account, select My DIDs under Numbers & trunk in the top menu, click on the three dots on the right hand side and select the Edit DID option.

Fig. 15 Wavix DIDs
Fig. 16 Wavix DID configuration

Select the trunk in the Destination section. Click Add to add the destination for the DID and Save to save the settings.

You can also edit several DIDs at the same time. To do so, select multiple numbers to edit and click the Bulk actions button.

Fig. 17 Bulk DID edit

Please be aware that changes will be applied to all selected numbers.

Verifying the setup

To test the SIP trunk place a call to your mobile phone number. Go to Users in the left hand side menu, click on the default 100 extension and download the application by scanning the QR code on the page. Place a test call using the app.

Fig. 18 3CX extension

If the outbound call fails check the following:

  • You’ve completed all the steps in this guide
  • You’re dialing the phone number in the international E.164 format
  • Max call rate limit set on your SIP trunk or account is enough to call the desired destination. You can find your effective rates in the My account section at https://app.wavix.com