This is the API V2 documentation. To switch out of beta revert back to our API V1.

Open SidemenuDocs
Docs
Close Sidemenu
Choose:
CredentialsIPFQDN
CredentialsIPFQDN

Elastix Version 5 Credentials Trunk Configurationelastix-version-5-credentials-trunk-configuration

Intro to Elastix 5

ElastixTelnyx Developers is a high-performance turnkey PBX that’s easy to install and manage. Powered by 3CX, you get a complete unified communications solution with softphones included for Android, iOS, Windows and Mac as well as a web-client. Supported IP Phones, Trunks and gateways are all automatically configured with inbuilt templates. You also get integrated WebRTC video conferencing for free. Available on-premise on Windows, Linux, Raspberry Pi or in the Cloud.

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


Elastix 5 Prerequisiteselastix-5-prerequisites

  1. 1Download Elastix 5 - Elastix 5 is available to download from hereTelnyx Developers.
  2. 2Install Elastix - For instructions on installation steps, please see Elastix installation guide hereTelnyx Developers.

Please note down any user and password you've created which will be used for login purposes at a later stage.

Once the installation has finished, you'll be prompted to choose either running the tool from the web browser or from the command line. We recommend the web browser. There is a URL provided which you will need to use to access the graphical user interface in order to configure Elastix 5.

3CX

Configuring Your Telnyx Mission Control Portal

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

Once you've configured your Telnyx account, you can now proceed to setup Elastix following the guide below.


Elastix 5 Setup Guideelastix-5-setup-guide

Installing Elastix 5installing-elastix-5

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

As Elastix is powered by 3CX, you'll need to acquire a license key to try it outTelnyx Developers.

Once you've acquired the key, proceed to creating a new install and click next.

3CX

IP Addressip-address

  1. 1You're public IP address will automatically be detected next and you can choose to either go with the one that was detected or enter an IP address in manually. Once you've done this, click next.
  2. 2Choose whether your IP address is static or dynamic. Click next.

3CX

Select Portsselect-ports

  1. 3Select the ports required for 3CX Management console. They automatically populate default values for you but you can choose your own.

elastix-v5-4

Network Adapternetwork-adapter

  1. 4Proceed to select the default network adapter.

3CX

FQDN and Certificatesfqdn-and-certificates

  1. 5Your FQDN and certificates will now be generated.

3CX

Specify Extension Lengthspecify-extension-length

  1. 6Select how many digits your extensions should have.

3CX

Specify an Admin Emailspecify-an-admin-email

  1. 7Enter an Email for important system notifications.

3CX

Configure Country and Time Zoneconfigure-country-and-time-zone

  1. 8Select Country and Time Zone.

3CX

Specify a Default Operator Extensionspecify-a-default-operator-extension

  1. 9Create an Operator Extension.

3CX

Security - Confirm Countries Call Can Be Made Tosecurity---confirm-countries-call-can-be-made-to

  1. 10As an additional security measure, you can specify to which countries calls can be made.

3CX

Select a Languageselect-a-language

  1. 11Select your preferred language. The last sub section is registration and you should fill out your personal details here.

3CX

At this point the PBX basic settings are now fully configured and you'll be shown a congratulations page upon successfully completing the steps. Make sure you note the details that are provided but a copy of the details are also sent to the admin email you specified on a previous step.

Use the FQDN or your public IP address URL in order to access the PBX interface. If the PBX is on your local LAN, and your router has a firewall, ensure to apply port forwarding to the ports you specified in step 3 - otherwise the interface may not resolve for you.

Elastix PBX CONFIGURATIONelastix-pbx-configuration

Login and Dashboardlogin-and-dashboard

Login with the username and password you created.

3CX

You'll be brought the the dashboard now.

elastix-v5-14

Confirm Your Network Settingsconfirm-your-network-settings

  • Go to "Settings" -> "Network"
  • "Ports" Tab: make sure your "SIP Port" is set to 5060.
  • "Public IP" Tab: double check your Public IP is correct and that you have selected the proper Network card Interface.
  • Settings --> Click on "Network Settings" --> Public IP tab --> Section : "External IP Configuration".
  • NOTE: Please make sure that connection IP on the portal and Static Public IP is same. You can also use the FQDN for inbound calls and the IP for outbound calls.

