[freeside-commits] branch master updated. ffb5f3014a6dbb1d84eccf2f7ee1af7378471005

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


The branch, master has been updated
       via  ffb5f3014a6dbb1d84eccf2f7ee1af7378471005 (commit)
      from  5b7652d7d368407330d38b20db31a7cca23786ee (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 ffb5f3014a6dbb1d84eccf2f7ee1af7378471005
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon May 23 11:45:02 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