[freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm, 1.79.2.4, 1.79.2.5
Ivan,,,
ivan at wavetail.420.am
Mon May 10 23:57:55 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv8365
Modified Files:
Tag: FREESIDE_1_9_BRANCH
voip_cdr.pm
Log Message:
should fix asterisks in destination numbers causing invoice generation to barf, RT#7840
Index: voip_cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/voip_cdr.pm,v
retrieving revision 1.79.2.4
retrieving revision 1.79.2.5
diff -u -w -d -r1.79.2.4 -r1.79.2.5
--- voip_cdr.pm 21 Mar 2010 23:13:25 -0000 1.79.2.4
+++ voip_cdr.pm 11 May 2010 06:57:53 -0000 1.79.2.5
@@ -399,6 +399,8 @@
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!";
More information about the freeside-commits
mailing list