Skip to content
Voxbi Cockpit APIs
API Guides

Phone numbers

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
A phone number set to Call flow routing, with the routing selector highlighted
Outline Field What it does
Purple Incoming call routing Picks the mode. The fields beside it change with the mode chosen.

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 or group that answers, and a call flow 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 - what the handling-strategy pickers actually point at.
  • Extensions - the internal targets reached by Default-mode extension matching.
  • SIP carriers - the routes that deliver and dispatch calls.
  • Account verification - the documents a number order needs, and reusing ones you already provided.

Form fields

Fields available in the create and edit forms.

General

Active

Off makes the PBX ignore this number. Useful before a port completes.

Number

Set by the carrier. Read-only.

Name

Shown in lists and pickers.

Language

Language of the announcements for calls to this number, from Configuration > Attributes > Languages. Auto uses the inherited one.

Default SIP carrier

Carrier for outgoing calls that show this number.

Fallback SIP carrier

Used when the default carrier is down. Must differ from it.

Incoming call routing

How incoming calls to this number are routed. Each option shows its own fields.

Call flow

Used when the dialed digits match an extension.

Fallback call flow when no extension is found

Used when the dialed digits match no extension.

Prefix to remove

Leading digits removed before matching an extension.

Prefix to add

Digits added after the prefix is removed, before matching.

Call flow

Every call goes to this call flow, skipping extension matching.

Extension

Every call goes straight to this extension.

User

Every call goes straight to this user.

Phone / SIP device

Every call goes straight to this device.

Outgoing phone number

Users

Users who may show this number on their outgoing calls.

Groups

Groups whose members may show this number on outgoing calls.

Phones / SIP devices

Devices that may show this number on outgoing calls.

Updated