Current Location :Home > About Us > News Center > BLOG > Number Normalisation and Dialling Plan Consistency

Number Normalisation and Dialling Plan Consistency

Nov 27Source:RedstoneIntelligent Browse: 3
Background

Number Normalisation and Dialling Plan Consistency

A number is not data, it is a string that means different things in different systems. The PBX stores a national format, the CRM stores the same subscriber with a leading plus, and the gateway expects neither because the carrier requires a specific prefix. Each system considers itself correct. The result is a calling line that is rejected by the destination, a callback that reaches the wrong country, or a report that cannot join two records about the same person.

Choose One Canonical Format

E.164 is the practical canonical format because it represents a number unambiguously with a leading plus and a country code. Storing one canonical form and translating at the edges is far more reliable than trying to make every system agree on a local format. The translation happens on the way in and on the way out, so each system sees the form it expects while the stored record stays consistent.

The alternative, keeping several formats and converting when needed, fails in a predictable way. Each conversion is written by somebody with a local assumption, and the assumptions conflict at the boundary between two sites. Over time nobody can say which field is authoritative, and a change to one conversion rule silently breaks a report or a route elsewhere.

RepresentationExample shapeWhere it is usually seen
E.164Plus, country code, national numberCanonical storage and SIP identity
National formatTrunk prefix and area codeUser dialling and local displays
International formatInternational prefix, country codeCarrier-facing dial strings
Short extensionSite-specific digitsInternal dial plans
Regional formatLocal digits without area codeLegacy systems and paper records
Display formatSpaces, brackets, separatorsCRM records and directories

Where Inconsistency Causes Real Failures

The most visible failure is a rejected calling line. A destination carrier checks the calling number against the called number and the expected numbering plan. If the platform sends a national format where an international one is required, the call may be dropped or presented as unknown. The caller sees a failed call, and the engineer looks at the route, because the route itself is fine.

The less visible failure is in data. A CRM record and a call detail record that use different formats cannot be joined reliably, so a customer's call history appears incomplete. Reporting on callers by region becomes wrong because country codes are missing from one source. These errors are quiet, which is why they persist far longer than an obvious call failure.

Inbound and Outbound Are Separate Rules

Inbound normalisation converts whatever arrives from the carrier into the canonical form. Outbound normalisation converts the canonical form into what the carrier expects. These rules are not mirror images: a carrier may send a number with a trunk prefix that must be stripped, while accepting outbound numbers only with a different prefix. Writing one shared rule for both directions is a common mistake.

  • Store one canonical number and translate only at system boundaries
  • Write inbound and outbound rules separately, even when they look similar
  • Strip display characters before any numeric comparison
  • Treat short extensions as a separate namespace, not as truncated numbers
  • Validate the country code before applying a national dial rule
  • Test calling line presentation against the carrier's required format

Rules, Regex, and Readability

Regular expressions are powerful and easy to get wrong. A rule that matches any eleven-digit string will also match numbers it was not intended to touch, and a pattern that assumes a fixed country code length will fail as soon as it meets a different one. The maintainable approach is a small number of ordered rules with explicit conditions rather than a single expression that tries to handle every case.

Rule order matters because the first match usually wins. A broad rule placed above a specific one will swallow the specific case, and the symptom appears only for a small set of numbers. Documentation should state the order and give an example for each rule, including the cases the rule deliberately does not match. A rule set without examples is difficult to review and almost impossible to hand over.

Rule designFragile patternMore robust pattern
Length checksOne fixed length for all numbersLength ranges per country or type
Prefix handlingStrip the first digit universallyStrip only a defined trunk prefix
Country codesAssume a fixed country code lengthLook up the code from a table
Display charactersAssume digits onlyRemove spaces and separators first
Rule orderBroad rule firstSpecific rules before catch-all rules
TestingOne successful callA table of input and expected output

Multi-Site Dial Plan Consistency

In a multi-site estate, the short extension that works in one office may mean something else in another, and the dial plan defines when a digit string is an extension and when it is a public number. If sites evolve independently, a four-digit string in one plan becomes a five-digit string in another, and a call that used to be internal starts routing externally. The risk grows with every acquisition or new office.

Consistency does not mean identical plans. It means that the same principles apply everywhere: the same canonical format, the same rule order, the same handling of a leading plus, and a documented mapping between site prefixes and extensions. Where a local variation is necessary, it should be recorded as an exception with an owner rather than left as an undocumented difference.

Governance and Documentation

Dial plans are often treated as configuration rather than as a documented design, which is why they degrade. A workable governance model keeps a single source of truth for number formats, lists the translation rules in order with examples, and requires a change to be tested against a fixed set of numbers before it is applied. The test set should include the awkward cases: short numbers, numbers with a trunk prefix, international numbers, and numbers that look like extensions.

Ownership matters as much as documentation. A dial plan used by several teams needs one owner who approves changes, because an individual change that is correct for one site can break another. Periodic review should compare the documented plan with the running configuration, since emergency changes made during incidents tend to remain long after the incident is closed.

A Practical Review Cycle

A review that samples real calls is more useful than one that reads configuration. Take a set of recent successful and failed calls, apply the documented rules by hand, and compare the result with what the platform did. Where they differ, either the documentation is stale or the platform has a rule nobody recorded. Both findings are worth fixing before the next change.

  • Keep a single source of truth for number formats and prefixes
  • Test every rule change against a fixed set of awkward numbers
  • Give one owner authority to approve dial plan changes
  • Record local variations as exceptions with an owner
  • Compare documented rules with running configuration on a fixed cycle
  • Sample real calls during review to find undocumented behaviour

Measuring Whether the Plan Still Works

