[freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm,1.3,1.4
Ivan,,,
ivan at wavetail.420.am
Thu Mar 1 12:56:28 PST 2007
Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail:/tmp/cvs-serv5143
Modified Files:
voip_cdr.pm
Log Message:
better match for toll-free prefixes
Index: voip_cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/voip_cdr.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- voip_cdr.pm 12 Jul 2006 00:20:23 -0000 1.3
+++ voip_cdr.pm 1 Mar 2007 20:56:26 -0000 1.4
@@ -130,7 +130,7 @@
###
my( $to_or_from, $number );
- if ( $cdr->dst =~ /^(\+?1)?8[02-8]{2}/ ) { #tollfree call
+ if ( $cdr->dst =~ /^(\+?1)?8([02-8])\1/ ) { #tollfree call
$to_or_from = 'from';
$number = $cdr->src;
} else { #regular call
More information about the freeside-commits
mailing list