Create Telnyx SIP Trunkcreate-telnyx-sip-trunk

  1. 1Click on "SIP Trunks" from the navigation menu on the left.
  2. 2Click "+ Add SIP Trunk" near the top of the screen.
  3. 3A new pop up will be opened. You need to enter/select all the required details :
    • Select Country: Worldwide
    • Select Provider in your Country: Telnyx LLC
    • Main Trunk No: Enter the number which you have purchased on your Telnyx Mission Control Portal

3CX

  1. 4After entering the details, Click on OK
  2. 5This will open the trunk configuration window:
    • Tabs
    • General
    • DIDs
    • Caller ID
    • Inbound Parameters
    • Outbound Parameters
  3. 6In the General tab, there are 3 sections to be explained in the following sections:
    • Trunk Details
    • Authentication
    • Route calls to

Trunk Detailstrunk-details

  • Enter name of Trunk: Telnyx LLC
  • Registrar/Server/Gateway Hostname or IP: sip-anycast1.telnyx.com:5060 or sip.telnyx.com:5060
  • Outbound Proxy: sip.telnyx.com
  • Number of SIM Calls: set your preferred amount of simultaneous calls

elastix-v5-16

Authenticationauthentication

  • Type of Authentication: Register/Account based
  • Authentication ID (aka SIP user ID): You need to use the username from the connection which you have created in the Telnyx portal
  • Authentication Password: You need to use password from the connection which you have created in the Telnyx portal

3CX

Route calls toroute-calls-to

  • Main Trunk number: By default number will be shown. You need cross verify with the number which you have purchased on telnyx porta
  • Destination for calls during the office hours: Based on your requirement
  • Destination for calls outside the office hours: Based on your requirement

3CX

  1. 7Select the "Options" tab
    • For "Require registration for:" select "Do not require".
    • Remove the "GSM-FR" from Assigned Codecs
    • Click "Apply"
  2. 8Select the "Outbound Parameters"
    • For "Contact : User Part" in the SIP Field column Select "Custom Field".
    • To allow private calling - "From: Display Name" and "From : User Part", select "Custom Field" but leave the Custom values blank.
    • Click "Apply".

elastix-v5-19

  1. 9After entering all the details please click on “OK” which is on the top.
    • If all the fields are entered correctly the IP trunk will now be live. We can now proceed to our inbound and outbound rules.

3CX

Inbound Rulesinbound-rules

  • Click on "Inbound Rules" from the navigation menu on the left.
  • Click on "+Add DID Rule" near the top of the screen.
  • There are 2 sections in this:
    • General
    • Route calls to

Generalgeneral

3CX

Route Calls toroute-calls-to

3CX

Outbound Rules:outbound-rules-

  • Click on "Outbound Rules" from the navigation menu on the left.
  • Click on "+Add" near the top of the screen.
  • There are 3 sections in this :
    • General
    • Apply this rule to these calls
    • Make outbound calls on

General:general-

Rule Name : You can enter any preferred name

3CX

Apply this rule to these calls:apply-this-rule-to-these-calls-

  • Calls to numbers starting with prefix : leave empty
  • Calls from extension(s) : You need to give the extension numbers
  • NOTE: ‘000’ is the extension used as an example.
  • Calls to Numbers with a length of : leave empty

3CX

Make outbound calls on:make-outbound-calls-on-

We need to configure routes in this section. Configure up to 3 routes for calls. The second and third route will be used as backup. For each route, digits can be stripped or added. Strip Digits 0 on Route 1 and Strip Digits 1 digit for remaining 2 routes.

3CX

After completing the configuration, click "OK".

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


Additional Resources

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

Check out Elastix's help sectionTelnyx Developers for extra support!

Need extra help setting up Elastix 5 with Telnyx? Click the Live Chat icon at your lower right hand corner and start a chat!

Was this page helpful?was-this-page-helpful