From 6387f3700958cb06904d49fdb866aa905c7be4ff Mon Sep 17 00:00:00 2001 From: markjcrane Date: Mon, 7 Dec 2015 16:30:03 -0700 Subject: [PATCH] Prevent the conference alone sound from playing twice. --- resources/install/scripts/app/conference_center/index.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/resources/install/scripts/app/conference_center/index.lua b/resources/install/scripts/app/conference_center/index.lua index e9adc15b7e..08d43c42a6 100644 --- a/resources/install/scripts/app/conference_center/index.lua +++ b/resources/install/scripts/app/conference_center/index.lua @@ -150,9 +150,6 @@ --recording = session:getVariable("recording"); domain_name = session:getVariable("domain_name"); - --add the domain name to the recordings directory - recordings_dir = recordings_dir .. "/"..domain_name; - --set the end epoch end_epoch = os.time(); @@ -710,7 +707,7 @@ --there is one other member in this conference session:execute("playback", sounds_dir.."/"..default_language.."/"..default_dialect.."/"..default_voice.."/conference/conf-one_other_member_conference.wav"); elseif (member_count == "0") then - session:execute("playback", sounds_dir.."/"..default_language.."/"..default_dialect.."/"..default_voice.."/conference/conf-alone.wav"); + --conference profile defines the alone sound file else --say the count session:execute("say", default_language.." number pronounced "..member_count);