Add more to the missed call check

Only count as a missed call if the bridge_uuid has a length.
This commit is contained in:
FusionPBX
2021-06-15 12:53:46 -06:00
committed by GitHub
parent 3e2ae03295
commit 6d536ce4d7

View File

@@ -346,7 +346,7 @@ if (!class_exists('xml_cdr')) {
if ($xml->variables->missed_call == 'true') {
$missed_call = 'true';
}
if ($xml->variables->voicemail_action == "save"){
if ($xml->variables->voicemail_action == "save" && strlen($xml->variables->bridge_uuid) > 0) {
$missed_call = 'true';
}