[freeside-commits] branch FREESIDE_3_BRANCH updated. 00e141aee3d8ee2f2606d694ac9bef01895fd288

Jeremy Davis jeremyd at 420.am
Mon Jun 29 05:40:45 PDT 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  00e141aee3d8ee2f2606d694ac9bef01895fd288 (commit)
      from  6a0e1441b1cde044f6a43596551be02dba2074ba (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 00e141aee3d8ee2f2606d694ac9bef01895fd288
Author: Jeremy Davis <jeremyd at freeside.biz>
Date:   Mon Jun 29 07:06:40 2015 -0400

    Ticket #36843 Fix incorrect call error

diff --git a/FS/FS/cdr/broadsoft.pm b/FS/FS/cdr/broadsoft.pm
index 9477351..eb68ae3 100644
--- a/FS/FS/cdr/broadsoft.pm
+++ b/FS/FS/cdr/broadsoft.pm
@@ -39,7 +39,8 @@ use FS::cdr qw( _cdr_date_parser_maker _cdr_min_parser_maker );
     skip(17),
     sub { my($cdr, $accountcode) = @_;
     if ($cdr->is_tollfree){
-        $cdr->set('accountcode', $cdr->dst);
+	my $dst = substr($cdr->dst,0,32);
+        $cdr->set('accountcode', $dst);
     } else {
         $cdr->set('accountcode', $accountcode);
     }},

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

Summary of changes:
 FS/FS/cdr/broadsoft.pm |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list