add skip_dcontext_suffix to skip CDRs with dcontext ending in a definable string...
[freeside.git] / FS / FS / part_export / fibernetics_did.pm
index 76391e8..9fd9968 100644 (file)
@@ -27,7 +27,10 @@ tie my %options, 'Tie::IxHash',
 
 sub rebless { shift; }
 
+sub can_get_dids { 1; }
 sub get_dids_can_tollfree { 0; };
+sub get_dids_can_manual   { 1; };
+sub get_dids_can_edit     { 1; };
 sub get_dids_npa_select   { 0; };
 
 # i guess we could get em from the API, but since its returning states without
@@ -138,7 +141,8 @@ sub get_dids {
   if ( $opt{'region'} ) { #return numbers
 
     [ map { $_ =~ /^(\d?)(\d{3})(\d{3})(\d{4})$/
-              ? ($1 ? "$1 " : ''). "$2 $3 $4"
+              #? ($1 ? "$1 " : ''). "$2 $3 $4"
+              ? "$2 $3 $4"
               : $_;
           }
         sort { $a <=> $b }