Prevent the conference alone sound from playing twice.
This commit is contained in:
@@ -150,9 +150,6 @@
|
|||||||
--recording = session:getVariable("recording");
|
--recording = session:getVariable("recording");
|
||||||
domain_name = session:getVariable("domain_name");
|
domain_name = session:getVariable("domain_name");
|
||||||
|
|
||||||
--add the domain name to the recordings directory
|
|
||||||
recordings_dir = recordings_dir .. "/"..domain_name;
|
|
||||||
|
|
||||||
--set the end epoch
|
--set the end epoch
|
||||||
end_epoch = os.time();
|
end_epoch = os.time();
|
||||||
|
|
||||||
@@ -710,7 +707,7 @@
|
|||||||
--there is one other member in this conference
|
--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");
|
session:execute("playback", sounds_dir.."/"..default_language.."/"..default_dialect.."/"..default_voice.."/conference/conf-one_other_member_conference.wav");
|
||||||
elseif (member_count == "0") then
|
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
|
else
|
||||||
--say the count
|
--say the count
|
||||||
session:execute("say", default_language.." number pronounced "..member_count);
|
session:execute("say", default_language.." number pronounced "..member_count);
|
||||||
|
|||||||
Reference in New Issue
Block a user