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.
Additional documentation:
Instructions for Configuring Elastix
In this activity you will:
Pre-requisites
Ensure that your Telnyx Mission Command Portal is configured properly
Provision your number (Assign it to a SIP connection)
Create a credentials-based connection on your Telnyx Mission Control Portal
RECOMMENDED: Enable TLS to encrypt your traffic
Download Elastix 4 ISO from our dropbox. (V4 is no longer available through the provider)
Take note of any username/password combination you set during this activity. You'll need them at a later stage.
Video walkthrough
Setting up your Telnyx SIP portal account so you can make and receive calls:
Configuring Elastix 4
1. Install Elastix 4
As the provider no longer supports Elastix, we will provide you with an installation guide.
Run the Elastix installer.
Once you reach the Centos installation summary, provide the following information:
Once you've entered the appropriate configuration settings, click Begin Installation at the bottom.
You'll then be prompted to configure the user settings.
Make sure 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 GUI.
Once you enter your username and password, you'll be brought to the Elastix system.
2. Add a SIP trunk
In this section, you'll configure your Elastix 4 PBX to work with Telnyx. You can follow these steps, or use the video walkthrough.
Log into your Elastix GUI. You'll be on the homepage.
From the left-hand navigation, go 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 in the fields labeled:
localnet=
externip=
Click Save and then click Reload Asterisk.
Now make your way to PBX > PBX Configurations > Extensions > Add SIP Extension and enter the following information. Anything not specified can be left blank unless it's a requirement of yours.
User Extension: The extension you wish to use for this trunk
Display Name: Enter a name that makes sense.
Outbound CID: 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.
Asterisk Dial Options: tr
Queue State Detection: Use state
Secret: Your Telnyx account password for this extension
DTMFmode: RFC 2833
NAT: No- RFC 3581
Click Submit, then Apply Config.
From the left-hand navigation, stay on PBX > PBX Configurations and click on Trunks.
Add the following settings to you trunk details:
Outgoing SIP Settings for the trunk:Username: Your Telnyx account username
Secret: Your Telnyx account password
Host: sip.telnyx.com
Type: friend
Insecure: port, invite
Qualify: Yes
Disallow: All
Allow: ulaw & alaw
Inbound sip Settings for the trunk:
Username: Your Telnyx account username
Secret: Your Telnyx account password
Fromdomain: sip.telnyx.com
Host: sip.telnyx.com
Type: friend
Insecure: port,invite
Qualify: Yes
Disallow: All
Allow: ulaw
DTMFmode: RFC 2833
NAT: force_rport,comedia
Registration string: your_username:your_password@sip.telnyx.com
Dialed number manipulation rules: prepend:1; match pattern: NXXNXXXXXX
prepend: blank; match pattern: 1NXXNXXXXXX
Note: The above dial patterns are for dialing 10 and 11 digit destinations, your own dial patterns may differ.
Click Submit and Apply Config.
3. Configure outbound rules
In this section, you'll configure the outbound calling rules that will manage your outgoing calls.
From the left-hand navigation, make your way to PBX > PBX Configurations and click on Outbound Routes, then Add Route and provide the following information:
Route Name: Choose a name that makes your route easily identifiable.
Route CID: The number you purchased with Telnyx that you want to assign to this route.
Dial Patterns: Enter your dial patterns here. Use as many as necessary.
Trunk Sequence: Telnyx
If you require configuration of any additional fields, you can configure these as needed.
Click Submit and Apply Config to configure the trunk settings.
4. Configure inbound rules
In this section, you'll configure the inbound calling rules that will manage your incoming calls.
From the left-hand navigation, make your way to PBX > PBX Configurations and click on Inbound Routes, then Add Incoming Route and provide the following information:
Description: A description of your route that makes it easily identifiable
DID Number: The number you purchased with Telnyx that you want to assign to handle inbound calls.
Extensions: Any extensions that you need to register for your inbound calling.
If you require configuration of any additional fields, you can configure these as needed.
Click Submit and Apply Config.
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 set up correctly.
Additionally, you can check out: