[freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm,1.98,1.99
Ivan,,,
ivan at wavetail.420.am
Mon Sep 20 20:56:04 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv23109
Modified Files:
voip_cdr.pm
Log Message:
skip_max_callers meaning was reversed. doh! RT#9907
Index: voip_cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/voip_cdr.pm,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -w -d -r1.98 -r1.99
--- voip_cdr.pm 17 Sep 2010 19:57:50 -0000 1.98
+++ voip_cdr.pm 21 Sep 2010 03:56:02 -0000 1.99
@@ -95,6 +95,10 @@
'select_label' => 'ratename',
},
+ 'min_included' => { 'name' => 'Minutes included when using "single price per minute" rating method',
+ },
+
+
'min_charge' => { 'name' => 'Charge per minute when using "single price per minute" rating method',
},
@@ -185,7 +189,7 @@
'skip_lastapp' => { 'name' => 'Do not charge for CDRs where the lastapp matches this value: ',
},
- 'skip_max_callers' => { 'name' => 'Do not charge for CDRs where max_callers is greater than this value: ',
+ 'skip_max_callers' => { 'name' => 'Do not charge for CDRs where max_callers is less than or equal to this value: ',
},
'use_duration' => { 'name' => 'Calculate usage based on the duration field instead of the billsec field',
@@ -908,10 +912,10 @@
}
- return "max_callers > $opt{skip_max_callers}"
+ return "max_callers <= $opt{skip_max_callers}"
if length($opt{'skip_max_callers'})
and length($cdr->max_callers)
- and $cdr->max_callers > $opt{'skip_max_callers'};
+ and $cdr->max_callers <= $opt{'skip_max_callers'};
#all right then, rate it
'';
More information about the freeside-commits
mailing list