diff --git a/app/extensions/extension_edit.php b/app/extensions/extension_edit.php index 40408f2a6a..72413c5652 100644 --- a/app/extensions/extension_edit.php +++ b/app/extensions/extension_edit.php @@ -278,6 +278,7 @@ //extension does not exist add it if ($action == "add" || $range > 1) { $extension_uuid = uuid(); + $voicemail_uuid = uuid(); $password = generate_password(); } @@ -423,6 +424,7 @@ //increment the extension number if ($action != "update") { $extension++; + $voicemail_id = $extension; if (strlen($number_alias) > 0) { $number_alias++;