Configuring Telnyx IP Authentication Trunk

Before proceeding with the next steps, you need to purchase a DID on the Telnyx platform.

Create a SIP Trunk on the Telnyx platform

To create a new SIP trunk on the Telnyx platform:

Create SIP Connection

  1. Navigate to the menu Voice > SIP Trunking, and press the button Create SIP Connection

  1. Enter a friendly name for this trunk connection

  2. Choose the IP Address for the Type section

  1. Press Create, and the page will bring up to the edit Connection details page

  2. Click the Add IP Address to submit your PBX static public IP Address, and the PBX signaling port usually it's 5060.

  1. Click the Numbers tab, then press the Assign Number button to choose numbers, press Assign Selected Numbers

  1. Press the Save button to save changes.

Create Outbound Profile

  1. Navigate to the Voice menu and select Outbound Voice Profiles.

  2. Click Add New Profile.

  3. Enter a friendly name, such as "PortSIP Outbound", and click Create. This will take you to the profile details page.

  4. In the Associated Connections and Applications section, click Add connections/apps to profile.

  5. Select the SIP connection you created previously and click Add connections/apps to profile.

  6. Click Save to apply the changes.

Configure IP Authentication Trunk in PortSIP PBX

The IP Authentication Telnyx trunk refers to the IP Based Trunk in PortSIP PBX. You must configure the IP Based Trunk at the PortSIP PBX system administrator level. Once successfully configured, you can share this trunk with tenants.

Please follow these steps:

  1. Sign in to the PortSIP PBX Web Portal as a System Administrator.

  2. Navigate to the left menu and select Call Manager > Trunks.

  3. Click the Add button to open a menu.

  4. From the menu, choose IP Based Trunk.

  1. Enter the trunk name and choose the brand:

    • Name: Enter a friendly name for the trunk.

    • Brand: Select a Telnyx location near you from the Brand field, for example, "Telnyx - US".

  1. Click the Next button, you can adjust the options for the trunk.

    • Max Concurrent Calls: This field sets the maximum number of calls that PortSIP can establish with this trunk. You can adjust it to an appropriate value.

    • We recommend keeping the default settings for other options unless you have specific requirements.

  1. Click the Next button to assign this trunk to the tenants and provide your Telnyx DIDs/Numbers to them with the DID Pool (DID numbers). A DID can be only assigned to one tenant.

A tenant assigned to this trunk can only use the DID numbers within the DID pool range to create inbound and outbound rules and configure the outbound caller ID for extensions.

  • DID Pool: The DID pool can consist of a single number, a range of numbers, or a combination of both. For example:

    • 16468097065

    • 16468097065;16468097066

    • 16468097065-16468097066;16468097069

    • 16468097065-16468097066;16468097070-16468097080

Click the OK button to save the changes. The trunk configuration is now complete.

In the trunk list, you will see the status displayed as Registered (for IP Based Trunk it always displays Registered).

Now you can follow the article to Configuring Outbound & Inbound Calls.

Last updated