If you want an idea of what the setup looks like in NANPA land, enjoy this convenient spreadsheet:
http://www.nanpa.com/nanp1/allutlzd.zip Notice that there is no discernable pattern to the number space allocated to a particular flavour of carrier. And do beware that these are 10,000 code blocks only; in pooled areas (most metropolitan areas, and an increasingly large number of areas) these get split up into 1,000-code blocks and the information from that comes from National Pooling/Neustar (www.nationalpooling.com). Consequently, routing or analysing anything by 10,000 blocks is becoming an increasingly useless practise. Oh, and don't forget the byzantine properties of portability here. Alex Balashov wrote: > One of the problems you'll run into is that in larger countries like the > US, and/or countries with greater amounts of telecom interconnection, > competition and deregulation, this information cannot be reduced simply > to a convenient algorithm. > > The North American Numbering Plan (www.nanpa.com) does provide some > basic standards for valid numbers, but aside from that, there exists no > special numerological distinction between incumbent and competitive, > fixed-line and mobile, or VoIP, and extensive number portability throws > even more complexity into the mix. > > I'm not saying it can't be done - just be aware that the undertaking > you're proposing is very complicated, and the information would come > from innumerable data sources (a great deal of them commercial and > expensive) and a bewilderingly overlapping array of standards bodies. > > For instance, something like this: > >> NZ Cellular: >> area code 21 and 29 followed by 6, 7 or 8 digits - Vodafone GSM >> area code 27 followed by 6 or 7 digits - NZ Telecom CDMA >> note that there is number portability so the above is a guide. > > ... sounds like a laughably, impossibly simplistic formula to a North > American reader. And I can't imagine the situation in many other > countries is much simpler. > > -- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (706) 338-8599 _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
