From d580d33017581606aff81697fd3a319ef9c451ad Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Tue, 15 Jan 2013 19:00:49 +0000 Subject: [PATCH] Record greeting and name both have option 1 to replay the message. For this reason playing the greeting seems redundant. --- includes/install/scripts/voicemail.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/install/scripts/voicemail.lua b/includes/install/scripts/voicemail.lua index cf60c2adb0..933c73b7dc 100644 --- a/includes/install/scripts/voicemail.lua +++ b/includes/install/scripts/voicemail.lua @@ -1531,11 +1531,11 @@ end --play the greeting - if (session:ready()) then - if (file_exists(voicemail_dir.."/"..voicemail_id.."/greeting_"..greeting_id..".wav")) then - session:streamFile(voicemail_dir.."/"..voicemail_id.."/greeting_"..greeting_id..".wav"); - end - end + --if (session:ready()) then + -- if (file_exists(voicemail_dir.."/"..voicemail_id.."/greeting_"..greeting_id..".wav")) then + -- session:streamFile(voicemail_dir.."/"..voicemail_id.."/greeting_"..greeting_id..".wav"); + -- end + --end --option to play, save, and re-record the greeting if (session:ready()) then @@ -1669,7 +1669,7 @@ --session:execute("record", voicemail_dir.."/"..uuid.." 180 200"); --play the name - session:streamFile(voicemail_dir.."/"..voicemail_id.."/recorded_name.wav"); + --session:streamFile(voicemail_dir.."/"..voicemail_id.."/recorded_name.wav"); --option to play, save, and re-record the name if (session:ready()) then