diff options
author | ivan <ivan> | 2010-05-11 06:58:08 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-05-11 06:58:08 +0000 |
commit | 74d3163d0e813f4b806be01fbe8239427057cf0a (patch) | |
tree | 52607d803bcc79974f333378a81438b3e13d0b74 /FS | |
parent | d206257b5dbb4c3b79a2bb61a3801f41d54e5d59 (diff) |
should fix asterisks in destination numbers causing invoice generation to barf, RT#7840
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/part_pkg/voip_cdr.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/part_pkg/voip_cdr.pm b/FS/FS/part_pkg/voip_cdr.pm index 7134ccccc..77b9af553 100644 --- a/FS/FS/part_pkg/voip_cdr.pm +++ b/FS/FS/part_pkg/voip_cdr.pm @@ -402,6 +402,8 @@ sub calc_usage { warn "rating call $to_or_from +$countrycode $number\n" if $DEBUG; $pretty_destnum = "+$countrycode $number"; + #asterisks here causes inserting the detail to barf, so: + $pretty_destnum =~ s/\*//g; my $rate = qsearchs('rate', { 'ratenum' => $ratenum }) or die "ratenum $ratenum not found!"; |