Missed Calls exclude LOSE_RACE

This commit is contained in:
FusionPBX 2022-04-07 09:59:29 -06:00 committed by GitHub
parent ff7488eed3
commit a16c109c96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@
$sql .= " or direction = 'local' \n";
$sql .= " ) \n";
$sql .= " and (missed_call = true or bridge_uuid is null) ";
$sql .= " and hangup_cause <> 'LOSE_RACE' ";
if (is_array($assigned_extensions) && sizeof($assigned_extensions) != 0) {
$x = 0;
foreach ($assigned_extensions as $assigned_extension_uuid => $assigned_extension) {