[freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm,1.64,1.65
Jeff Finucane,420,,
jeff at wavetail.420.am
Mon Apr 6 18:20:40 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv5509/part_pkg
Modified Files:
voip_cdr.pm
Log Message:
correct taqua toll free handling and hasten cdr import (skip uninteresting records)
Index: voip_cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/voip_cdr.pm,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- voip_cdr.pm 6 Apr 2009 23:19:34 -0000 1.64
+++ voip_cdr.pm 7 Apr 2009 01:20:38 -0000 1.65
@@ -308,9 +308,7 @@
###
my( $to_or_from, $number );
- if ( $cdr->dst =~ /^(\+?1)?8(8|[02-7]{2})/
- && ! $disable_tollfree
- )
+ if ( $cdr->is_tollfree && ! $disable_tollfree )
{ #tollfree call
$to_or_from = 'from';
$number = $cdr->src;
More information about the freeside-commits
mailing list