diff --git a/app/xml_cdr/resources/classes/xml_cdr.php b/app/xml_cdr/resources/classes/xml_cdr.php index fdc4e4e835..591b959fac 100644 --- a/app/xml_cdr/resources/classes/xml_cdr.php +++ b/app/xml_cdr/resources/classes/xml_cdr.php @@ -374,7 +374,10 @@ if (!class_exists('xml_cdr')) { } //set missed calls - if (isset($xml->variables->answer_stamp) && isset($xml->variables->bridge_uuid)) { + if (isset($xml->variables->missed_call) { + $missed_call = $xml->variables->missed_call; + } + elseif (isset($xml->variables->answer_stamp) && isset($xml->variables->bridge_uuid)) { //answered call $missed_call = 'false'; }