How to configure an Elastix PBX User/Pass 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 considering 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 User/Auth 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:

username=(your_user_name)
secret=(your_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_user_name)
secret=(your_password)
fromdomain=sip.telnyx.com
host=sip.telnyx.com
type=friend
insecure=port,invite
qualify=yes
disallow=all
allow=ulaw
dtmfmode=rfc2833
nat=yes

Registration string:

your_user_name:your_password@sip.telnyx.com

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?