[freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm,1.84,1.85

Ivan,,, ivan at wavetail.420.am
Mon May 10 23:58:10 PDT 2010


Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv8438

Modified Files:
	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.84
retrieving revision 1.85
diff -u -w -d -r1.84 -r1.85
--- voip_cdr.pm	27 Apr 2010 05:38:28 -0000	1.84
+++ voip_cdr.pm	11 May 2010 06:58:08 -0000	1.85
@@ -402,6 +402,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