On Thu, Mar 03, 2005 at 11:38:12AM -0500, Gary Reuter wrote: > Aren't country codes 1 or 2 digits? Area codes are 3 digits: > 44 is a country code, 441 is an area code... the country code for > Bermuda is '1', same as Canada, US, and most of the Carribean nations. > > Check this out for the solution you need: > http://lists.digium.com/pipermail/asterisk-dev/2004-May/004151.html
Country codes are between one and three digits. Anything with the country code +1 is part of the NANP (North American Numbering Plan) and has three digits area codes. Australia has one digits area codes, Holland has two digits. Every country decides for itself. Many countries had varying length area codes but these are slowly being standardized. Browse http://www.wtng.info/wtng-cod.html if you want the grizzly details. > On Thu, 3 Mar 2005 06:25:09 -0800, VoIP Services <[EMAIL PROTECTED]> 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 ? -- Martijn van Oosterhout Ecomtel Pty Ltd _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users