From c2c98002511e85f436ec3c870059d937a9ecb72c Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 17 Aug 2019 14:37:08 -0600 Subject: [PATCH] Update recordings.lua --- resources/install/scripts/recordings.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/install/scripts/recordings.lua b/resources/install/scripts/recordings.lua index 2f847f4f9e..b45b462da3 100644 --- a/resources/install/scripts/recordings.lua +++ b/resources/install/scripts/recordings.lua @@ -111,8 +111,8 @@ silence_thresh = session:getVariable("silence_thresh"); silence_hits = session:getVariable("silence_hits"); if (not time_limit_secs) then time_limit_secs = '10800'; end - if (not default_dialect) then default_dialect = '200'; end - if (not default_voice) then default_voice = '10'; end + if (not silence_thresh) then silence_thresh = '200'; end + if (not silence_hits) then silence_hits = '10'; end --select the recording number and set the recording name if (recording_id == nil) then