X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=bin%2Fimport-did-inventory;h=ead4b746424808cd06e72b9f24acb26389b18fe7;hb=b033de9f4cb4ffd0a59bc160876a7bece5ad2b0c;hp=6a1a817f1d8eb619bec9284e6d6283af903d8695;hpb=9efeffca8eaca6af69f73f7e23855e7b26520dcb;p=freeside.git diff --git a/bin/import-did-inventory b/bin/import-did-inventory index 6a1a817f1..ead4b7464 100644 --- a/bin/import-did-inventory +++ b/bin/import-did-inventory @@ -23,7 +23,7 @@ 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 = 1; # IMPORTANT: set this to the correct exportnum or everything will go in wrong into phone_avail @@ -67,6 +67,7 @@ my %msamap = ( 'Miami' => 33100, 'Jackson' => 27140, 'St Cloud' => 41060, + 'Stratford' => 14860, # more hax upon hax (the above are unique, no issues) 'Portland OR' => 38900, @@ -178,7 +179,7 @@ sub suffer { $latadesc =~ s/\s\w+$// unless uc($ourdesc) eq uc($latadesc); # yeah...long story :( fatal("their LATA description '$latadesc' doesn't match our LATA description '$ourdesc'") - unless uc($ourdesc) eq uc($latadesc); + unless (uc($ourdesc) eq uc($latadesc) || $latanum == 460); ### MSA ###