diff options
author | Jeremy Davis <jeremyd@freeside.biz> | 2015-06-29 07:04:53 -0400 |
---|---|---|
committer | Jeremy Davis <jeremyd@freeside.biz> | 2015-06-29 07:04:53 -0400 |
commit | 1fa379f596dd95694ed4e37a19afd44d8e47e82a (patch) | |
tree | edd759edc1add32f24ded5c6aa46277b19663d39 /FS | |
parent | 062f38f2f5d0da64c6fd0702d4df2e805473a1f5 (diff) |
Ticket #36843 Fix incorrect call error
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cdr/broadsoft.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/cdr/broadsoft.pm b/FS/FS/cdr/broadsoft.pm index b5d75f13f..a6f4d01c0 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); }}, |