> For the complete documentation index, see [llms.txt](https://support.portsip.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.portsip.com/portsip-communications-solution/configuring-sip-trunks/telnyx-sip-trunk/configuring-telnyx-register-authentication-trunk.md).

# Configuring Telnyx Register Authentication Trunk

Before proceeding with the next steps, you need to [purchase a DID on the Telnyx platform](/portsip-communications-solution/configuring-sip-trunks/telnyx-sip-trunk/purchase-a-did-on-telnyx-platform.md).

### Create a SIP Trunk on the Telnyx Platform

To create a new SIP trunk on the **Telnyx** platform using **credential-based authentication**, follow these steps.

#### Step 1: Create a SIP Connection

1. Sign in to your Telnyx account.
2. From the left-hand navigation menu, go to **Voice > SIP Trunking**.
3. Click **Create SIP Connection**.

<figure><img src="https://846155343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfkamWLaD5pcQwlKWwC%2Fuploads%2FvvrPGHzT8FxTsWXEL31Z%2Ftelnyx-fig3.png?alt=media&amp;token=5f42455e-2280-46cf-a1fb-421c135134fa" alt=""><figcaption></figcaption></figure>

***

#### Step 2: Configure Basic Connection Settings

1. Enter a **friendly name** for the SIP connection.
2. For **Type**, select **Credentials**.
3. Enter a **Username** and **Password** of your choosing.
   * Choose strong, secure credentials, as they will be used by PortSIP PBX for SIP authentication.

<figure><img src="https://846155343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfkamWLaD5pcQwlKWwC%2Fuploads%2FRBU3ZDaPvCkL8ZMlsSda%2Ftelnyx-fig10.png?alt=media&amp;token=284dee10-1dbe-48a7-a34b-28a453b02bcc" alt=""><figcaption></figcaption></figure>

4. Click **Create**.&#x20;
   * You will be redirected to the **Connection Details** page.

> ❗**Note**\
> After the trunk is configured in PortSIP PBX, you can return to this page and click **Check Registration Status** to verify whether PortSIP PBX is successfully registered to the Telnyx trunk.

<figure><img src="https://846155343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfkamWLaD5pcQwlKWwC%2Fuploads%2FbIOrGj2jhuEtzXXRTsiO%2Ftelnyx-fig11.png?alt=media&amp;token=a57ac018-9670-4115-9ac5-ca531d54caa2" alt=""><figcaption></figcaption></figure>

***

#### Step 3: Assign DID Numbers

1. Click the **Numbers** tab.
2. Click **Assign Number**.
3. Select the DID numbers you want to associate with this SIP connection.
4. Click **Assign Selected Numbers**.
5. Click **Save** to apply and store the changes.

<figure><img src="https://846155343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfkamWLaD5pcQwlKWwC%2Fuploads%2FWpc7LJVtEoJmO91bgznm%2Ftelnyx-fig6.png?alt=media&amp;token=188ad5fc-dc96-462f-8ecb-a76897d6f604" alt=""><figcaption></figcaption></figure>

***

#### Create an Outbound Voice Profile

To enable outbound calling for your SIP connection, you must create and associate an **Outbound Voice Profile** on the **Telnyx** platform.

Follow these steps:

1. Sign in to your Telnyx account.
2. From the left-hand navigation menu, go to **Voice > Outbound Voice Profiles**.
3. Click **Add New Profile**.
4. Enter a **friendly name** for the profile (for example, `PortSIP Outbound`), then click **Create**.
   * You will be redirected to the **Outbound Voice Profile Details** page.

**Associate the SIP Connection**

5. In the **Associated Connections and Applications** section, click **Add connections/apps to profile**.
6. Select the **SIP connection** you created earlier.
7. Click **Add connections/apps to profile** to associate it with this outbound profile.
8. Click **Save** to apply the changes.

<figure><img src="https://846155343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfkamWLaD5pcQwlKWwC%2Fuploads%2FnarnUQqNcXzbsLQDHX75%2Ftelnyx-fig7.png?alt=media&amp;token=cf755cb8-a7fe-42ff-8e61-ab94b43637a9" alt=""><figcaption></figcaption></figure>

***

### Configure Register Authentication Trunk in PortSIP PBX

The **Register Authentication Telnyx trunk** corresponds to a **Register-Based Trunk** in PortSIP PBX.

> ❗**Important**\
> Register-Based Trunks **must be configured at the System Administrator level**.\
> Once successfully configured, the trunk can be **shared with one or more tenants**.

***

#### Step 1: Create the Register-Based Trunk

1. Sign in to the PortSIP PBX Web Portal as a **System Administrator**.
2. Navigate to **Call Manager > Trunks**.
3. Click **Add**, then select **Register Based Trunk**.

<figure><img src="https://846155343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfkamWLaD5pcQwlKWwC%2Fuploads%2Fp1fjpccSgTaPT0K0ppDP%2Fadd-register-trunk.png?alt=media&amp;token=10106a44-3694-4618-bd5b-036656f7a61a" alt=""><figcaption></figcaption></figure>

***

#### Step 2: Configure Basic Trunk Settings

Enter the following information:

* **Name**\
  Enter a friendly name for the trunk (for example, `Telnyx-Reg-Trunk`).
* **Brand**\
  Select a nearby **Telnyx** location from the Brand field\
  (for example, **Telnyx – US**).
* **DID Pool** *(Tenant Admin level only)*\
  If this trunk is being configured at the **Tenant Administrator level**, specify the Telnyx DID numbers assigned to this tenant.

  > ❗**Important**
  >
  > The tenant can use **only the DID numbers in its DID pool** to:
  >
  > * Create inbound and outbound call rules
  > * Configure outbound caller IDs for extensions

**DID Pool Format Examples**

```
16468097065
16468097065;16468097066
16468097065-16468097066;16468097069
16468097065-16468097066;16468097070-16468097080
```

Click **Next** to continue.

<figure><img src="https://846155343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfkamWLaD5pcQwlKWwC%2Fuploads%2FIx8Gf6G8L73KywJYnvhp%2Ftelnyx-fig12.png?alt=media&amp;token=cdd083bf-c00f-4002-b82b-9e9ab17eb543" alt=""><figcaption></figcaption></figure>

#### Step 3: Configure Trunk Credentials

Enter the credentials created earlier when you **created the Telnyx SIP connection**:

* **Authentication Name**\
  Enter the **username** configured in the [*Create SIP Connection*](#step-1-create-a-sip-connection) step.
* **Password**\
  Enter the corresponding **password**.

Click **Next** to continue.

<figure><img src="https://846155343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfkamWLaD5pcQwlKWwC%2Fuploads%2FGCVo7sCf7ficEJuXd5BG%2Ftelnyx-fig13.png?alt=media&amp;token=b4fca026-ae90-47d4-8cc8-bf8e3bfbc6f2" alt=""><figcaption></figcaption></figure>

***

#### Step 4: Configure Trunk Options

* **Max Concurrent Calls**\
  Specifies the maximum number of simultaneous calls that PortSIP PBX can establish using this trunk.
  * Adjust this value based on your Telnyx service plan and expected call volume.

Leave all other options at their default values unless you have specific requirements.

Click **Next** to continue.

<figure><img src="https://846155343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfkamWLaD5pcQwlKWwC%2Fuploads%2FL0L3xPO2e884gVVAsiNm%2Fip-trunk-options.png?alt=media&amp;token=8a17bcc5-87c1-49ca-9c3e-e3e9abd6fc12" alt=""><figcaption></figcaption></figure>

***

#### Step 5: Assign Tenants and DID Pool *(System Admin level only)*

> ❗**Note**\
> This step is available **only** when configuring the trunk at the **System Administrator level**.

1. Assign the trunk to one or more tenants.
2. Provide Telnyx DID numbers to each tenant using the **DID Pool**.

> ❗**Important**
>
> * Each DID can be assigned to **only one tenant**.
> * A tenant can use **only the DID numbers in its DID pool** to:
>   * Create inbound and outbound call rules
>   * Configure outbound caller IDs for extensions

**DID Pool Format Examples**

```
16468097065
16468097065;16468097066
16468097065-16468097066;16468097069
16468097065-16468097066;16468097070-16468097080
```

Click **OK** to save the configuration.

<figure><img src="https://846155343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfkamWLaD5pcQwlKWwC%2Fuploads%2Fm6zGGGEaUsmweMvfZQP5%2Fwavix-fig17.png?alt=media&amp;token=5bce2cbf-cd18-460c-9c05-6bd16532757d" alt=""><figcaption></figcaption></figure>

***

#### Expected Result

* The trunk configuration is complete.
* Once PortSIP PBX successfully registers with the Telnyx platform, the trunk status will display **Online** in the trunk list.

<figure><img src="https://846155343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfkamWLaD5pcQwlKWwC%2Fuploads%2Fr3ma9IakeW8SEg7gXaw6%2Ftelnyx-fig9.png?alt=media&amp;token=7aa7780f-ae85-413d-8060-bd8d7450cd87" alt=""><figcaption></figcaption></figure>

***

### Next Steps

You can now proceed to [Configuring Outbound & Inbound Calls](/portsip-communications-solution/configuring-sip-trunks/telnyx-sip-trunk/configuring-outbound-and-inbound-calls.md) to complete your call routing setup.
