X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcdr%2Faapt.pm;h=3d7fd8a822ed3f9199feb52f672e8b9c622a760d;hb=d856e90f730f72d173c2eedde4c81bba20c583b8;hp=3c49643179185b465252904fbb5109831d2e1e63;hpb=292ef074d01bb925e9a466ed771bf2ac418bb44f;p=freeside.git diff --git a/FS/FS/cdr/aapt.pm b/FS/FS/cdr/aapt.pm index 3c4964317..3d7fd8a82 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|50)/) { + if ($data !~ /^\s*(1|50)$/) { warn "AAPT: service ID type is not telephone number.\n"; $param->{skiprow} = 1; }