Don't use voicemail_id to determine call status

This is an unreliable way to detect if the call when to voicemail.
This commit is contained in:
FusionPBX 2024-02-20 12:28:59 -07:00 committed by GitHub
parent 06480cbc3d
commit 359a323c1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -574,9 +574,6 @@ if (!class_exists('xml_cdr')) {
if (isset($xml->variables->voicemail_answer_stamp)) {
$status = 'voicemail';
}
if (isset($xml->variables->voicemail_id)) {
$status = 'voicemail';
}
if ($xml->variables->hangup_cause == 'ORIGINATOR_CANCEL') {
$status = 'cancelled';
}