trixter http://www.0xdecafbad.com
2005-Oct-10 22:12 UTC
[Asterisk-Users] country code list
I was wondering if anyone has put together a comprehensive list (that is reasonably maintained) that lists country codes, landline numbers, mobile numbers, etc. The particular requirement is for a dialplan to know what is going to be charged to whom. For example, mobile and landline rates are the same in the US the US has a unified numbering plan of 1NXXNXXXXXX, while the UK has: 441xxx geographic based landline 442xxx geographic based landline 443xx reserved 444xx reserved 445xx corp and voip 446xx reserved 447xx pagers, personal etc 448xx national rate, local rate, freephone, some mobile, blah 449xx premium services Although I dont see something that states what a valid number actually is. So idealy to avoid getting charged a higher rate I would want to limit all calls to the UK to region codes starting with a 1 or 2 (although from what I have seen most of the 2x is 20 for london). I have found http://en.wikipedia.org/wiki/Area_code but I dont know if its accurate, and would prefer a more authoritative source for the information. I also dont know how out of date that is, some countries have easier telecom laws that allow people to set up phone companies then change the rate form what was published for termination. I certainly dont wanna get stuck with a pass through billing situation on those. If anyone has a very well maintained list somewhere (voip-info didnt seem to have anything, at least not the keywords I have tried with google, admittedly I havent spent much time yet) ... This has to be an issue that voip resellers have to deal with so there must be lists somewhere, although odds are those are rate sheets from the actual provider doing the termination since very few countries own the wire all the way to all those foreign countries, although more are starting to. -- Trixter http://www.0xdecafbad.com Bret McDanel UK +44 870 340 4605 Germany +49 801 777 555 3402 US +1 360 207 0479 or +1 516 687 5200 FreeWorldDialup: 635378 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051011/df58eacc/attachment.pgp
> 441xxx geographic based landline > 442xxx geographic based landline > 443xx reserved > 444xx reserved > 445xx corp and voip > 446xx reserved > 447xx pagers, personal etc > 448xx national rate, local rate, freephone, some mobile, blah > 449xx premium servicesFor the UK, your most accurate source of info is probably the first few pages of the BT Phone Book (delivered free to all UK homes/businesses). There's quite a comprehensive list of what each number range is for, how it breaks down, etc. I did find a list somewhere of the useful special services (1xxx.) such as BT customer services, line tests, etc. that I can copy from one of our clients' dialplans if it'd be any help? Regards, Chris -- C.M. Bagnall, Director, Minotaur I.T. Limited This email is made from 100% recycled electrons
On Mon, Oct 10, 2005 at 10:12:58PM -0700, trixter http://www.0xdecafbad.com wrote:> I was wondering if anyone has put together a comprehensive list (that is > reasonably maintained) that lists country codes, landline numbers, > mobile numbers, etc. The particular requirement is for a dialplan to > know what is going to be charged to whom. > For example, mobile and landline rates are the same in the US the US has > a unified numbering plan of 1NXXNXXXXXX, while the UK has: > 441xxx geographic based landline > 442xxx geographic based landline > 443xx reservedActually 443 is now a new geographic range> 444xx reserved > 445xx corp and voip > 446xx reserved > 447xx pagers, personal etc447 is mobile, personal, some pagers etc.> 448xx national rate, local rate, freephone, some mobile, blah44800 is freephone there is an on-going discussion whether 4487 numbers (or at least some) should go into premium rate.> 449xx premium services > > Although I dont see something that states what a valid number actually > is. So idealy to avoid getting charged a higher rate I would want to > limit all calls to the UK to region codes starting with a 1 or 2 > (although from what I have seen most of the 2x is 20 for london).There are other areas too covered by 2. Also you have to know who's terminating it. You can make an assumption re BT termination, but directly connected businesses may use another telco with different termination rates etc. A lot of UK telco's have difficulty pricing UK termination because of this (or risk taking a hit if they get it wrong). Steve -- NetTek Ltd Fax +44-(0)20 7483 2455 Skype / In stevekennedyuk / UK +442088167166 / US +13106518226 Vonage UK +442079932612 / US +13108577715 / UK mob 07775 755503 Personal Blog http://stevekennedy.blogspot.com Euro Tech News Blog http://eurotechnews.blogspot.com
trixter http://www.0xdecafbad.com
2005-Oct-11 14:06 UTC
[Asterisk-Users] country code list
On Tue, 2005-10-11 at 19:54 +0100, Bob Goddard wrote:> On Tuesday 11 Oct 2005 12:19, trixter http://www.0xdecafbad.com wrote: > [...] > > It started with the UK as an *example* and everyone seems to have > > latched onto that. I wanted to know more than the UK, I wanted every > > country. astbill seems to have that data, I seem to have located all > > the little bits that I need from that data, so this is progressing > > along, from my perspective anyway. > [...] > > Try http://global.mci.com/uk/customer/. Look at the box in the bottom > right hand corner. It may give you a bit more info.Thank you this is what I wanted all along. Yes they do have more of a breakdown, at least with mexico. I am unsure if I will use anything from astbill, not becuase the data is inherently bad but because I may change the way I do this ... I am thinking parse a CSV and create the dialplan out of that, that way its easier to regenerate in the future. Comments, spacing and everything my dialplan from astbill.com was 1700 lines or so, the MCI file is about 4300 lines, so there was definately stuff missing (whether that is astcill or my that was missing from what was there I dont know). I should have something all new and better soon for people that wanted to create better dialplans. And to think this whole thing started out personally because I wanted the ability to create a good dialplan for voipbuster.com and some friends wanted me to think over billing solutions (not for a real product, a friend is mentoring a high school student in independant study on voip). Thanks a lot for this :D -- Trixter http://www.0xdecafbad.com Bret McDanel UK +44 870 340 4605 Germany +49 801 777 555 3402 US +1 360 207 0479 or +1 516 687 5200 FreeWorldDialup: 635378 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051011/534343f8/attachment.pgp