With Elastix you can build the ideal PBX for your business whatever its size or requirements; you choose how to deploy depending on what you and your business needs from its communications platform. Whether you want an on-premise Linux PBX, to install on Windows, or you prefer to self host your phone system in YOUR cloud with your own cloud account, the choice is yours.

You'll need to have created an IP Authentication connection on your Telnyx Mission Control Portal account, assigned this connection to a DID and outbound profile in order to make and receive calls.

Instructions for Configuring an Elastix 4 PBX IP Trunk


Elastix 4 is not available from their website anymore but you can download a version of the ISO from our dropbox link.


The same applies for the installation guide, they no longer have it available. However, our instructions below should get you by.

Select "Install Elastix 4".

Once you reached to Centos installation summary you need to configure the following:

  • Date and Time according to your time zone

  • Install Destination (Select the Hard drive we created for this virtual machine)

  • Keyboard

  • Network and Hostname - make sure to turn this on.

Once you've selected the appropriate configuration for each, begin installation will appear and you should select this.

You'll then be prompted to configure the user settings.

Please ensure you enter a root password and create a user. You will need these for later on so please remember them.

While you complete these two options, the installation will continue as normal until it finishes.

Now enter your SQL root password and admin password which are used to login to the graphical user interface.

Now your virtual machine will reboot and you should now be able to login as root and Web Gui admin.

To access your Elastix system, copy the URL which is displayed for you in the above picture. Input this URL into your browser to access the graphical user interface.

Once you enter your username and password, you'll be brought to the Elastix system.

Video Walkthrough

Coming soon! This walkthrough will demonstrate setting up an IP based connection with Elastix 4. We'll also show you how to assign this connection to a newly purchased DID which will allow you to receive inbound calls. Then we'll walk you through how to assign the connection to an outbound profile such that you can make outbound calls!


For step by step instructions on each of the requirements on the Telnyx Mission Control Portal, please follow this guide.


You are now all set on the Mission Control Portal side and are ready to configure your Telnyx trunk within your Elastix 4 system.

Please see the video walkthrough below.

We'll also provide screenshots for each of the settings needed.

You'll be brought to the Elastix homepage, once you login, as seen below. 

Proceed to PBX -> Tools -> Asterisk File Editor and filter for the sip_nat.conf file.

Enter in your own local network subnet and your external IP:

  • localnet=

  • externip=

Click Save and then click Reload Asterisk.

Make your way to PBX -> PBX Configurations -> Extensions -> Add SIP Extension.

Fill in the information you see from the below screenshot, anything else can be left blank for now unless it is a requirement of yours. 

Please note: Outbound CID should be the number you purchased with Telnyx that you want to assign for this extension. Please remember to use the user extension and password along with the internal IP of your Elastix server so you can then register this SIP extension.

Click submit and then apply config to apply the settings for this SIP extension.

In PBX Configurations make your way to Trunks.

You'll want the following settings to be added to your trunk details.

Outgoing sip Settings for the trunk:


Inbound sip Settings for the trunk:


Dialed number manipulation rules:

prepend:1; match pattern: NXXNXXXXXX

prepend: blank; match pattern: 1NXXNXXXXXX

The above dial patterns are for dialing 10 and 11 digit destinations, your own dial patterns may differ.

There is no need to enter in a registration string as this is an IP trunk for an IP based connection.

Click submit and apply config to configure the trunk settings.

In PBX Configurations make your way to Outbound Routes.

Follow the details contained in the screenshot below.

Add the route name, Route CID, dial patterns and assign the trunk sequence as Telnyx.

Click submit and apply config to configure the trunk settings. 

In PBX Configurations make your way to Inbound Routes.

Follow the details contained in the screenshot below.

Add the description of the inbound route name, DID number for your inbound calls and the extension you want to assign when inbound calls are received to the DID specified.

Click submit and apply config to configure the trunk settings.

That's it, you've now completed the configuration of Elastix 4 IP-PBX Trunk and can now make and receive calls by using Telnyx as your SIP provider!

Additional Resources

Review our getting started with guide to make sure your Telnyx Mission Control Portal account is setup correctly!

Check out Elastix help section for extra support!

Can't find what you're looking for?

Our knowledge base is currently undergoing a makeover which will include more up to date videos to match our ever growing platform!

Can't find what you're looking for? Click the chat bubble at your lower right hand corner and start a chat!

Did this answer your question?