summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-09-10 12:23:37 -0700
committerIvan Kohler <ivan@freeside.biz>2015-09-10 12:23:37 -0700
commitee51c7264d30040110d1da6f1cc0fbbdcbd04fbb (patch)
tree1de160d2a924d3db7f89595a02e298edd3c81d34
parent5223392618e4025cddb42bbaf709d3269b456970 (diff)
correct regex for importing with id 50, RT#37472
-rw-r--r--FS/FS/cdr/aapt.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cdr/aapt.pm b/FS/FS/cdr/aapt.pm
index 3c4964317..934608c72 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 !~ /^(1|50)$/) {
warn "AAPT: service ID type is not telephone number.\n";
$param->{skiprow} = 1;
}