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:
@@ -200,6 +200,7 @@
|
||||
voicemail_attach_file = row["voicemail_attach_file"];
|
||||
voicemail_local_after_email = row["voicemail_local_after_email"];
|
||||
voicemail_transcription_enabled = row["voicemail_transcription_enabled"];
|
||||
voicemail_tutorial = row["voicemail_tutorial"];
|
||||
end);
|
||||
--set default values
|
||||
if (voicemail_local_after_email == nil) then
|
||||
@@ -264,6 +265,7 @@
|
||||
require "app.voicemail.resources.functions.record_name";
|
||||
require "app.voicemail.resources.functions.message_count"
|
||||
require "app.voicemail.resources.functions.mwi_notify";
|
||||
require "app.voicemail.resources.functions.tutorial";
|
||||
|
||||
--send a message waiting event
|
||||
if (voicemail_action == "mwi") then
|
||||
@@ -314,7 +316,11 @@
|
||||
|
||||
--send to the main menu
|
||||
timeouts = 0;
|
||||
main_menu();
|
||||
if (voicemail_tutorial == "true") then
|
||||
tutorial("intro");
|
||||
else
|
||||
main_menu();
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user