[freeside-commits] branch FREESIDE_4_BRANCH updated. be109bfec54d7d87ce8a85cb2d9941eb7b551554
Jeremy Davis
jeremyd at 420.am
Mon Jun 29 05:39:29 PDT 2015
The branch, FREESIDE_4_BRANCH has been updated
via be109bfec54d7d87ce8a85cb2d9941eb7b551554 (commit)
from 2e8ee5e367d3920181db795726c79b0040768cd7 (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 be109bfec54d7d87ce8a85cb2d9941eb7b551554
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Mon Jun 29 07:05:57 2015 -0400
Ticket #36843 Fix incorrect call error
diff --git a/FS/FS/cdr/broadsoft.pm b/FS/FS/cdr/broadsoft.pm
index b5d75f1..a6f4d01 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