[freeside-commits] branch master updated. 63741cec13d0272d73fe8108ab4534c2f70181c6

Christopher Burger burgerc at freeside.biz
Tue Dec 19 09:37:03 PST 2017


The branch, master has been updated
       via  63741cec13d0272d73fe8108ab4534c2f70181c6 (commit)
      from  6fd87713f1aca3f7fd2acc9126ce4f65255859c9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 63741cec13d0272d73fe8108ab4534c2f70181c6
Author: Christopher Burger <burgerc at freeside.biz>
Date:   Tue Dec 19 12:36:07 2017 -0500

    RT# 78450 - Fixed error with cdr import of AAPT CTOP format.  Changed regex to ignore white space at beginning.

diff --git a/FS/FS/cdr/aapt.pm b/FS/FS/cdr/aapt.pm
index 934608c72..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;
       }

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cdr/aapt.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list