X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcdr%2Faapt.pm;h=3c49643179185b465252904fbb5109831d2e1e63;hb=ca501bda179434c87d9150780a80d3d64b68e358;hp=600a1920f6e8c3df7056c8205eebd94b1351cc17;hpb=8edb7f0ed92d28c935a8e2c26b5b645dccc7704e;p=freeside.git diff --git a/FS/FS/cdr/aapt.pm b/FS/FS/cdr/aapt.pm index 600a1920f..3c4964317 100644 --- a/FS/FS/cdr/aapt.pm +++ b/FS/FS/cdr/aapt.pm @@ -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; }