How to configure an Elastix PBX IP trunk

Our focus in this article is to achieve the connection between your Elastix server, and our Mission Control Portal. We will describe a sample configuration of the INBOUND and OUTBOUND trunk and the dialplan assuming that you already made the main Elastix installation and telecommunication-applications deployment.

Once you have configured the following steps, you can take advantage of leveraging our Mission Control Portal to maximize your business operations.

Your trunk is ready to go on our side!!! We can move forward with the configurations on your Elastix trunk:

Setting up your public IP (if PBX is behind a NAT)

Add the following lines to sip_nat.conf:

localnet=your local net eg. 172.16.0.0/16
externip=your public IP eg. 50.249.214.241

Outgoing sip Settings for the trunk:

type=peer
qualify=yes
host=sip.telnyx.com
disallow=all
allow=ulaw

Inbound sip Settings for the trunk:

type=friend
insecure=port,invite
host=sip.telnyx.com
dtmfmode=rfc2833
disallow=all
allow=ulaw
nat=yes


Dialed number manipulation rules:

prepend:1; match pattern: NXXNXXXXXX

prepend: blank; match pattern: 1NXXNXXXXXX

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?