projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6d72fff
)
correct regex for importing with id 50, RT#37472
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 10 Sep 2015 19:23:31 +0000
(12:23 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 10 Sep 2015 19:23:31 +0000
(12:23 -0700)
FS/FS/cdr/aapt.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cdr/aapt.pm
b/FS/FS/cdr/aapt.pm
index
3c49643
..
934608c
100644
(file)
--- 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) = @_;
'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;
}
warn "AAPT: service ID type is not telephone number.\n";
$param->{skiprow} = 1;
}