# 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 that 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

Outbound Rules define how extensions place outbound calls and which SIP trunk is used.

#### Step 1: Add an Outbound Rule

1. In the left-hand menu, navigate to:\
   **Call Manager > Outbound Rules**
2. Click **Add**.
3. Enter a **Name** for the outbound rule.
4. Under **Apply this rule to the following calls**, configure at least one matching condition (for example, number length or prefix).

<figure><img src="https://846155343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfkamWLaD5pcQwlKWwC%2Fuploads%2FU2IL7EqTqtSCvh696CHm%2Fwavix-fig21.png?alt=media&#x26;token=111e56d9-1858-4608-82ce-9be35d864aa4" alt=""><figcaption></figcaption></figure>

***

#### Step 2: Select the Trunk Route

* Scroll to **Place outbound calls using the following trunk routes**.
* Click the **Add** icon.
* Select the **VoIP Innovations Trunk**.
* Click **Save** to apply the outbound rule.

<figure><img src="https://846155343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfkamWLaD5pcQwlKWwC%2Fuploads%2FuXiABmxCWcxRK5JHpLEt%2Fvi_trunk_3.png?alt=media&#x26;token=85cb1165-8082-4600-a6c6-22944ec77711" alt=""><figcaption></figcaption></figure>

***

#### Dialing Normalization (Optional)

Depending on your users’ dialing habits, you may need to:

* Strip leading digits, or
* Prepend a country code

**Example**\
If users dial U.S. domestic numbers without the leading `1`, you can configure the outbound rule to automatically **prepend `1`**, ensuring numbers are sent to the trunk in the correct format.

<figure><img src="https://846155343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfkamWLaD5pcQwlKWwC%2Fuploads%2F7wnjeM79aZ4MgiSL9L0q%2Fvi_trunk_4.png?alt=media&#x26;token=a8d7caba-376f-462d-9122-a058bc379391" alt=""><figcaption></figcaption></figure>

***

### Configure Inbound Rules

Inbound Rules control how incoming calls from VoIP Innovations DIDs are routed to extensions, voicemail, or other destinations.

#### Add an Inbound Rule

1. In the left-hand menu, navigate to: **Call Manager > Inbound Rules**
2. Click **Add**.
3. Enter a **Name** for the inbound rule.
4. Click **Choose a Trunk** and select the **VoIP Innovations Trunk**.
5. In the **DID/DDI Number** or **Number Range** field, enter the DID(s).
   * The entered number(s) must fall within the **DID Pool range** of the selected trunk.
6. Select the **Extension** (or destination) to route incoming calls to.
7. Click **OK** to save the rule.

<figure><img src="https://846155343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfkamWLaD5pcQwlKWwC%2Fuploads%2FYyMnkIxH2HzU1jczP5Ox%2Fvi_trunk_5.png?alt=media&#x26;token=3e52698e-0396-4fc5-a378-9715788a95d3" alt=""><figcaption></figcaption></figure>

***

#### Configure Time-Based Routing (Optional)&#x20;

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** based on the schedule

For more details, refer to [Call Route Management](https://support.portsip.com/portsip-communications-solution/portsip-pbx-administration-guide/8-call-route-management).
