Is there a list somewhere or a way to find the following: 1- All non US 48 area codes which can be dialed as 1+10 2- All strange area codes which are used for premium services such as 900-XXX-XXXX 3- Anything else that should be restricted if one was to restrict all calls to US 48 only I have found many list but it's tough looking at the entire list of area codes and pulling out each of them one at a time. Thanks!
On Fri, 2006-06-02 at 18:37 -0500, voiplist wrote:> Is there a list somewhere or a way to find the following: > > 1- All non US 48 area codes which can be dialed as 1+10 > 2- All strange area codes which are used for premium services such as > 900-XXX-XXXX > 3- Anything else that should be restricted if one was to restrict all > calls to US 48 onlyThe best way is to restric everything then allow what you know to be good. If you try to take the approach of allowing everything except what is denied then you are in effect saying you know everything bad and can accurately restrict it. This often proves to be a bad decision. There is a listing at astbill.com that I started and presumably they have maintained since I basically abandoned it. It has US as well as other countries in there. I know for a fact that its not complete on the global numbers, but believe it to be reasonably complete for NANPA numbers (although some wireless providers are listed as geographic, but that shouldnt affect this application). NANPA assigns the numbers, you can goto them for the information (they have lists of all assigned codes, which carrier they are assigned to and what geographic region they are from). http://www.nanpa.com/reports/reports_cocodes_assign.html That list is all the assignments from NANPA. It would be your best bet since they are much more authoritative on this than my list. I would be wary of any codes that have XXXXX for their rate center, as those may be premium since they arent assigned to a specific rate center. They may be something else as well, however once a NPA-NXX is assigned to a rate center it cannot change rate centers, so if it isnt listed odds are its some special premium service number. As for premium numbers, yes 900 is a NPA used for premium but there are local ones, while typically 976-xxxx that isnt always the case and some numbers, are assigned to lcoal carriers and have no rate center listed and can be a pay per call service (such as some in NJ that now verizon owns). If your numbers are in LIDB that should prevent most if not all billing from occuring on those numbers, and the call to those numbers will be rejected. Your carrier should be able to insert your numbers into LIDB for you. The carrier may not know LIDB by name (or at least the sales drone you talk to) but they should be familiar with call blocking for pay per call services. hope this answers your question :) -- Trixter http://www.0xdecafbad.com Bret McDanel Belfast IE +44 28 9099 6461 DE +49 801 777 555 3402 Utrecht NL +31 306 553058 US WA +1 360 207 0479 US NY +1 516 687 5200 FreeWorldDialup: 635378 http://www.trxtel.com we pay you to terminate calls with us! -------------- 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/20060602/ead01ed6/attachment.pgp
Thanks for the reply, I was going in the direction you mentioned of denying all and allowing specific area codes etc.. I was really trying to cut down on the amount of data I had to mess with and store. I just thought I would hit the list with this since it seems many would have come across the same problem already. Thanks again! On 6/2/06, trixter aka Bret McDanel <trixter@0xdecafbad.com> wrote:> On Fri, 2006-06-02 at 18:37 -0500, voiplist wrote: > > Is there a list somewhere or a way to find the following: > > > > 1- All non US 48 area codes which can be dialed as 1+10 > > 2- All strange area codes which are used for premium services such as > > 900-XXX-XXXX > > 3- Anything else that should be restricted if one was to restrict all > > calls to US 48 only > > > The best way is to restric everything then allow what you know to be > good. If you try to take the approach of allowing everything except > what is denied then you are in effect saying you know everything bad and > can accurately restrict it. This often proves to be a bad decision. > > There is a listing at astbill.com that I started and presumably they > have maintained since I basically abandoned it. It has US as well as > other countries in there. I know for a fact that its not complete on > the global numbers, but believe it to be reasonably complete for NANPA > numbers (although some wireless providers are listed as geographic, but > that shouldnt affect this application). > > NANPA assigns the numbers, you can goto them for the information (they > have lists of all assigned codes, which carrier they are assigned to and > what geographic region they are from). > > http://www.nanpa.com/reports/reports_cocodes_assign.html > > That list is all the assignments from NANPA. It would be your best bet > since they are much more authoritative on this than my list. I would be > wary of any codes that have XXXXX for their rate center, as those may be > premium since they arent assigned to a specific rate center. They may > be something else as well, however once a NPA-NXX is assigned to a rate > center it cannot change rate centers, so if it isnt listed odds are its > some special premium service number. > > As for premium numbers, yes 900 is a NPA used for premium but there are > local ones, while typically 976-xxxx that isnt always the case and some > numbers, are assigned to lcoal carriers and have no rate center listed > and can be a pay per call service (such as some in NJ that now verizon > owns). If your numbers are in LIDB that should prevent most if not all > billing from occuring on those numbers, and the call to those numbers > will be rejected. Your carrier should be able to insert your numbers > into LIDB for you. The carrier may not know LIDB by name (or at least > the sales drone you talk to) but they should be familiar with call > blocking for pay per call services. > > > hope this answers your question :) > > -- > Trixter http://www.0xdecafbad.com Bret McDanel > Belfast IE +44 28 9099 6461 DE +49 801 777 555 3402 > Utrecht NL +31 306 553058 US WA +1 360 207 0479 > US NY +1 516 687 5200 FreeWorldDialup: 635378 > http://www.trxtel.com we pay you to terminate calls with us! > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.3 (GNU/Linux) > > iD8DBQBEgNIE+1olxlzQw5cRAmgTAJ41QcgrpFGp4KQU2YngdauwgJMHagCfbqn5 > pyPKDXzqjwHvED0bVV3nM7w> =pNzJ > -----END PGP SIGNATURE----- > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >
Here is a link that can give you the US list: http://www.bennetyee.org/ucsd-pages/area.html On 6/2/06, voiplist <gotvoip@gmail.com> wrote:> > Is there a list somewhere or a way to find the following: > > 1- All non US 48 area codes which can be dialed as 1+10 > 2- All strange area codes which are used for premium services such as > 900-XXX-XXXX > 3- Anything else that should be restricted if one was to restrict all > calls to US 48 only > > I have found many list but it's tough looking at the entire list of > area codes and pulling out each of them one at a time. > > Thanks! > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060603/b9cc2fbb/attachment.htm