new ara code 575 needs to be added to the list of areacodes

Discussions about development of VICIDIAL and astGUIclient

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

new ara code 575 needs to be added to the list of areacodes

Postby bobbymc » Thu Sep 02, 2010 2:16 pm

/local_home/asterisk/ADMIN_area_code_populate.pl --purge-table

currently i believe downloads it from a central file. Can you guys also add area code 575 which is New Mexico and i believe gmt zone -7
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Postby mflorell » Thu Sep 02, 2010 2:29 pm

what version of ViciDial are you using?

This areacode and several others were added a long time ago, when did you last update your phone codes list?

I just ran this on a server and that areacode was in there.

Can you post the output of running that script with the --debugX flag?
mflorell
Site Admin
 
Posts: 18341
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby bobbymc » Thu Sep 02, 2010 2:32 pm

vicidial 2.0.5rc6



/usr/bin/wget

Downloading latest phone codes tables
--2010-09-02 12:31:58-- http://phonecodes.vicidial.com/phone_co ... latest.txt
Resolving phonecodes.vicidial.com... 208.38.149.188
Connecting to phonecodes.vicidial.com|208.38.149.188|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 36255 (35K) [text/plain]
Saving to: `phone_codes_GMT-latest.txt.439'

100%[==============================================================================================================================>] 36,255 215K/s in 0.2s

2010-09-02 12:31:59 (215 KB/s) - `phone_codes_GMT-latest.txt.439' saved [36255/36255]

--2010-09-02 12:31:59-- http://phonecodes.vicidial.com/GMT_USA_zip-latest.txt
Resolving phonecodes.vicidial.com... 208.38.149.188
Connecting to phonecodes.vicidial.com|208.38.149.188|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 668146 (652K) [text/plain]
Saving to: `GMT_USA_zip-latest.txt.438'

100%[==============================================================================================================================>] 668,146 1.23M/s in 0.5s

2010-09-02 12:32:00 (1.23 MB/s) - `GMT_USA_zip-latest.txt.438' saved [668146/668146]

1015
41750
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Postby mflorell » Thu Sep 02, 2010 2:40 pm

Wow, looks like you have run this 439 times.

Just delete the original phone_codes_GMT-latest.txt file in your home directory and run the script again. I will be adding something in the script to remove the old ones so this doesn't happen again.
mflorell
Site Admin
 
Posts: 18341
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby bobbymc » Thu Sep 02, 2010 2:49 pm

looks like the newer version fixed it. i jsut updated that part of the scritp to the latest version and it did the trick
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am


Return to Development

Who is online

Users browsing this forum: No registered users and 13 guests

cron