Yeastar S-Series: Telnyx SIP

Learn how to configure both a Yeastar S-Series IP or Credentials trunk to work with your Telnyx Mission Control Portal.

C
Written by Customer Success
Updated over a week ago

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:


Instructions for setting up a VoIP trunk in Yeastar

In this document, you will:

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.

  1. In your Yeastar PBX (Cloud or VoIP), go to Settings > PBX > Trunks.

  2. Click Add Trunk.

    PBX Trunk page screenshot.
  3. Set the following configurations:

    1. Go to Settings and expand PBX and go to the Trunks tab, click Add.

    2. Name: Enter a trunk name.

    3. Select Country: select General from the drop-down list

    4. Trunk Type: select Register Trunk from the drop-down list

    5. Hostname/IP: Enter the IP address or the domain of the VoIP provider (e.g.,peer.sip.com).

    6. Domain: Enter the IP address or the domain of the VoIP provider (e.g., peer.sip.com).

    7. Username: Your Telnyx username

    8. Password: Your Telnyx password

    9. Authentication Name: The authentication name used to register to Telnyx. Reach out to Telnyx support if you need to have this provided.

    10. From User: Your Telnyx username

    VoIP Trunk addition tab.

  4. If the trunk DID number is different from the trunk authentication name, you will need to set the DID number.

    1. Click Advanced and enter the DID numbers provided by Telnyx.

    2. 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.

    3. Click + to add another DID number.

  5. Configure other VoIP trunk settings as your need.

  6. Click Save and Apply.

  7. You can check the trunk status in PBX Monitor. If the trunk status shows , the trunk is ready for use.

    PBX Monitor page.

  8. 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:

    1. Default Registration Time: 300

PBX settings.

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.

  1. In your Yeastar PBX (Cloud or VoIP), go to Settings > PBX > Trunks.

  2. Click Add Trunk.

    Trunks extensions.
  3. Set the following configurations:

    1. Go to Settings and expand PBX and go to the Trunks tab, click Add.

    2. Name: Enter a trunk name.

    3. Select Country: select General from the drop-down list

    4. Trunk Type: select Peer Trunk from the drop-down list

    5. 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).

    6. Configure other VoIP trunk settings as your need.

    7. Click Save and Apply.

    VoIP Trunk addition tab.

  4. You can check the trunk status in PBX Monitor. If the trunk status shows , the trunk is ready for use.

    PBX Monitor.

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.

  1. 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

  2. In the top-nav, click Outbound Routes.

    Outbound Routes.
  3. Click Add and configure the following settings:

    1. Route Name: Give this outbound route a name of your choice.

    2. 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.

    3. Dial Pattern: The number one would need to dial to place an outgoing call. In this example, the number is 8.

    4. Strip: 1 (This removes the number you specified in the Dial pattern from the call before placing it)

    5. Member Extensions: Select the extensions that are allowed to make calls through the outbound route.

    6. Member Trunks: Select the Telnyx trunk.

    Outbound Routes addition page.

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.

  1. Go to Settings and expand PBX. Click on Call Control

  2. In the top-nav, click Inbound Routes.

    Inbound Routes tab.
  3. Click Add and configure the following settings:

    1. Name: Give this inbound route a name of your choice.

    2. Member Trunks: Choose the Telnyx trunk.

    3. Destination: Select the destination where you want incoming calls routed.

  4. Click Save, then Apply.

    Inbound Route page.

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.

Did this answer your question?