Tech

Country Code

Published on:

December 3, 2013

In the latest version of the PBX, a warning sign has been added to the general settings page for domains to help manage international number formats. The system handles two primary number formats: the NANPA region (USA and Canada), with its predictable 10-digit format, and the rest of the world, where numbers can start with a country code, area code, or local number. To ensure proper routing, users can enter numbers starting with a plus sign (+), indicating a global format. It's crucial the PBX knows the country code to route calls accurately. The update also highlights the issue with the outdated practice of dialing a “9” to seize a line, which is no longer necessary in today’s digital and multi-trunk environments.

In the latest version we have added a warning sign on the general settings page for the domain. This is for a reason. Telling the PBX how to interpret numbers makes it a lot easier to deal with the various ways to represent numbers in different parts of the world.

Essentially there are two areas. The so-called NANPA region is essentially USA and Canada - NANPA stands for North American Number Plan Association. The organization deals with the distribution of the 10-digit number block allocated for the area, which has the international dial code “1”. Usually numbers have exactly 10 digits, and they are commonly written in xxx-xxx-xxxx or (xxx) xxx-xxxx notation. In the old days, when most calls were local, people could call just the 7 last digits and leave out the area code (this is why the area code was written in brackets). Today, however, practically all calls include the area code. There are some numbers, like 911, 411 or 555-xxxx, which are an exception to the 10-digit rule. Because the number length in the NANPA region is predictable, it's possible to provision phones with a phone dial plan that automatically starts dialing when the number is complete. In this case users have to start dialing with a “1” when they want to call a 10-digit number.

The rest of the world is using numbers where the PBX isn't able to predict the length of the numbers are. In these areas, the challenge is to guess how the number begins - depending on the context, numbers may start with the country code, with the area code or just the local number. If the PBX has the country code and the area code, it can automatically convert numbers into the globally routable number. For example, if the call comes in on trunk A through a local PSTN gateway, it will be able to call that number back through another trunk B.

To discern if a number is in a global format, the number must start with a plus sign. Users may even enter numbers starting with a plus sign to tell the PBX where to send the call, no matter what the country code is. This has also become a common feature of many cell phones, especially in countries where a lot of international calls are made. If users are entering numbers in the PBX that start with a plus sign, the PBX will happily accept it. Otherwise, it's important the PBX knows which country the number is in. That’s why we encourage everybody to check what country code has been set on the domain.

In the light of this discussion it becomes clear why putting a “9” in front of every number is a bad idea. In the old days, when PBX were connected through analog lines (one cable for every possible phone call), this number was used to grab one of those lines and get the dial tone. In today’s digital world, however, and with modern requirements, such seizing of lines isn't necessary and, looking at multiple trunks in a domain, even impossible. For example, when users dial 911 to call emergency services, it seems ridiculous that they have to dial 9, wait for a dial tone, and then dial 911. Most users have cell phones today, so they can first enter and edit the number and then press the send button to start the call. There is no reason why they shouldn't do the same thing on a VoIP phone.

Latest Articles

View All

Why Browser Calling is the Future of Business Communication

Vodia’s browser calling solution allows businesses to make and receive VoIP calls directly from any web browser, eliminating the need for apps or desk phones. It offers convenience, cost savings, and a wide range of features including chat, voicemail, call transfers, conference calls, video calls, and CRM integration. The system is secure, operating entirely within the browser to reduce exposure to malware, and scalable to support remote and hybrid work environments. With easy setup through the Vodia PBX web interface, organizations can streamline communication, improve productivity, and provide employees with a flexible, reliable, and fully integrated business communication experience.

August 13, 2025

Building Intelligent Voice Response Systems with Vodia's JavaScript IVR

JavaScript IVR transforms the way businesses handle incoming calls by enabling fully customizable, intelligent phone menu systems. Unlike static IVR setups with limited, pre-defined options, JavaScript IVR allows you to create dynamic call flows that adapt in real time based on caller input, business data, or even external API integrations. This means you can route calls more efficiently, automate complex processes, and offer highly personalized experiences to your customers. Whether you want to check customer records before transferring a call, adjust menu options based on time of day, or integrate with CRM systems for instant data access, JavaScript IVR gives you the flexibility and control to make it happen - all while improving efficiency and enhancing caller satisfaction.

August 11, 2025

Get The Support You Need Easily Through The Vodia Help Center On Jira

Vodia support is now easier to access through the Vodia Help Center on Jira, giving partners and customers a centralized platform to submit technical support tickets, ask sales or licensing questions, and suggest new features. With a valid license key, users can open detailed requests and track their status in one place. The portal also brings together Vodia documentation, the PBX API, and the Vodia forum, making it the go-to resource for everything Vodia. Whether you're troubleshooting, planning an upgrade, or just need guidance, the Help Center is designed to streamline your experience and connect you with the right support faster.

August 7, 2025