Add Call Detail Record status no answer

This commit is contained in:
FusionPBX
2023-10-25 09:37:17 -06:00
committed by GitHub
parent fd1820c399
commit 57d8d52336
3 changed files with 15 additions and 3 deletions
+3 -3
View File
@@ -560,6 +560,9 @@ if (!class_exists('xml_cdr')) {
if ($xml->variables->billsec > 0) {
$status = 'answered';
}
if ($xml->variables->hangup_cause == 'NO_ANSWER') {
$status = 'no_answer';
}
if ($missed_call == 'true') {
$status = 'missed';
}
@@ -575,9 +578,6 @@ if (!class_exists('xml_cdr')) {
if (in_array($xml->variables->hangup_cause, $failed_array)) {
$status = 'failed';
}
if (empty($status)) {
$status = 'none';
}
//misc
$key = 0;