# Configuring Outbound & Inbound Calls

You need to sign in to the PortSIP PBX web portal to create the outbound and inbound rules for making & receiving calls.

### Sign in to the PortSIP PBX Web Portal

To configure outbound and inbound call routing, you must first sign in to the PortSIP PBX Web Portal.

You can access a tenant in one of the following ways:

#### Option 1: Sign in as System Administrator

1. Sign in to the PortSIP PBX Web Portal as a **System Administrator**.
2. Navigate to **Tenants**.
3. Select the desired tenant and click **Manage** to switch to that tenant’s administration context.

#### Option 2: Sign in as Tenant Administrator

* Sign in directly as a **Tenant Administrator** to manage the tenant.

> ❗**Note**\
> For more information about tenant roles and access control, refer to [Tenant Management](https://support.portsip.com/portsip-communications-solution/portsip-pbx-administration-guide/3-tenant-management).

***

### Configure Outbound Rules

To place outbound calls, you must create at least one **Outbound Rule**.

#### Step 1: Add an Outbound Rule

1. From the left-hand navigation menu, go to **Call Manager > Outbound Rules**.
2. Click **Add**.
3. Enter a **Name** for the outbound rule (for example, `Telnyx-Outbound`).

***

#### Step 2: Define Rule Conditions

4. In the **Apply this rule to the following calls** section, configure **at least one condition** to define which calls this rule applies to\
   (for example, destination number patterns).

<figure><img src="https://846155343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfkamWLaD5pcQwlKWwC%2Fuploads%2FdG2wr2vSL5VyPTW6Jndt%2Ftelnyx-fig14.png?alt=media&#x26;token=200e8c22-a574-41a9-a160-bbade97274bf" alt=""><figcaption></figcaption></figure>

***

#### Step 3: Select the Trunk Route

5. Scroll to **Place outbound calls using the following trunk routes**.
6. Click the **Add (+)** icon.
7. Select the **Telnyx trunk**.
8. Save the outbound rule.

<figure><img src="https://846155343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfkamWLaD5pcQwlKWwC%2Fuploads%2Fjb3dJD9IP1aCU1qR3zzw%2Ftelnyx-fig15.png?alt=media&#x26;token=809ea9ab-8d03-4287-8bee-eadea1db09bc" alt=""><figcaption></figcaption></figure>

***

#### Step 4: Configure Number Format (Optional)

Depending on your users’ dialing habits, you may need to **normalize dialed numbers** before sending calls to the trunk.

For example, if users typically dial **US domestic numbers** without a country code, you can configure the outbound rule to **prepend `1`** to all dialed numbers.

> ❗**Best Practice**\
> Normalizing outbound numbers to **E.164 format** (for example, `+13322496213`) improves SIP trunk compatibility, routing accuracy, and caller ID consistency.

<figure><img src="https://846155343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfkamWLaD5pcQwlKWwC%2Fuploads%2Fg7JcSLqfkrgfOwdH5zTH%2Ftelnyx-fig16.png?alt=media&#x26;token=05b30f40-5bb5-4799-9b08-0d1c446f360c" alt=""><figcaption></figcaption></figure>

***

### Configure Inbound Rules

To receive inbound calls, you must configure at least one **Inbound Rule**.

#### Step 1: Add an Inbound Rule

1. Sign in to the **PortSIP PBX Web Portal** as a **System Administrator** or **Tenant Administrator**.
2. From the left-hand navigation menu, go to **Call Manager > Inbound Rules**.
3. Click **Add**.

***

#### Step 2: Configure Basic Inbound Rule Settings

4. Enter a **Name** for the inbound rule (for example, `Telnyx-Inbound`).
5. Click **Choose a Trunk**, then select the appropriate **Telnyx trunk**.
6. In the **DID/DDI Number or Number Range** field, enter the destination number(s).
   * The number must be **within the DID pool range** assigned to the selected trunk.
7. Select the **Extension** to route inbound calls to
   * For example: **Extension `1001`**.
8. Click **OK** to save the inbound rule.

<figure><img src="https://846155343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfkamWLaD5pcQwlKWwC%2Fuploads%2F0TEYe46U35PGd3jqOszv%2Ftelnyx-fig17.png?alt=media&#x26;token=184b0aa4-709b-4de5-8e3b-3008b3157ce4" alt=""><figcaption></figcaption></figure>

***

#### Step 4: (Optional) Configure Time-Based Routing

Depending on your business requirements, you can further enhance the inbound rule by:

* Defining office hours or schedules
* Routing calls to different extensions based on time of day
* Sending calls to voicemail outside business hours
* Automatically rejecting or dropping calls when appropriate

For more details, refer to [Office Hours and Holiday Schedule](https://support.portsip.com/portsip-communications-solution/portsip-pbx-administration-guide/30-office-hours-and-holiday-schedule) and  [Call Route Management](https://support.portsip.com/portsip-communications-solution/portsip-pbx-administration-guide/8-call-route-management).
