[freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm, 1.108.2.2, 1.108.2.3

Ivan,,, ivan at wavetail.420.am
Fri Feb 11 16:19:34 PST 2011


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

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	voip_cdr.pm 
Log Message:
handle domestic_prefix of 0, RT#11390

Index: voip_cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/voip_cdr.pm,v
retrieving revision 1.108.2.2
retrieving revision 1.108.2.3
diff -u -w -d -r1.108.2.2 -r1.108.2.3
--- voip_cdr.pm	14 Jan 2011 20:08:18 -0000	1.108.2.2
+++ voip_cdr.pm	12 Feb 2011 00:19:32 -0000	1.108.2.3
@@ -473,7 +473,7 @@
             }
 
           } else {
-            $countrycode = $domestic_prefix || '1';
+            $countrycode = length($domestic_prefix) ? $domestic_prefix : '1';
             $number =~ s/^$countrycode//;# if length($number) > 10;
           }
 



More information about the freeside-commits mailing list