From e9144659e065f8bc29f1de205d3dee079207e020 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 5 Jun 2008 22:44:41 +0000 Subject: [PATCH] add am/pm to voxlinesystems2 display format, remove name, revsere src/dst --- FS/FS/cdr.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/FS/FS/cdr.pm b/FS/FS/cdr.pm index 5b1a4b421..2ada2d6ad 100644 --- a/FS/FS/cdr.pm +++ b/FS/FS/cdr.pm @@ -400,7 +400,8 @@ my %export_names = ( }, 'voxlinesystems2' => { 'name' => 'VoxLineSystems with source', 'invoice_header' => - "Date,Time,Name,Destination,Called From,Duration,Price", + #"Date,Time,Name,Called From,Destination,Duration,Price", + "Date,Time,Called From,Destination,Duration,Price", }, ); @@ -430,7 +431,7 @@ my %export_formats = ( ], 'voxlinesystems2' => [ sub { time2str('%D', shift->calldate_unix ) }, #DATE - sub { time2str('%T', shift->calldate_unix ) }, #TIME + sub { time2str('%r', shift->calldate_unix ) }, #TIME 'userfield', #USER 'dst', #NUMBER_DIALED 'src', #called from @@ -732,6 +733,7 @@ my %import_formats = ( 'accountcode', #Calling customer... map to agent_custid?? sub { my($cdr, $field) = @_; }, #Calling type 'src', + #sub { my($cdr, $field) = @_; }, #Calling number 'userfield', #Calling name #? sub { my($cdr, $field) = @_; }, #Called type 'dst', #Called number @@ -740,6 +742,7 @@ my %import_formats = ( sub { my($cdr, $field) = @_; }, #Destination Number sub { my($cdr, $field) = @_; }, #Inbound calling type sub { my($cdr, $field) = @_; }, #Inbound calling number + #'src', sub { my($cdr, $field) = @_; }, #Inbound called type sub { my($cdr, $field) = @_; }, #Inbound called number sub { my($cdr, $field) = @_; }, #Inbound destination type -- 2.11.0