diff --git a/app/xml_cdr/xml_cdr_export.php b/app/xml_cdr/xml_cdr_export.php
index b39ce53d03..96a12d26f7 100644
--- a/app/xml_cdr/xml_cdr_export.php
+++ b/app/xml_cdr/xml_cdr_export.php
@@ -192,7 +192,7 @@
$data_body[$p] .= '
'.format_phone($fields['destination_number']).' | ';
$data_body[$p] .= ''.$fields['start_stamp'].' | ';
$total['tta'] += ($fields['tta'] > 0) ? $fields['tta'] : 0;
- $data_body[$p] .= ''.(($fields['tta'] > 0) ? $fields['tta'].'s' : null).' | ';
+ $data_body[$p] .= ''.(($fields['tta'] >= 0) ? $fields['tta'].'s' : null).' | ';
$seconds = ($fields['hangup_cause'] == "ORIGINATOR_CANCEL") ? $fields['duration'] : round(($fields['billmsec'] / 1000), 0, PHP_ROUND_HALF_UP);
$total['duration'] += $seconds;
$data_body[$p] .= ''.gmdate("G:i:s", $seconds).' | ';