[freeside-commits] branch FREESIDE_3_BRANCH updated. a3a0325811bb3b05cfc85d2bd1092a2c26ef443e

Ivan Kohler ivan at freeside.biz
Mon May 23 11:45:09 PDT 2022


The branch, FREESIDE_3_BRANCH has been updated
       via  a3a0325811bb3b05cfc85d2bd1092a2c26ef443e (commit)
      from  21ddfefc77ec706f9cfb03793bab6bfe3e123359 (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 a3a0325811bb3b05cfc85d2bd1092a2c26ef443e
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon May 23 11:45:08 2022 -0700

    remove obsolete/customer-specific "set to toll free" processing for accountcode, RT#81941, RT#8137

diff --git a/FS/FS/cdr/broadsoft.pm b/FS/FS/cdr/broadsoft.pm
index a2c608936..d9530bb13 100644
--- a/FS/FS/cdr/broadsoft.pm
+++ b/FS/FS/cdr/broadsoft.pm
@@ -97,13 +97,7 @@ use FS::cdr qw( _cdr_date_parser_maker _cdr_min_parser_maker );
     skip(8),
 
     # 34: accountCode
-    sub {
-      my( $cdr, $data ) = @_;
-      $cdr->set(
-        'accountcode',
-        $cdr->is_tollfree ? substr( $cdr->dst, 0, 32 ) : $data
-      );
-    },
+    'accountcode',
 
     # 35: authorizationCode
     # 36: originalCalledNumber

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

Summary of changes:
 FS/FS/cdr/broadsoft.pm | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)




More information about the freeside-commits mailing list