Skip to main content
Ubiquiti Trunk: Unifi Talk - IP Auth

Learn how to configure a Telnyx Trunk with IP authentication with Ubiquiti Unifi Talk PBX.

Written by Customer Success
Updated over a week ago

The UniFi Talk PBX, provided by Ubquiti, is a subscription-based VoIP phone solution that is the ideal plug-and-play setup for small to medium sized businesses.

Note: Unifi Talk (which we will refer to from here as simply Talk) has specific hardware requirements. Only other Talk devices are compatible with the Talk application. See the pre-requisites section of this document for more information.

Additional documentation:

Instructions for configuring Unifi Talk PBX with your Telnyx Account

In this activity you will:


Video Walkthrough

Setting up your Telnyx SIP portal account so you can make and receive calls:

Setting up a third-party SIP provider with UniFi Talk (in this case, it is 5sigma)

1. Add a Telnyx SIP trunk to your Talk application

In this section, you'll configure Telnyx as your SIP provider within your Talk application.

  1. From your Unifi Talk dashboard, click on the settings icon in the right-hand navigation.

    Unifi Talk dashboard section.

  2. Under Unifi Talk settings click System Settings.

    Unifi Talk dashboard system settings section.

  3. Find the Third Party SIP Setup section and click on Add Third Party SIP Provider.

  4. You can enter the provider name here (ie: Telnyx).

    Third Party SIP Setup section.

  5. Now we need to add a few custom fields, both the field names AND their corresponding values. Click the Add Fields button. You'll get a popup screen with a + which you can use to add new fields. Add the following information, making sure to type the field names exactly as they're written below:

    1. proxy

    2. realm

    3. context

    4. password

    5. register

    6. username

    7. extension

    8. from-user

    9. from-domain

    10. retry_seconds

    11. expire-seconds

  6. Click on Done when you're finished.

  7. Now you can add values to the fields you just created. In each field, provide the following:

    1. proxy: (For international, see this document.)

    2. realm: (For international, see this document.)

    3. context: public

    4. password: You can type anything here. The Unifi setup wants a password value, even when doing IP authentication.

    5. register: false

    6. username: Your Telnyx username

    7. extension: Leave blank

    8. from-user: Your Telnyx username

    9. from-domain: (For international, see this document.)

      1. Note: If this doesn't work, you may need to instead give the static IP address of your Unifi Talk.

    10. retry_seconds: 30

    11. expire-seconds: 120

2. Authorize international outgoing calls

If you want your users to be able to dial out to other countries, you'll need to authorize those. (If you do not want your users making international calls, you can go onto section 3.

  1. From the System Settings config, click the Select Countries button. Make sure your Telnyx account allows for international calling, or this will not work.

     Select Countries button.

  2. Click Save.

3. Configure phone numbers

In this section, you'll be importing phone numbers into Talk. You have the option of importing them either manually by entering them one by one, or auto-importing them from a list in a text file.

  1. From the System Settings config, open the DID Numbers section.

  2. To manually import numbers, enter each of your Telnyx DIDs that you provisioned as part of your pre-requisite activities into Input Numbers field in E164 format (ie: +1XXXXXXXXXX).

    1. You MUST provide the + at the beginning of your number string, otherwise you may get parsing errors.

      DID Numbers section.

  3. To auto-import numbers from a text file, click the Import Numbers with .TXT File button.

    1. There MUST be the + at the beginning of each number string, otherwise you may get parsing errors.

    2. Make sure each number is on a separate line.

4 Set the IP address range

In this section, you will set the range of ACL IP addresses that you will get from Telnyx. If you do not have these, please reach out to support.

  1. From the System Settings config, click the IP Address Range option.

  2. Click the Add IP Address Range button on the right.

    1. CIDR Network Address: (For international, see this document.) Leave /32 as it is.

  3. Click the Add button.

    IP Address Range option section.

5. Assign a phone number to a user

In this section, you'll assign a phone number to each user in your setup. These phone numbers are the DIDs you acquired as part of your pre-requisite activities.

  1. Go to the left-hand navigation and click on the users icon.

    Users icon.

  2. Find the user you want to assign a number and click the Edit button at the far right of their row.

    Edit button.

  3. A user edit popup will appear. Click the Manage dropdown

    Manage dropdown.

  4. Find the Change Number section. Here you'll see all the DIDs you added in section 3. Any numbers that have not yet been assigned to a user will say "Unassigned" next to them.

    Change Number section.

That's it! You've finished configuring Unifi Talk, and can now start testing calls from your Talk device!

Additional Resources

Review our getting started with guide to make sure your Telnyx Mission Control Portal account is setup correctly!

Additionally, check out:

Did this answer your question?