1 package FS::cdr::ispphone;
4 use vars qw( @ISA %info $tmp_mon $tmp_mday $tmp_year );
6 use FS::cdr qw ( _cdr_date_parser_maker );
17 'accountcode', # Accountcode
18 sub { my ($cdr, $src) = @_;
20 $cdr->set('src', $src);
23 sub { my ($cdr, $dst) = @_;
25 $cdr->set('dst', $dst);
29 'upstream_dst_regionname', # Description
30 _cdr_date_parser_maker('startdate'), #DateTime
32 sub { my ($cdr, $duration) = @_;
33 my ($min,$sec) = split(/:/, $duration);
34 my $billsec = $sec + $min * 60;
35 $cdr->set('billsec', $billsec);
37 }, #Charged time, min:sec
39 'upstream_price', # Amount ( upstream price )
44 sub skip { map {''} (1..$_[0]) }