This is a list of country calling codes, also known as international direct dialing (IDD) codes, which are needed to access international telephone services. The numbers are assigned by the International Telecommunication Union in standard E.164.
The numbers are a prefix code so that no number has an initial segment that is an existing shorter number. This code is used to dial into the country specified; each country also has an international call prefix used to dial out of the country.
Some countries (for example, Germany and the United Kingdom) require the caller to omit the leading "0" of the national area code when used internationally. This is because the leading zero is an indicator that a national prefix follows, rather than simply a local number. This is similar to the use of a trunk code in countries such as the United States, which uses a leading "1" to indicate that a national area code follows, except that the trunk code has been absorbed into the area code, for presentational reasons. For international dialing, the national prefix is always used, and so the trunk code is not needed. For example, to call the subscriber in Germany with the national telephone number 089 123456, somebody outside of Germany would have to dial +49 89 123456, where the + stands for the international call prefix. However, this does not apply to all countries (e.g. Italy).
The countrycallingcode, or sometimes called the national prefix, is used to dial from one country to another.
If you are calling from another country, the National Direct Dialing does not need to be used after dialing the countrycode.
The countrycode for all NANP countries is 1; the numbers that follow are used as area codes in the U.S. and Canada and function similarly in other NANP areas.
This code is used to dial into the country specified; each country also has an international call prefix used to dial out of the country.
Some countries (for example, Germany and the United Kingdom) require the caller to omit the leading "0" of the national area code when used internationally.
This is similar to the use of a trunk code in countries such as the United States, which uses a leading "1" to indicate that a national area code follows, except that the trunk code has been absorbed into the area code, for presentational reasons.