From: ivan Date: Tue, 11 May 2010 06:58:08 +0000 (+0000) Subject: should fix asterisks in destination numbers causing invoice generation to barf, RT... X-Git-Tag: root_of_svc_elec_features~282 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=74d3163d0e813f4b806be01fbe8239427057cf0a should fix asterisks in destination numbers causing invoice generation to barf, RT#7840 --- 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!";