[freeside-commits] branch FREESIDE_4_BRANCH updated. e4009e77fc5027d77ededaffebcdab333784411f

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


The branch, FREESIDE_4_BRANCH has been updated
       via  e4009e77fc5027d77ededaffebcdab333784411f (commit)
      from  e041838ebeb0112a03fa89450a113f130829757f (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 e4009e77fc5027d77ededaffebcdab333784411f
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon May 23 11:45:05 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