[freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm, 1.123.2.4, 1.123.2.5
Mark Wells
mark at wavetail.420.am
Sat Dec 10 14:21:03 PST 2011
- Previous message: [freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm, 1.128, 1.129
- Next message: [freeside-commits] freeside/FS/FS Conf.pm, 1.494, 1.495 Upgrade.pm, 1.55, 1.56 Record.pm, 1.237, 1.238 svc_broadband.pm, 1.30, 1.31 cust_location.pm, 1.11, 1.12 cust_main.pm, 1.597, 1.598 geocode_Mixin.pm, 1.8, 1.9 Mason.pm, 1.85, 1.86 part_svc.pm, 1.46, 1.47
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv28120/FS/FS/part_pkg
Modified Files:
Tag: FREESIDE_2_3_BRANCH
voip_cdr.pm
Log Message:
revert ignore_unrateable behavior change
Index: voip_cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/voip_cdr.pm,v
retrieving revision 1.123.2.4
retrieving revision 1.123.2.5
diff -u -w -d -r1.123.2.4 -r1.123.2.5
--- voip_cdr.pm 10 Dec 2011 00:58:24 -0000 1.123.2.4
+++ voip_cdr.pm 10 Dec 2011 22:21:00 -0000 1.123.2.5
@@ -43,11 +43,11 @@
tie my %granularity, 'Tie::IxHash', FS::rate_detail::granularities();
-# previously "1" was "ignore
+# previously "1" was "ignore"
tie my %unrateable_opts, 'Tie::IxHash',
'' => 'Exit with a fatal error',
- 1 => 'Flag for later review',
- 2 => 'Ignore and continue',
+ 1 => 'Ignore and continue',
+ 2 => 'Flag for later review',
;
%info = (
@@ -646,11 +646,6 @@
if ( ! $rate_detail && $charge eq '' ) {
if ( $ignore_unrateable == 2 ) {
- # throw a warning--not recommended
- warn "no rate_detail found for CDR.acctid: ". $cdr->acctid.
- "; skipping\n"
- }
- else {
# mark the CDR as unrateable
my $error = $cdr->set_status_and_rated_price(
'failed',
@@ -658,6 +653,11 @@
$cust_svc->svcnum
);
die $error if $error;
+ }
+ elsif ( $ignore_unrateable == 1 ) {
+ # warn and continue
+ warn "no rate_detail found for CDR.acctid: ". $cdr->acctid.
+ "; skipping\n"
}#if $ignore_unrateable
} else { # there *is* a rate_detail (or call_details), proceed...
- Previous message: [freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm, 1.128, 1.129
- Next message: [freeside-commits] freeside/FS/FS Conf.pm, 1.494, 1.495 Upgrade.pm, 1.55, 1.56 Record.pm, 1.237, 1.238 svc_broadband.pm, 1.30, 1.31 cust_location.pm, 1.11, 1.12 cust_main.pm, 1.597, 1.598 geocode_Mixin.pm, 1.8, 1.9 Mason.pm, 1.85, 1.86 part_svc.pm, 1.46, 1.47
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list