Needs to use double equals for the condition.

This commit is contained in:
FusionPBX 2022-08-05 14:35:54 -06:00 committed by GitHub
parent 6f2a2a76a1
commit 84a3ab143d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -382,11 +382,11 @@ if (!class_exists('xml_cdr')) {
//fax server
$missed_call = 'false';
}
elseif ($xml->variables->hangup_cause = 'LOSE_RACE') {
elseif ($xml->variables->hangup_cause == 'LOSE_RACE') {
//ring group or multi destination bridge statement
$missed_call = 'false';
}
elseif ($xml->variables->hangup_cause = 'NO_ANSWER' && isset($xml->variables->originating_leg_uuid)) {
elseif ($xml->variables->hangup_cause == 'NO_ANSWER' && isset($xml->variables->originating_leg_uuid)) {
//ring group or multi destination bridge statement
$missed_call = 'false';
}