From dd9659061958c8d9c0f87c55ae577ba745f4d6f2 Mon Sep 17 00:00:00 2001 From: konradSC Date: Sun, 30 Jul 2017 12:55:27 -0400 Subject: [PATCH] Bug Fix: Not rerouting back to Advanced vm menu (#2768) Need to pass in the "advanced" menu variable to functions in order to get back to Advanced menu. --- .../scripts/app/voicemail/resources/functions/advanced.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/install/scripts/app/voicemail/resources/functions/advanced.lua b/resources/install/scripts/app/voicemail/resources/functions/advanced.lua index 8485913f67..5b6128b7db 100644 --- a/resources/install/scripts/app/voicemail/resources/functions/advanced.lua +++ b/resources/install/scripts/app/voicemail/resources/functions/advanced.lua @@ -62,17 +62,17 @@ if (dtmf_digits == "1") then --To record a greeting press 1 timeouts = 0; - record_greeting(); + record_greeting('',"advanced"); elseif (dtmf_digits == "2") then --To choose greeting press 2 timeouts = 0; choose_greeting(); elseif (dtmf_digits == "3") then --To record your name 3 - record_name(); + record_name("advanced"); elseif (dtmf_digits == "6") then --To change your password press 6 - change_password(voicemail_id); + change_password(voicemail_id, "advanced"); elseif (dtmf_digits == "0") then --For the main menu press 0 timeouts = 0;