diff options
author | ivan <ivan> | 2010-05-11 06:57:53 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-05-11 06:57:53 +0000 |
commit | aaef99ca464d1daac9cc881db4563d2e3bf3b9a2 (patch) | |
tree | def4e0dd8d3db71e680f9edf073acaabfeb980f3 | |
parent | e96f66544864de1442f6d4c2210a912f6f70692e (diff) |
should fix asterisks in destination numbers causing invoice generation to barf, RT#7840
-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 38e5941a9..62214df89 100644 --- a/FS/FS/part_pkg/voip_cdr.pm +++ b/FS/FS/part_pkg/voip_cdr.pm @@ -399,6 +399,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!"; |