[freeside-commits] freeside/FS/FS/cdr nextone.pm, 1.2, 1.3 genband.pm, 1.2, 1.3
Ivan,,,
ivan at wavetail.420.am
Tue Oct 7 16:23:10 PDT 2008
Update of /home/cvs/cvsroot/freeside/FS/FS/cdr
In directory wavetail.420.am:/tmp/cvs-serv15993
Modified Files:
nextone.pm genband.pm
Log Message:
also set billsec for nextone CDR format
Index: genband.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cdr/genband.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- genband.pm 2 Aug 2008 23:51:48 -0000 1.2
+++ genband.pm 7 Oct 2008 23:23:08 -0000 1.3
@@ -63,7 +63,9 @@
#CallDirection:1:404:404
#ExtendedCall:1:405:405
#ExternalCall:1:406:406
- 'duration', #Duration:9:407:415
+ sub { my( $cdr, $duration ) = @_;
+ $cdr->duration($duration);
+ $cdr->billsec($duration); }, #'duration', #Duration:9:407:415
#SIPCallID:64:416:479
#IncomingDigits:30:480:509
#OutpulsedDigits:30:510:539
@@ -89,7 +91,7 @@
# answerdate - Answer time of call (UNIX-style integer timestamp)
# enddate - End time of call (UNIX-style integer timestamp)
# duration - Total time in system, in seconds
-# billsec - Total time call is up, in seconds
+# billsec - Total time call is up, in seconds
# disposition - What happened to the call: ANSWERED, NO ANSWER, BUSY
# amaflags - What flags to use: BILL, IGNORE etc, specified on a per
# channel basis like accountcode.
Index: nextone.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cdr/nextone.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- nextone.pm 2 Aug 2008 23:51:48 -0000 1.2
+++ nextone.pm 7 Oct 2008 23:23:08 -0000 1.3
@@ -14,7 +14,9 @@
'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
More information about the freeside-commits
mailing list