Ticket #37472 Import calls with Internal ID 50
authorJeremy Davis <jeremyd@freeside.biz>
Wed, 26 Aug 2015 19:17:02 +0000 (15:17 -0400)
committerJeremy Davis <jeremyd@freeside.biz>
Wed, 26 Aug 2015 19:17:02 +0000 (15:17 -0400)
FS/FS/cdr/aapt.pm

index 600a192..3c49643 100644 (file)
@@ -77,7 +77,7 @@ my %UNIT_SCALE = ( #Table 2.1.4
     'calltypenum',          # usage ID (CUSG)
     sub {                   # ID type
       my ($cdr, $data, $conf, $param) = @_;
-      if ($data != 1) {
+      if ($data !~ /(1|50)/) {
         warn "AAPT: service ID type is not telephone number.\n";
         $param->{skiprow} = 1;
       }