diff options
author | ivan <ivan> | 2008-10-07 23:23:08 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-10-07 23:23:08 +0000 |
commit | 235173ad9493f90dba2842cd33aa886cacbbee15 (patch) | |
tree | 8985e8f8f1c61c9dcec36bfb3800ddaa3ebe60fa /FS/FS/cdr/nextone.pm | |
parent | 455ec0f5eb1ea11cc81ca08f15ed8cbe37cd6aa5 (diff) |
also set billsec for nextone CDR format
Diffstat (limited to 'FS/FS/cdr/nextone.pm')
-rw-r--r-- | FS/FS/cdr/nextone.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FS/FS/cdr/nextone.pm b/FS/FS/cdr/nextone.pm index 0e31456..22e6e86 100644 --- a/FS/FS/cdr/nextone.pm +++ b/FS/FS/cdr/nextone.pm @@ -14,7 +14,9 @@ use FS::cdr qw(_cdr_date_parser_maker); 'userfield', #CallZoneData ???userfield 'channel', #OrigGw 'dstchannel', #TermGw - 'duration', #Duration + sub { my( $cdr, $duration ) = @_; + $cdr->duration($duration); + $cdr->billsec($duration); }, #Duration 'dst', #CallDTMF 'src', #Ani 'startdate', #DateTimeInt |