[freeside-commits] branch FREESIDE_3_BRANCH updated. a5da6f3448fb17b4f6e16994a5decab2cafb9827

Christopher Burger burgerc at freeside.biz
Tue Dec 19 12:56:29 PST 2017


The branch, FREESIDE_3_BRANCH has been updated
       via  a5da6f3448fb17b4f6e16994a5decab2cafb9827 (commit)
      from  cecb79407cc0e1ee7342c1f77ea17af7ddb8d5f4 (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 a5da6f3448fb17b4f6e16994a5decab2cafb9827
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