summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-04-21 16:26:53 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-04-21 16:37:01 -0500
commitaa2b3ef7970a9ba5b5ac0806df05350c988a3997 (patch)
tree0b1a3aa030cce61c17b116b29dacdb34f5d03888
parent06a4fea881fe6b8a40270ff1cdc78945609fa130 (diff)
FS/bin/freeside-cdr-evariste-import
-rwxr-xr-xFS/bin/freeside-cdr-evariste-import2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/bin/freeside-cdr-evariste-import b/FS/bin/freeside-cdr-evariste-import
index 0487ae539..d5e13f98c 100755
--- a/FS/bin/freeside-cdr-evariste-import
+++ b/FS/bin/freeside-cdr-evariste-import
@@ -100,7 +100,7 @@ while (my $row = $csth->fetchrow_hashref) {
'cdrbatchnum' => $cdr_batch->cdrbatchnum,
'uniqueid' => $row->{'id'},
'src' => $row->{'src'},
- 'dst' => $row->{'dest'},
+ 'dst' => $row->{'routing_target'} || $row->{'dest'}, # dest_orig? dest_trans?
'startdate' => int(str2time($row->{'start_time'})),
'answerdate' => int(str2time($row->{'answer_time'})),
'enddate' => int(str2time($row->{'end_time'})),