X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=bin%2Fimport-did-inventory;h=2ba459459cf36e785efccd4e4b9a3888a1469018;hb=b25ba5fbb136c4b20c86513f57255d2a7f078d7b;hp=10cc4d9870d8a0b2064d3c021129ec0cbf1d96e7;hpb=c17319bacfdcd2fceb7348e5f96fb89a39baff4d;p=freeside.git diff --git a/bin/import-did-inventory b/bin/import-did-inventory index 10cc4d987..2ba459459 100644 --- a/bin/import-did-inventory +++ b/bin/import-did-inventory @@ -23,10 +23,10 @@ use Time::HiRes qw(usleep ualarm gettimeofday tv_interval); print "started time=".time."\n"; #### SET THESE! ################################# -my $file = '/home/levinse/dids1.csv'; +my $file = '/home/levinse/dids4.csv'; my $did_vendor_id = 1; my $dry = 0; -my $internal_diddb_exportnum = 2; # IMPORTANT: set this to the correct exportnum or everything will go in wrong into phone_avail +my $internal_diddb_exportnum = 1; # IMPORTANT: set this to the correct exportnum or everything will go in wrong into phone_avail # optionally set this one (probably not) my %custname2num = (); # MyCust => 12345, @@ -164,7 +164,8 @@ sub suffer { ### LATA ### - fatal("no lata found for latanum $latanum") unless exists($latas{$latanum}); + fatal("no lata found for latanum $latanum") unless exists($latas{$latanum}) + || $latanum == 460; # unsurprisingly, our idea of a LATA name doesn't always match their idea # of the same. Specifically, they randomly expand the state portion and