---
title: 'Phone numbers'
summary: 'A phone number is one of your external telephone numbers - a DID - the number outside callers dial to reach your tenant. Each one carries its own incoming routing, carrier setup, and outbound-permission list.'
section: features
tags:
  - crud
  - telephony
  - routing
  - did
updated: '2026-08-12'
---

> A **phone number** is one of your external telephone numbers - a DID (Direct Inward Dialing) - the number outside callers dial to reach your tenant.

## Overview

A phone number connects the outside world to your PBX. Inbound calls arrive through a **SIP carrier**, and the number's **handling strategy** decides where they go from there. The same record also controls **outbound caller identity**: who may present this number when dialling out.

Numbers are provisioned by your carrier and appear in Cockpit automatically, stored in E.164 format (`+352 12 34 56 78`). The number field is read-only, and a number disappears only when the carrier de-provisions it.

## What it does

The handling strategy switches between six routing modes. Changing the mode reshapes the form below.

| Mode | What it does | When to use |
|---|---|---|
| **Default** | Match the dialled digits to an extension and run its call flow. Run a fallback flow if no match. | A number that covers a block of direct-dial extensions. |
| **Rewrite** | Strip a prefix from the incoming digits, optionally add a different one, then run Default-style matching. | Carrier delivers numbers in a format that does not match your extension scheme. |
| **Call Flow** | Send every inbound call straight to a chosen call flow. | Single-purpose numbers: support hotline, sales line, emergency line. **Most numbers should be on this mode.** |
| **Extension** | Inbound calls go directly to one specific extension. | A personal direct-dial line for one person. |
| **User** | Inbound calls go directly to one specific user and all their devices. | Same as Extension but keyed to the user. |
| **SIP Device** | Inbound calls go directly to one specific SIP device. | Lobby phones, conference rooms - the device matters more than who is at it. |

The form labels this field **Incoming call routing**. When in doubt, pick **Call Flow** and write the logic in the flow. Extension, User, and SIP Device are convenient shortcuts but lose flexibility - no schedule, no IVR, no fallback.

![A phone number set to Call flow routing, with the routing selector highlighted](phone_numbers-images/handling-strategy.png)

| Outline | Field | What it does |
|---|---|---|
| <span style="color:#af52de">Purple</span> | Incoming call routing | Picks the mode. The fields beside it change with the mode chosen. |

> [!WARNING]
> Switching the mode does not preserve settings from the previous mode. Going Default to Call Flow and back loses the earlier selections.

The **Assignations** tab is the permission list for outbound caller ID. Users, groups (members inherit), and SIP devices listed here may present this number when dialling out. This controls outbound presentation only - it does not make the number ring for anyone.

## How to point an inbound number at a team

1. Build the destination first: the [queue](queues.md) or [group](groups.md) that answers, and a [call flow](call_flows.md) that reaches it. A number pointed at nothing leaves inbound callers nowhere to land.
2. Open the number. The number itself is read-only, provisioned by your carrier.
3. Set the handling strategy to **Call Flow** and pick the flow. Extension, User, and SIP Device are shortcuts that give up schedules, IVRs, and fallbacks, so prefer Call Flow for anything a team answers.
4. Decide the mode before you save and move on. Switching modes does not carry settings over, so a round trip through another mode loses what you picked.
5. Test with a real inbound call.
6. Only if people also need to *present* this number when dialling out, add them on the **Assignations** tab. That tab is outbound presentation only and never makes the number ring for anybody, which is the usual reason a number "is not reaching" a team that was added there and nowhere else.

## See also

- [Call flows](call_flows.md) - what the handling-strategy pickers actually point at.
- [Extensions](extensions.md) - the internal targets reached by Default-mode extension matching.
- [SIP carriers](sip_carriers.md) - the routes that deliver and dispatch calls.
- [Account verification](account_verification.md) - the documents a number order needs, and reusing ones you already provided.

```yaml fields
is_active:
  label: Active
  tab: General
  hint: 'Off makes the PBX ignore this number. Useful before a port completes.'
number:
  label: Number
  tab: General
  hint: 'Set by the carrier. Read-only.'
name:
  label: Name
  tab: General
  hint: 'Shown in lists and pickers.'
language:
  label: Language
  tab: General
  hint: 'Language of the announcements for calls to this number, from Configuration > Attributes > Languages. Auto uses the inherited one.'
defaultCarrier:
  label: 'Default SIP carrier'
  tab: General
  hint: 'Carrier for outgoing calls that show this number.'
fallbackCarrier:
  label: 'Fallback SIP carrier'
  tab: General
  hint: 'Used when the default carrier is down. Must differ from it.'
handling_strategy.type:
  label: 'Incoming call routing'
  tab: General
  hint: 'How incoming calls to this number are routed. Each option shows its own fields.'
handling_strategy.default_callflow_id:
  label: 'Call flow'
  tab: General
  hint: 'Used when the dialed digits match an extension.'
handling_strategy.no_ext_match_callflow_id:
  label: 'Fallback call flow when no extension is found'
  tab: General
  hint: 'Used when the dialed digits match no extension.'
handling_strategy.prefix_to_remove:
  label: 'Prefix to remove'
  tab: General
  hint: 'Leading digits removed before matching an extension.'
handling_strategy.prefix_to_add:
  label: 'Prefix to add'
  tab: General
  hint: 'Digits added after the prefix is removed, before matching.'
handling_strategy.call_flow_id:
  label: 'Call flow'
  tab: General
  hint: 'Every call goes to this call flow, skipping extension matching.'
handling_strategy.extension_id:
  label: Extension
  tab: General
  hint: 'Every call goes straight to this extension.'
handling_strategy.user_id:
  label: User
  tab: General
  hint: 'Every call goes straight to this user.'
handling_strategy.sip_device_id:
  label: 'Phone / SIP device'
  tab: General
  hint: 'Every call goes straight to this device.'
userAssignations:
  label: Users
  tab: 'Outgoing phone number'
  hint: 'Users who may show this number on their outgoing calls.'
groupAssignations:
  label: Groups
  tab: 'Outgoing phone number'
  hint: 'Groups whose members may show this number on outgoing calls.'
sipDeviceAssignations:
  label: 'Phones / SIP devices'
  tab: 'Outgoing phone number'
  hint: 'Devices that may show this number on outgoing calls.'
```
