[Asterisk-Users] Validating a phone number

Mike M no-linux-support at earthlink.net
Sun Jul 17 07:15:16 MST 2005


On Sun, Jul 17, 2005 at 12:15:06AM -0700, trixter http://www.0xdecafbad.com wrote:
> 
> In short you might investigate a phone company service blocker for
> premium service numbers and try your best to block what you can but it
> would be impossible for someone without SS7 network access to see what
> the rate of the call is since these numbers can hide virtually anywhere.

The cost of a call is not available from any SS7 service that I know of.

> NANPA manages all the numbers in the north american numbering plan, if
> memory serves their page is nanpa.org and they used to have rate center
> information available on their page for free that you can download (and
> you would need to parse it and continually get updates as new exchanges
> are allocated).

http://www.nanpa.com/area_codes/index.html

You'll have to make a white list.
> 
> 
> > On athe same topic, I'm worried about area codes like 809.  Are there any 
> > other such area codes that should be avoided?
> > 
> 
> Ahh glad you brought that up, see above.  I think there are a couple of
> them, but I dont know off hand what they are..  try googling 'toll fraud
> 809' and see if that works.

809 is a valid area code.  Read this:
http://www.lincmad.com/telesleaze.html



More information about the asterisk-users mailing list