summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2019-08-07 11:04:38 -0700
committerIvan Kohler <ivan@freeside.biz>2019-08-07 11:04:38 -0700
commit856a547c2d699e2ba1d542763df546d6bd7a8cc9 (patch)
tree658182098f44457dafe69c4d553c8d9002df9893 /FS
parent5f0388ca15d79d964b1c6197d0841d8f5c708d15 (diff)
infinite CDR update: use billingcode field for dst instead of calltype, RT#83560
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cdr/infinite.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/FS/FS/cdr/infinite.pm b/FS/FS/cdr/infinite.pm
index 02ff9df..badf41e 100644
--- a/FS/FS/cdr/infinite.pm
+++ b/FS/FS/cdr/infinite.pm
@@ -18,7 +18,8 @@ my $date_parser = _cdr_date_parser_maker('startdate');
'uniqueid', # A. billid
skip(3), # B-D. confid, invoicenum, acctgrpid
skip(1), # E. accountid ("Room Confirmation Number")
- skip(2), # F-G. billingcode ("Room Billingcode"), confname
+ 'dst', # was: skip(1), # F. billingcode ("Room Billingcode")
+ skip(1), # G. confname
skip(1), # H. participant_type
skip(1), # I. starttime_t - timezone is unreliable
sub { # J. startdate
@@ -37,7 +38,7 @@ my $date_parser = _cdr_date_parser_maker('startdate');
}, # L. minutes
skip(1), # M. dnis
'src', # N. ani
- 'dst', # O. calltype
+ skip(1), # was: 'dst', # O. calltype
skip(7), # P-V. calltype_text, confstart_t, confstartdate,
# confstarttime, confminutes, conflegs, ppm
'upstream_price', # W. callcost