[freeside-commits] branch master updated. 30d17233a3e064bb84417d16fd03feb52dc11dd0

Mark Wells mark at 420.am
Wed Apr 25 17:15:35 PDT 2012


The branch, master has been updated
       via  30d17233a3e064bb84417d16fd03feb52dc11dd0 (commit)
      from  51ea2fe73308427bfbcc9e9fb717d573c82880bc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 30d17233a3e064bb84417d16fd03feb52dc11dd0
Author: Mark Wells <mark at freeside.biz>
Date:   Wed Apr 25 17:14:57 2012 -0700

    change duration field for "cia" CDRs, #17507

diff --git a/FS/FS/cdr/cia.pm b/FS/FS/cdr/cia.pm
index 070f3fb..ca44c0f 100644
--- a/FS/FS/cdr/cia.pm
+++ b/FS/FS/cdr/cia.pm
@@ -20,11 +20,12 @@ use FS::cdr qw(_cdr_date_parser_maker);
     skip(2),          # Conference Start Time, Conference End Time
     _cdr_date_parser_maker('startdate'),  # Connect Time
     _cdr_date_parser_maker('enddate'),    # Disconnect Time
+    skip(1),          # Duration
     sub { my($cdr, $data, $conf, $param) = @_;
           $cdr->duration($data);
           $cdr->billsec( $data);
-    },                # Duration
-    skip(2),          # Roundup Duration, User Name
+    },                # Roundup Duration
+    skip(1),          # User Name
     'dst',            # DNIS
     'src',            # ANI
     skip(2),          # Call Type, Toll Free, 

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cdr/cia.pm |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list