Set the default value of voicemail_file to attach

If the voicemail_file is empty set the value to attach as the default.
This commit is contained in:
FusionPBX
2025-12-31 12:26:50 -07:00
committed by GitHub
parent 6d82a584c1
commit e3de3fff7f

View File

@@ -122,6 +122,11 @@ if ($domains_processed == 1) {
$database->execute($sql);
unset($sql);
//set default value of voicemail_file to attach
$sql = "update v_voicemails set voicemail_file = 'attach' where voicemail_file is null";
$database->execute($sql);
unset($sql);
}
?>