[Asterisk-Users] Local Calling Area database?
Jonathan Biggs
jon_209 at yahoo.com
Sat Apr 10 19:35:19 MST 2004
Lots of responses, but here is my 2 Cents of what
works well for me
Downloaded my local NPA/NXX combinations from
following web site.
http://members.dandy.net/~czg/search.html
Added them to the internal Asterisk DB with DB put
So when an outbound call comes, I strip off the
NPA, NXX, do a lookup in the internal DB,
If found, dial Zap, If not found, does goto and dials
out my voicepulse.
Yes, I have to maintain this database, but I can do
this 2 or 3 times a year.
Had to do this because I have 136 local NPA/NXX
combinations.
Good luck
exten =>
_9NXXNXXXXXX,1,DBget(IsLocal=${EXTEN:1:3}/${EXTEN:4:3})
exten => _9NXXNXXXXXX,2,Dial,Zap/1/${EXTEN:1}|60
exten => _9NXXNXXXXXX,3,Hangup
exten => _9NXXNXXXXXX,102,Goto(150)
150 does the voicepulse dialout
--- Scott Laird <scott at sigkill.org> wrote:
> Is there an easy way to get information about local
> calling areas out
> of telcos? I'm trying to get a list of area codes
> and prefixes in my
> local calling area out of Verizon, and it looks like
> they've stopped
> providing the information online. Is there an easy
> source that I'm
> missing, or do I need to call them and have them
> mail me a copy every
> few months?
>
>
> Scott
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
>
http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
More information about the asterisk-users
mailing list