Set call center cancel call to missed

This commit is contained in:
FusionPBX 2023-12-20 13:49:48 -07:00 committed by GitHub
parent 7e674efe8b
commit b9686aeae7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -507,8 +507,11 @@ if (!class_exists('xml_cdr')) {
//call center
$missed_call = 'false';
}
else {
//missed call
elseif (isset($xml->variables->cc_side)
&& $xml->variables->cc_side == 'member'
&& isset($xml->variables->cc_cause)
&& $xml->variables->cc_cause == 'cancel') {
//call center
$missed_call = 'true';
}