Hi, I am trying to setup some LCR functions on my Asterisk box and have a cheap call provider that uses various different numbers for landlines and cell phone numbers in various countrys.. I am finding it difficult to find the various codes.. eg. UK Landline - +44[12]. UK Cell - +44[7]. SA Landline - +27[1-6]. SA Cell - +27[78]. Please send me your country's dialing rules similar to how I have represented them in the example and when I have a listing I will be happy to post it for everyone.. Specific countries I need urgently are US, Canada, France and Germany.. Thanks.. -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze
> I am trying to setup some LCR functions on my Asterisk box and have acheap call provider that uses various different numbers for landlines and cell phone numbers in various countrys..> > I am finding it difficult to find the various codes.. > > eg. > UK Landline - +44[12]. > UK Cell - +44[7].You have to be careful to be sure exactly what you are trying to obtain, the UK for example is: 441,442 - Geographic numbering 443,444 - not in use 44500 - Freephone 445<other> - 'multimedia/corporate' numbering, not much in use. 446 - not in use 4470 - UK personal 'follow me' numbering 4476 - UK Paging 4477/78/79 - UK Mobile 44800,44808 - Freephone 448 - Other, general non-geographic numbering, often used for company main numbering, eg. 0870 449 - UK Premium rate However, this doesnt necessarily tie in with what your carrier(s) will be charging or routing on.
In the USA and Canada there are no specific area codes for cell .vs. landline. In the USA most places have have flat rate calling so the caller doesn't really care if they are calling a landline or a cell phone. There are cellphone prefixes in each area code, but I'm not aware that anyone uses them for LCR. (USA "area code" is sort of like an EU "city code") On Tue, 2003-09-23 at 10:32, WipeOut . wrote:> Hi, > > I am trying to setup some LCR functions on my Asterisk box and have a cheap call provider that uses various different numbers for landlines and cell phone numbers in various countrys.. > > I am finding it difficult to find the various codes.. > > eg. > UK Landline - +44[12]. > UK Cell - +44[7]. > > SA Landline - +27[1-6]. > SA Cell - +27[78]. > > Please send me your country's dialing rules similar to how I have represented them in the example and when I have a listing I will be happy to post it for everyone.. > > Specific countries I need urgently are US, Canada, France and Germany.. > > Thanks..-- Sample configs and more: http://www.fnords.org/~eric/asterisk/ BTEL Consulting +1-850-484-4535 x2111 (Pensacola) +1-504-595-3916 x2111 (New Orleans) +1-877-677-9643 x2111 (Toll Free) -------------- next part -------------- A non-text attachment was scrubbed... Name: sanitizer.log Type: text/sanitizer-log Size: 502 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20030923/80d26c2a/sanitizer.bin
Ernest W. Lessenger
2003-Sep-23 10:14 UTC
[Asterisk-Users] dialing codes..( You can help! )
At 08:32 AM 9/23/2003, you wrote:>I am trying to setup some LCR functions on my Asterisk box and have a >cheap call provider that uses various different numbers for landlines and >cell phone numbers in various countrys..First off, you need to know that these codes are proprietary, not standardized, but there is a de-facto standard set. That said, the numbers you've given so far match the country codes provided to me by NuFone. If Jeremy is willing he can provide them for you. Along those lines, I've created a PERL script that adds a cost-for-call to the standard asterisk CDRs. I am interested in whether anyone has come up with a better solution. If you want the script, drop me a note. --Ernest
> Please send me your country's dialing rules similar to how > I have represented them in the example and when I have a > listing I will be happy to post it for everyone..I was thinking about this a while back. Wouldn't it be nice to have all this stuff online, in one consolidated place, kept up to date? I'm dreaming, I know, but why wouldn't it be possible? Telcos seem to have some information, they can tell you that +1604 is Vancouver BC and +441xx is "UNITED KINGDOM", but why not have all the information available to everyone, so we know that +441256 is "Basingstoke, UK" for example? Mammoth task? Or not really? I guess a lot is available online.. I know the North American area code assignment is available from NANPA and the UK one from Oftel. What about other countries?> Specific countries I need urgently are US, Canada, France > and Germany..I can tell you that in the US and Canada there is no distinction between geographic landlines and mobile phone numbers. For example, +1 604 257 xxxx are landlines, and +1 604 339 xxxx are mobiles. Locally these are all dialed as 10 digit numbers and are free calls - called party pays in North America, as opposed to calling party pays in the rest of the world. I'd be up for setting up some kind of website/database thing for collating all this information, just not sure of the value and if anyone else would be up for it/contributing data? Be cool to have though, and nice for customer bill presentation etc? Paul
here is one phone company listing some of the codes... i hope this will help you... www.onetel.co.uk senad -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of WipeOut . Sent: 23 September 2003 16:32 To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] dialing codes..( You can help! ) Hi, I am trying to setup some LCR functions on my Asterisk box and have a cheap call provider that uses various different numbers for landlines and cell phone numbers in various countrys.. I am finding it difficult to find the various codes.. eg. UK Landline - +44[12]. UK Cell - +44[7]. SA Landline - +27[1-6]. SA Cell - +27[78]. Please send me your country's dialing rules similar to how I have represented them in the example and when I have a listing I will be happy to post it for everyone.. Specific countries I need urgently are US, Canada, France and Germany.. Thanks.. -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
Yes, as Linus points out, each country has its own dialing scheme (with a lot of inconsistencies), and each wholesale provider has its own billing structure. Usually the way this is done is to ask your wholesale provider to give you their rates in digital form, like on a spreadhseet or something. You can then use this as the basis for your charge structure. Most of the bigger wholesalers offer special rates to geographic zones (like big cities) within larger countries - further complicating your price structure. You can, of course, simplify this in your billing, but you have to watch out for things like premium numbers etc. Regards Scott Scott M. Stingel Emerging Voice Technology Inc. Email: scott@evtmedia.com <mailto:scott@evtmedia.com> URL: www.evtmedia.com <http://www.evtmedia.com>> -----Original Message----- > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of WipeOut . > Sent: Tuesday, September 23, 2003 4:32 PM > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] dialing codes..( You can help! ) > > > Hi, > > I am trying to setup some LCR functions on my Asterisk box > and have a cheap call provider that uses various different > numbers for landlines and cell phone numbers in various countrys.. > > I am finding it difficult to find the various codes.. > > eg. > UK Landline - +44[12]. > UK Cell - +44[7]. > > SA Landline - +27[1-6]. > SA Cell - +27[78]. > > Please send me your country's dialing rules similar to how I > have represented them in the example and when I have a > listing I will be happy to post it for everyone.. > > Specific countries I need urgently are US, Canada, France and > Germany.. > > Thanks.. > > > -- > ______________________________________________ > http://www.linuxmail.org/ > Now with e-mail forwarding for only US$5.95/yr > > Powered by Outblaze > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > >
here is one phone company listing some of the codes... i hope this will help you... www.onetel.co.uk senad
While not foolproof, you may be able to figure out most of the Canadian Land vs. Mobile through the following as LNP between LEC's & WSP's isn't an issue yet. (Other than the potential unique case of Microcell, but for the most part you can assume wireless.) http://www.cnac.ca/NPANXX.zip WSP's: Rogers AT&T Wireless Microcell [ILEC] Mobility/Mobilite There may a couple small independents, but I can't remember off the top of my head. Regards, Tom ----- Original Message ----- From: "WipeOut ." <wipeout@linuxmail.org> To: <asterisk-users@lists.digium.com> Sent: Tuesday, September 23, 2003 11:32 AM Subject: [Asterisk-Users] dialing codes..( You can help! )> Hi, > > I am trying to setup some LCR functions on my Asterisk box and have acheap call provider that uses various different numbers for landlines and cell phone numbers in various countrys..> > I am finding it difficult to find the various codes.. > > eg. > UK Landline - +44[12]. > UK Cell - +44[7]. > > SA Landline - +27[1-6]. > SA Cell - +27[78]. > > Please send me your country's dialing rules similar to how I haverepresented them in the example and when I have a listing I will be happy to post it for everyone..> > Specific countries I need urgently are US, Canada, France and Germany.. > > Thanks.. > > > -- > ______________________________________________ > http://www.linuxmail.org/ > Now with e-mail forwarding for only US$5.95/yr > > Powered by Outblaze > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
It looks like its going to be a bigger job than I thought it would be.. I guess I will have to start with the countries that we use the most and then add the others as I find the details.. Thanks for all the input..> > I'd be up for setting up some kind of website/database thing for collating > > all this information, just not sure of the value and if anyone else would > be > > up for it/contributing data? Be cool to have though, and nice for customer > > bill presentation etc? > > Try www.numberingplans.com or www.numberplan.org - they are both commerical > but have some information for free. Also you can look at > http://www.wtng.info/ a free site, and the ITU site at > http://www.itu.int/ITU-T/inr/nnp/index.html > > .... its all there if you know where to look! > > Linus > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users-- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze