Rules

Rules automatically set up your new DID numbers. They work together with Configuration Profiles to assign the correct voice trunk, SMS trunk, capacity group, or description as soon as a number is purchased.

Each rule defines where it should apply, for example, by country, number type, region, or city. When a new number is added to your account, the system checks the rules and automatically applies the configuration profile that best matches the conditions.

Note

Rules only apply to newly purchased numbers and do not change the settings of numbers that already exist in your account.

Create New Rule

Create a new rule to automatically apply configuration profiles to new DIDs.

Create New Rule
Edit Rule

Update rule conditions or change the assigned configuration profile.

Edit Rule
Delete Rule

Delete a rule that’s no longer needed.

Delete Rule


Rule Priority and Profile Assignment Logic

This flow shows how configuration rules are applied to new numbers. When a number is purchased and added to your account, the system checks the rules in order of priority, starting with the most specific (city) and moving to broader levels (region, number type, and country) to ensure the best matching rule is applied.

Porting Request Flow


Create New Rule

Create a new rule by entering the required details, selecting a configuration profile, and defining the conditions where the rule should apply.


Before You Begin

At least one Configuration Profile is required.


Step 1: Create a Rule

  1. In the DIDWW User Panel, go to Phone Numbers > Configuration Profiles.

  2. Open the Rules tab.

  3. Click the Create Rule to open the rule creation form.

The main Rules page with the Create Rule button highlighted.

Fig. 1. The main Rules page

Step 2: Define the Conditions the Rule Applies To

The Create Rule page will open, where you need to select a configuration profile and define the conditions for when it should be applied.

Note

You can leave the Country, Number Type, Region, or City fields empty. When left blank, the rule will apply to all countries, number types, regions, and cities.

Field

Description

Name

A friendly name to help you identify this rule.

Profile

The configuration profile to apply when the conditions are met.

Countries

The country or countries this rule will apply to.

Number Types

The type of number (e.g., Local, Mobile, National) to apply the rule to.

Regions

The specific regions within a country.

Note

Applying the rule to Regions is only available when a single Number Type and a single Country is selected.

Cities

The specific cities within a region.

Note

Applying the rule to Cities is only available when a single Region is selected.

The Create Rule form with all fields configured.

Fig. 2. Configuring a new rule



Edit Rule

  1. In the DIDWW User Panel, go to Phone Numbers > Configuration Profiles

  2. Select the Rules tab.

  3. Find the rule you wish to update and click the actions Actions button button on the right.

  4. Select Edit from the dropdown menu.

  5. Make your changes and click Submit to apply them.

The Edit button in the actions menu for a rule.

Fig. 3 Editing an existing rule



Delete Rule

  1. In the DIDWW User Panel, go to Phone Numbers > Configuration Profiles

  2. Select the Rules tab.

  3. Find the rule you wish to remove and click the actions Actions button button on the right.

  4. Select Delete from the dropdown menu.

  5. A confirmation pop-up will appear. Click Delete to permanently remove the rule.

The Delete button in the actions menu for a rule.

Fig. 4 Deleting a rule