Fix incorrectly uploaded code for vss 32382
[freeside.git] / FS / FS / cdr / vss.pm
1 package FS::cdr::vss;
2
3 use strict;
4 use vars qw( @ISA %info $tmp_mon $tmp_mday $tmp_year );
5 use Time::Local;
6 use FS::cdr qw(_cdr_date_parser_maker);
7
8 @ISA = qw(FS::cdr);
9
10 %info = (
11   'name'          => 'VSS',
12   'weight'        => 120,
13   'header'        => 1,
14   'import_fields' => [
15
16         skip(1),        # Customer
17         skip(1),        # i_customer
18         'accountcode',  # account_id
19         'src',          # caller
20         'dst',          # called
21         skip(2),        # reason
22                         # call id
23         _cdr_date_parser_maker('startdate'),       # time
24         'billsec',      # duration
25         skip(3),        # ringtime
26                         # status
27                         # resller_charge
28        'upstream_price',# customer_charge
29   ],
30 );
31
32 sub skip { map {''} (1..$_[0]) }
33
34 1;