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

How to configure an Elastix Version 4 Credentials Trunkhow-to-configure-an-elastix-version-4-credentials-trunk

How to configure an Elastix Credentials Trunk

Introduction

3CXTelnyx 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 4 Instructionselastix-4-instructions

Downloaddownload

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

Installationinstallation

The same applies for the installation guide, they no longer have it available. However, our instructions below walk you through setup.

Select "Install Elastix 4".

3CX

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.

Elastix

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.

Elastix

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.

3CX

3CX

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

3CX

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.

3CX

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

Video Walkthroughvideo-walkthrough

Coming soon! This walkthrough will demonstrate setting up a credential 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!


Configuring Your Telnyx Mission Control Portalconfiguring-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 4 Setup Guideelastix-4-setup-guide

Walkthrough Videowalkthrough-video

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:

Screenshots for the settings are also provided below.

Dashboarddashboard

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

3CX

IP Addressip-address

  1. 1Proceed to PBX -> Tools -> Asterisk File Editor and filter for the sip_nat.conf file.
  2. 2Enter in your own local network subnet and your external IP:
    • localnet=
    • externip=
  3. 3Click Save and then click Reload Asterisk.

Elastix

SIP Extensionsip-extension

  1. 1Make your way to PBX -> PBX Configurations -> Extensions -> Add SIP Extension.
  2. 2Fill 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.
  3. 3Click submit and then apply config to apply the settings for this SIP extension.

Elastix

PBX Trunk Setuppbx-trunk-setup

  1. 1In PBX Configurations make your way to Trunks. Configure your trunk details as below.
  2. 2Outgoing sip Settings for the trunk:
    • username=(your telnyx credentials based username)
    • secret(your telnyx credentials based password)
    • host=sip.telnyx.com
    • type=friend
    • insecure=port,invite
    • qualify=yes
    • disallow=all
    • allow=ulaw&alaw
  3. 3Inbound sip Settings for the trunk:
    • username=(your telnyx credentials based username)
    • secret=(your telnyx credentials based password)
    • fromdomain=sip.telnyx.com
    • host=sip.telnyx.com
    • type=friend
    • insecure=port,invite
    • qualify=yes
    • disallow=all
    • allow=ulaw
    • dtmfmode=rfc2833
    • nat=force_rport,comedia
  4. 4Registration string:
    • your_user_name:your_password@sip.telnyx.com
  5. 5Dialed 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.
  6. 6Click submit and apply config to configure the trunk settings.

Elastix

Outbound Routes Setupoutbound-routes-setup

  1. 1In PBX Configurations make your way to Outbound Routes. Configure your outbound route details as below.
  2. 2Add the route name, Route CID, dial patterns and assign the trunk sequence as Telnyx.
  3. 3Click submit and apply config to configure the trunk settings.

Elastix

Inbound Routes Setupinbound-routes-setup

  1. 1In PBX Configurations make your way to Inbound Routes.
  2. 2Configure your inbound route details as below and in the image.
    • Add the description of the inbound route name.
    • Add the DID number for your inbound calls.
    • Add the extension you want to assign when inbound calls are received to the DID specified
  3. 3Click submit and apply config to configure the trunk settings.

Elastix

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 Resourcesadditional-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!


Can't find what you're looking for?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 Live Chat icon at your lower right hand corner and start a chat!

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