projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 78356 - updated documentation and added ability to create access points as Saisei...
[freeside.git]
/
FS
/
FS
/
cdr
/
nextone.pm
diff --git
a/FS/FS/cdr/nextone.pm
b/FS/FS/cdr/nextone.pm
index
e8ef0d4
..
22e6e86
100644
(file)
--- a/
FS/FS/cdr/nextone.pm
+++ b/
FS/FS/cdr/nextone.pm
@@
-1,5
+1,6
@@
package FS::cdr::nextone;
package FS::cdr::nextone;
+use strict;
use vars qw(@ISA %info);
use FS::cdr qw(_cdr_date_parser_maker);
use vars qw(@ISA %info);
use FS::cdr qw(_cdr_date_parser_maker);
@@
-13,7
+14,9
@@
use FS::cdr qw(_cdr_date_parser_maker);
'userfield', #CallZoneData ???userfield
'channel', #OrigGw
'dstchannel', #TermGw
'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
'dst', #CallDTMF
'src', #Ani
'startdate', #DateTimeInt