Designed for small- to mid-sized businesses, Yeastar S-Series VoIP PBX and Yeastar Cloud PBX deliver enterprise-grade communication features along with advanced UC capabilities, bringing a solid, reliable and affordable on-premises and hosted business voice solution.
There are two types of SIP trunks you can configure:
A VoIP Register Trunk: Uses a credentials-based authentication
A VoIP Peer Trunk: Uses an IP address and PBX port based authentication
This document covers the configuration of both a register trunk and a peer trunk.
Additional documentation:
Admin Guide for Yeastar Cloud PBX : Yeastar Admin Guide
Admin Guide for Yeastar S-Series VoIP PBX : Yeastar Admin Guide
Instructions for setting up a VoIP trunk in Yeastar
In this document, you will:
Add either a register trunk or a peer trunk
Video Walkthrough
Coming soon! Check back frequently as we are updating our documentation.
β
Pre-Requisites
Have an active, and properly configured, Telnyx Mission Control Portal
Have chosen your DIDs in your Mission Control Portal
Install Yeastar PBX and work through the first 3 sub-sections of the Yeastar Getting Started Guide. When you reach the Set up VoIP trunks section, return here and begin at step 1 below for a Telnyx-specific configuration.
1.1 Set up a VoIP register trunk
In this step, you'll add a peer SIP trunk in your Yeastar PBX.
Note: A register trunk uses a username/password combination (credentials) to authenticate. If you are looking to set up a peer trunk (which uses a Telnyx-provided IP address to authenticate) click here. |
In your Yeastar PBX (Cloud or VoIP), go to Settings > PBX > Trunks.
Click Add Trunk.
Set the following configurations:
Go to Settings and expand PBX and go to the Trunks tab, click Add.
Name: Enter a trunk name.
Select Country: select General from the drop-down list
Trunk Type: select Register Trunk from the drop-down list
Hostname/IP: Enter the IP address or the domain of the VoIP provider (e.g.,peer.sip.com).
Domain: Enter the IP address or the domain of the VoIP provider (e.g., peer.sip.com).
Username: Your Telnyx username
Password: Your Telnyx password
Authentication Name: The authentication name used to register to Telnyx. Reach out to Telnyx support if you need to have this provided.
From User: Your Telnyx username
If the trunk DID number is different from the trunk authentication name, you will need to set the DID number.
Click Advanced and enter the DID numbers provided by Telnyx.
Select the checkbox of DNIS names and enter a DNIS name for the DID number. This will be the display name users will see on their phones.
Click + to add another DID number.
Configure other VoIP trunk settings as your need.
Click Save and Apply.
You can check the trunk status in PBX Monitor. If the trunk status shows , the trunk is ready for use.
Now set the registration time to 300. In your Yeastar PBX (Cloud or VoIP), go to Settings and expand PBX and go to the General tab. Then select SIP above General. and set:
Default Registration Time: 300
Once this configuration is complete, skip to Step 2.
β
1.2. Add Peer SIP trunks in your Yeastar PBX
In this step, you'll add a peer SIP trunk in your Yeastar PBX. A peer trunk uses IP
Note: A register trunk uses a username/password combination (credentials) to authenticate. If you are looking to set up a peer trunk (which uses a Telnyx-provided IP address to authenticate) click here. |
In your Yeastar PBX (Cloud or VoIP), go to Settings > PBX > Trunks.
Click Add Trunk.
Set the following configurations:
Go to Settings and expand PBX and go to the Trunks tab, click Add.
Name: Enter a trunk name.
Select Country: select General from the drop-down list
Trunk Type: select Peer Trunk from the drop-down list
Enter the trunk information that is provided by the VoIP provider.
Hostname/IP: Enter the IP address or the domain of the VoIP provider (e.g.,peer.sip.com).
Domain: Enter the IP address or the domain of the VoIP provider (e.g., peer.sip.com).
Configure other VoIP trunk settings as your need.
Click Save and Apply.
You can check the trunk status in PBX Monitor. If the trunk status shows , the trunk is ready for use.
2. Set up outgoing calls
In this step, you will get your Yeastar PBX set up for outgoing calls. Yeastar compares the number with the pattern that you have defined in your route 1. If it matches, it will initiate the call using the selected trunks. If it does not, it will then compare the number with the pattern for route 2, and so on. The outbound route which is in a higher position will be matched firstly.
To make outbound calls via the newly created SIP trunk, you need to configure an outbound route for the trunk. Go to Settings and expand PBX. Click on Call Control
In the top-nav, click Outbound Routes.
Click Add and configure the following settings:
Route Name: Give this outbound route a name of your choice.
Dial Patterns: Set the dial patterns. As the settings below, to make calls via the SIP trunk, you need to precede the number to be dialed with the prefix 8.
Dial Pattern: The number one would need to dial to place an outgoing call. In this example, the number is 8.
Strip: 1 (This removes the number you specified in the Dial pattern from the call before placing it)
Member Extensions: Select the extensions that are allowed to make calls through the outbound route.
Member Trunks: Select the Telnyx trunk.
3. Set up incoming calls
In this step, you'll get Yeastar ready to take incoming calls by configuring an inbound route for the SIP trunk.
Go to Settings and expand PBX. Click on Call Control
In the top-nav, click Inbound Routes.
Click Add and configure the following settings:
Name: Give this inbound route a name of your choice.
Member Trunks: Choose the Telnyx trunk.
Destination: Select the destination where you want incoming calls routed.
Click Save, then Apply.
That's it, you've now set up your SIP trunk in Yeastar PBX and configured it to work with Telnyx.
β
Additional Resources
Review our getting started guide to make sure your Telnyx Mission Control Portal account is set up correctly.
Admin Guide for Yeastar Cloud PBX : Yeastar Admin Guide
Admin Guide for Yeastar S-Series VoIP PBX : Yeastar Admin Guide