> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ringingo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Route Outbound Calls with Outgoing Rules

> Outgoing Rules link campaigns and user groups to SIP trunks. Configure prefix handling, digit manipulation, and trunk failover.

Outgoing Rules are the routing policies that link campaigns and user groups to specific SIP trunks in Ringingo. When a call is placed, the system evaluates the outgoing rule assigned to the campaign or user group to decide which SIP trunk to use, what number prefix handling to apply, and how to fail over between trunks.

## Rule list fields

| Field     | Description                                                                       |
| --------- | --------------------------------------------------------------------------------- |
| Name      | Unique identifier for the outgoing rule.                                          |
| SIP Trunk | Primary trunk assigned to carry calls.                                            |
| Status    | Toggle to activate or deactivate. Inactive rules cannot be assigned to campaigns. |
| Actions   | Edit or delete.                                                                   |

<Info>
  Every campaign (Inbound, Outbound, Blended) requires an active Outgoing Rule before it can be saved and activated. Without a valid outgoing rule, the campaign cannot place or receive routed calls.
</Info>

## Create an outgoing rule

<Steps>
  <Step title="Open the form">
    Click **+ Create Outgoing Rule**.
  </Step>

  <Step title="Set identity and description">
    Enter Name, Description, and Status.
  </Step>

  <Step title="Configure the extension section">
    Set Length, Prefix, Strip, Prepend, primary Trunk, and one or two Failover Trunks.
  </Step>
</Steps>

### Basic fields

| Field       | Required | Description                                             |
| ----------- | -------- | ------------------------------------------------------- |
| Name        | Yes      | Unique label used in campaign and user group dropdowns. |
| Description | No       | Optional internal notes.                                |
| Status      | Yes      | Enable to make the rule available for assignment.       |

### Extension section (number manipulation)

| Field            | Description                                                                 |
| ---------------- | --------------------------------------------------------------------------- |
| Length           | Expected digit length of the dialled number. Set 0 to match any length.     |
| Prefix           | Digit string the dialled number must start with. Blank matches all numbers. |
| Strip            | Digits to remove from the start of the dialled number before sending it.    |
| Prepend          | Digits to add to the start after stripping (for example, 971 for UAE).      |
| Trunk (required) | Primary SIP trunk for matching calls.                                       |
| Failover Trunk 1 | Backup trunk used automatically if the primary fails.                       |
| Failover Trunk 2 | Secondary failover if both primary and Failover 1 fail.                     |

<Tip>
  Always configure at least one Failover Trunk for production outgoing rules. If the primary trunk goes offline due to a carrier outage, failover keeps calls routing through the backup without manual intervention.
</Tip>
