[freeside-commits] branch FREESIDE_4_BRANCH updated. 7d01aa872894ea9b247c4735d9d6833884dfde1d

Christopher Burger burgerc at freeside.biz
Tue Dec 19 12:07:11 PST 2017


The branch, FREESIDE_4_BRANCH has been updated
       via  7d01aa872894ea9b247c4735d9d6833884dfde1d (commit)
      from  b64b0ec21b4b13b37dee042ba64c234807ea426b (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 7d01aa872894ea9b247c4735d9d6833884dfde1d
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