[Asterisk-Users] country/city codes

Martijn van Oosterhout martijn at ecomtel.com.au
Thu Mar 3 07:55:23 MST 2005


On Thu, Mar 03, 2005 at 06:25:09AM -0800, VoIP Services wrote:
> Some country codes are three digits long.  Some are two.
> e.g. UK 44 , Bermuda 441
> Does anyone know a formula for determining which part of a dialled number is the country code and city code ?
> 

There is no formula, you need to make a list. There are lists around
the place, telling you what each prefix means. It also changes over
time, as countries change their numbering to deal with growth of
population and services.

http://www.wtng.info has a lot of useful information...

Hope this helps,
-- 
Martijn van Oosterhout
Ecomtel Pty Ltd



More information about the asterisk-users mailing list