mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Voicemail tutorial (#2451)
* Update macro.lua Add additional macros for the tutorial. * Create tutorial.lua * Update index.lua * Update record_greeting.lua Add menu variable to route back to appropriate place in the flow. * Update record_menu.lua Add menu variable to accommodate the tutorial. * Update change_password.lua Add menu variable to accommodate the tutorial. * Update record_name.lua Add menu variable to accommodate the tutorial. * Update voicemail_edit.php Add option to play tutorial on next login. * Update app_languages.php * Update app_config.php Add voicemail_tutorial to database. * Update extension_edit.php Set "voicemail_tutorial" to true for new extensions.
This commit is contained in:
@@ -385,6 +385,7 @@
|
||||
//if voicemail_uuid does not exist then get a new uuid
|
||||
if (!isset($voicemail_uuid)) {
|
||||
$voicemail_uuid = uuid();
|
||||
$voicemail_tutorial = 'true';
|
||||
}
|
||||
|
||||
//add the voicemail
|
||||
@@ -403,6 +404,7 @@
|
||||
$voicemail_description = $description;
|
||||
}
|
||||
$array["voicemails"][$i]["voicemail_description"] = $voicemail_description;
|
||||
$array["voicemails"][$i]["voicemail_tutorial"] = $voicemail_tutorial;
|
||||
}
|
||||
|
||||
//increment the extension number
|
||||
@@ -650,6 +652,7 @@
|
||||
$voicemail_local_after_email = $row["voicemail_local_after_email"];
|
||||
$voicemail_enabled = $row["voicemail_enabled"];
|
||||
$voicemail_description = $row["voicemail_description"];
|
||||
$voicemail_tutorial = $row["voicemail_tutorial"];
|
||||
}
|
||||
unset ($prep_statement);
|
||||
//clean the variables
|
||||
|
||||
Reference in New Issue
Block a user