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 _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
