Skip to content

Prefix Sets

Document Metadata
Category: Setup & Configuration → Advanced Settings → Prefix Set
Audience: Administrators, Engineers, Support Team
Difficulty: Intermediate
Time Required: 10–15 minutes
Prerequisites: ConnexCS account with access to the Setup → Advanced section
Related Topics: Dial-Plan Rules, Routing
Next Steps: Routing, Dial-Plan Rules

Setup Advanced Prefix Set

A Prefix Set groups containing one or more prefixes together. You can then apply this set to a Customer or Route.

Without the ability to use a Prefix Set, you need to manually configure each individual Customer or Route, increasing the possibility of human error.

With Prefix Sets, we avoid these errors and reduce configuration time as a whole.

ConnexCS supports plain text as well as regular expressions when building Prefix Sets for greater flexibility.

Configure Prefix Set

Step 1: Create Prefix Set

  1. Click .
  2. Name the set.
  3. Data includes the prefixes, one per line (plain-text or regular expressions).

    See Example Dial Strings for Prefix sets below.

  4. Use Flags (optional) to set up global deny lists.

    See Flags below.

  5. Click Save.

Step 2: Apply Prefix Set

You can apply Prefix Sets to the following locations under the Management menu:

  1. Customer Routing Ingress Routing Basic Dial String Prefix Set

  2. Routing Routing Global Basic Dial String Prefix Set

  3. Rate Card Customer Rate Cards Profits Config Prefix Set

  4. Customer Routing Ingress Routing Strategy Prefix Set

Flags

Use Flags to create a Global CLI Blacklist or a Global Dialled Number Blacklist (Aka Block List). This prevents all calls going through the system which match the defined prefix set.

Deny list or Do Not Call list

Use Flags for large numbers that change infrequently.

If you want to manage a DNC list, please review our Do Not Call (DNC) setup.

  • Global CLI Allow: When a CLI is blocked in the DID section—either due to Block Source Type rules or Spam Scout scoring— enabling this flag allows the CLI to bypass these restrictions and allows the CLIs to pass through the system.

Example Dial Strings for Prefix sets

Prefix Sets and all Dial String fields accept plain text or regular expressions. List only one prefix per line. Here are 3 samples using plain text, regex, or a mix:

Plain-Text

441
442

Regular Expression (RegEx)

^44(1|2)

Combination (UK Landline & Canada)

441
442
^1(204|226|236|249|250|289|306|343|403|416|418|438|450|506|514|519|579|581|587|604|613|647|705|709|778|780|807|819|867|902|905)