X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcdr.pm;h=5b1a4b421d00cee0226b4dc29fe55507963b8313;hp=adde898e43e7eb0bac3f42f5d70aa675bc768a2f;hb=1203e278e2ec38fcf1468da2e4f10862004bebeb;hpb=3b54099d7b5532a411bb477006d78844c0597745 diff --git a/FS/FS/cdr.pm b/FS/FS/cdr.pm index adde898e4..5b1a4b421 100644 --- a/FS/FS/cdr.pm +++ b/FS/FS/cdr.pm @@ -422,7 +422,7 @@ my %export_formats = ( ], 'voxlinesystems' => [ 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 sub { sprintf('%.2fm', shift->billsec / 60 ) }, #DURATION @@ -729,9 +729,9 @@ my %import_formats = ( 'enddate', #End (also a timestamp!) sub { my($cdr, $field) = @_; }, #End date sub { my($cdr, $field) = @_; }, #End time - 'accountcode', #Calling customer XXX map to agent_custid?? + 'accountcode', #Calling customer... map to agent_custid?? sub { my($cdr, $field) = @_; }, #Calling type - sub { shift->src('30000'); }, #XXX FAKE XXX 'src', #Calling number + 'src', 'userfield', #Calling name #? sub { my($cdr, $field) = @_; }, #Called type 'dst', #Called number