A dial plan is working when calls reach the right destination and the calling line is presented in the format the destination expects. Both can be measured. A periodic sample of call detail records should be checked for calls that failed at the first route attempt, for calling numbers that were rejected, and for numbers that appear in more than one format. Those three checks catch most drift before it becomes a user-visible problem.

  • Sample call records for first-attempt routing failures
  • Track rejected calling lines by destination and format
  • Count how many formats appear for the same subscriber
  • Keep the rule set and its examples under version control
  • Review normalisation after any carrier or provider change
  • Reconcile documented rules with the running configuration

Redstone Approach

Redstone REX series IP-PBX platforms and RGW gateways provide number translation and dial rules that can be applied per route, per trunk, and per direction, so inbound and outbound normalisation are configured independently. Multi-site deployments can share a common numbering policy while keeping local extension maps, and call detail records capture the numbers used so that a rejected calling line or a broken translation can be traced to the rule responsible.

About Redstone

Redstone Systems, Inc. founded in Delaware, USA in December 2002, has been the ODM vendor for many well-known communications companies, serving the Southeast Asian market. In 2020, Redstone Systems will begin to return to the North America market with its self-developed brand.


Redstone has a complete product line of intelligent voice gateways, providing IP-PBXs, analog VoIP gateways (FXS/FXO), digital VoIP gateways (E1/T1), border appliances, and session boundary controllers (SBCs).


With advanced technology in digital signal processor (DSP), speech coding and speech processing, as well as efficient operational tools such as cloud remote management, auto provisioning, Redstone gateways are widely used in markets of enterprise communications, cloud communications, call centers, operators’ IMS/SIP trunks, bringing users friendly, efficient and reliable communication experience.


For more information about Redstone, You can follow us on Facebook, Linkedin, and Youtube to be the first to get the latest news.

Contact Us

Mobile Phonel

Email: globalmarketing@redstonesystems.com

Address: 12816 SE 75th Court, Newcastle WA 98059, USA

Contact Us
We will do our best to contact you as soon as possible. In the meantime, please contact us for more information.
  • First Name*

  • Last name*

  • Company Name*

  • Email*

  • Phone

  • Product*

  • Message

  • I have read and agreed Privacy Policy
Privacy_policy
×

Privacy Statement

Platform information submission - privacy agreement

● Privacy Policy

We are committed to protecting the privacy, personal data and personal data (collectively referred to as "personal data") provided by you when using this website. Make us comply with the highest standards in terms of collection, use, storage and transmission of personal data (laws and regulations related to privacy of personal data) and consumer protection. To ensure that you have full confidence in the handling of personal data on this website, you must carefully read and understand the provisions of the privacy policy. This website (hereinafter referred to as "us") respects and protects the privacy of users. In particular, once you use this website, you will be deemed to accept, agree, promise and confirm this privacy agreement; You disclose your personal data to us voluntarily with the required consent; You will abide by any modification of this privacy policy; You agree that our relevant business personnel will contact you regarding the products and services you may be interested in (unless you have indicated that you do not want to receive such messages). With your consent, we will collect, manage and monitor the types of personal data collected


1. Scope of application

It is our unremitting pursuit to provide users with better, better and more personalized services. We also hope that the services we provide will be more convenient for your needs. This privacy policy applies to all information collection services provided by this website. You can visit this website and use the services provided by this website using this privacy policy


2. What information do we collect

In order to provide you with our various services, you need to provide personal data information, including personal data and anonymous data, including but not limited to: personal data (your name, gender, age, date of birth, telephone number, fax number, address or mailing address, e-mail address, etc.)


3. How to use the collected information

The purposes and purposes of collecting personal data and anonymous data are as follows: to provide you with our services through this website; When you use our website, you can identify and confirm your identity; Let you get the service for you when you use this website; The relevant business personnel of this website can contact you when necessary; Make it more convenient for you to use this website; The personal data and anonymous data provided by you to us will only be retained until the collection purpose has been achieved, unless they are retained due to applicable laws and regulations. The ownership of personal data and disclosure of all data collected on our website are owned by us and will not be leased or sold to any unrelated third party

 

4. How do we protect information

For the protection of personal data, we implement appropriate physical, electronic and management measures to protect and guarantee the safety of your personal data. We try our best to ensure that any personal data collected through this website is free from any nuisance of a third party unrelated to us. The security measures we take are not limited to: physical measures: the records with your personal data will be stored in a locked place Electronic measures: the computer data with your personal data will be stored in the computer system and storage media subject to strict login restrictions Management measures: only employees authorized by us can access your personal data, These employees need to comply with our internal rules on the confidentiality of personal data. If you are aware of any security loopholes on this website, please contact us in time so that we can take appropriate actions as soon as possible; Despite the implementation of the above security measures, we cannot guarantee the absolute security of data transmission on the Internet, so we cannot absolutely guarantee that the personal data and anonymous data you provide to us through this website are safe at all times. We will not be responsible for any unauthorized access to your personal data, and we will not be responsible for any losses and damages incurred or caused in this regard.

 

5. Juvenile Protection Law

The minor has provided personal data to this website without the approval or consent of any parent or guardian. Please contact the public telephone number and customer service telephone number on this website in time to ensure that the data are removed

 

6. Revision and effectiveness of privacy policy

With the expansion of the service scope of this website, we may revise the Legal Statement and Privacy Policy from time to time, which forms a part of this Legal Statement and Privacy Policy. In order to prevent you from being informed of such revisions, please read this Legal Statement and Privacy Policy frequently. In any way, if you continue to use our services, you agree to be bound by the revised Legal Statement and Privacy Policy