From 9f56ac9e30236f60e8983e002a1383a8e4155f2f Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 3 Mar 2026 09:15:53 -0700 Subject: [PATCH] If not set then set the record_ext to wav --- app/switch/resources/scripts/recordings.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/app/switch/resources/scripts/recordings.lua b/app/switch/resources/scripts/recordings.lua index 8d270dbc6a..115e01aaac 100644 --- a/app/switch/resources/scripts/recordings.lua +++ b/app/switch/resources/scripts/recordings.lua @@ -115,6 +115,7 @@ time_limit_secs = session:getVariable("time_limit_secs"); silence_thresh = session:getVariable("silence_thresh"); silence_hits = session:getVariable("silence_hits"); + if (not record_ext) then record_ext = 'wav'; end if (not time_limit_secs) then time_limit_secs = '10800'; end if (not silence_thresh) then silence_thresh = '200'; end if (not silence_hits) then silence_hits = '10'; end