Fix missed_call use as boolean

This commit is contained in:
FusionPBX
2025-03-11 19:54:54 -06:00
committed by GitHub
parent c3e5647c03
commit af9691ff41

View File

@@ -827,7 +827,7 @@
if ($row['hangup_cause'] == 'NO_ANSWER') {
$status = 'no_answer';
}
if ($row['missed_call'] == '1') {
if ($row['missed_call']) {
$status = 'missed';
}
if (substr($row['destination_number'], 0, 3) == '*99') {