From e3de3fff7ff26f17034065d429e840e426dc770a Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 31 Dec 2025 12:26:50 -0700 Subject: [PATCH] Set the default value of voicemail_file to attach If the voicemail_file is empty set the value to attach as the default. --- app/voicemails/app_defaults.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/voicemails/app_defaults.php b/app/voicemails/app_defaults.php index 7532a6c230..349c0734b8 100644 --- a/app/voicemails/app_defaults.php +++ b/app/voicemails/app_defaults.php @@ -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); + } ?>