# Internal Routing Rules

# Overview

The **Internal Routing Rules** page applies regex-based rewriting and destination selection for internal dialing. Open it from **Configuration &gt; Settings &gt; Internal Routing Rules**.

The page works against the tenant currently selected in the top bar. The screenshots and demo rows were captured in the **Canistracci OIL** tenant.

<figure id="bkmrk-internal-routing-rul">![Internal Routing Rules list page in the Canistracci OIL tenant.](https://manual.mirtapbx.com/uploads/images/gallery/2026-06/7m5internal-routing-rules-list.png)<figcaption>Internal Routing Rules list page in the Canistracci OIL tenant.</figcaption></figure>## Working with objects

<table id="bkmrk-taskhow-to-do-it-add"><thead><tr><th>Task</th><th>How to do it</th></tr></thead><tbody><tr><td>Add</td><td>Select the New internal routing rule action, complete the form, and select Save.</td></tr><tr><td>Edit</td><td>Open the internal routing rule from the list by selecting its name, number, or row action. Change the form and select Save.</td></tr><tr><td>Delete</td><td>Select the row checkbox and use Delete Selected, or open the internal routing rule and select Delete, then confirm.</td></tr></tbody></table>

## Page functions

<table id="bkmrk-actiondescription-ne"><thead><tr><th>Action</th><th>Description</th></tr></thead><tbody><tr><td>New Internal Routing Rule</td><td>Opens the creation form for a new internal routing rule.</td></tr><tr><td>Delete Selected</td><td>Deletes the selected rows after confirmation.</td></tr></tbody></table>

## List columns

<table id="bkmrk-columndescription-re"><thead><tr><th>Column</th><th>Description</th></tr></thead><tbody><tr><td>Regex</td><td>Object setting shown by the form.</td></tr><tr><td>Extension</td><td>Target or routing selection used when the object sends a call or message onward.</td></tr><tr><td>Digits to add</td><td>Object setting shown by the form.</td></tr><tr><td>Digits to del</td><td>Object setting shown by the form.</td></tr></tbody></table>

## Demo records

The tenant contains 1 documentation demo record for this page: ^99991$.

## Deleting records

Before deleting a internal routing rule, check references from call flows, destinations, schedules, reports, or provisioning objects. MiRTA PBX asks for confirmation before the delete is submitted.

# Create and Edit Internal Routing Rules

Use this page when creating a new internal routing rule or editing an existing internal routing rule from **Configuration &gt; Internal Routing Rules**.

The form screenshots below are separated by block where the application exposes separate sections. Complete the required values, review routing or destination references, and save the record.

## Add and edit form

<figure id="bkmrk-internal-routing-rul">![Internal Routing Rules add/edit form.](https://manual.mirtapbx.com/uploads/images/gallery/2026-06/l9qinternal-routing-rules-form.png)<figcaption>Internal Routing Rules add/edit form.</figcaption></figure>## Saving and deleting

<table id="bkmrk-taskhow-to-do-it-cre"><thead><tr><th>Task</th><th>How to do it</th></tr></thead><tbody><tr><td>Create</td><td>Select the new action from the Internal Routing Rules list, fill the required fields, and select Save.</td></tr><tr><td>Edit</td><td>Open the existing internal routing rule, update the needed fields, and select Save.</td></tr><tr><td>Delete</td><td>Before deleting a internal routing rule, check call-flow, destination, schedule, report, provisioning, or integration references. Use the row delete action or the form delete action when available, then confirm.</td></tr></tbody></table>