mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 18:53:49 +00:00
Make storage_path and storage_type = http_cache work (#3892)
* Make storage_path work if storage_path was set, the script would fail. I have fixed it by removing the references to unset variables. I also made the recordings use the path. * Update ivr.conf.lua Add storage_path definition so storage_type of http_cache works correctly
This commit is contained in:
@@ -95,7 +95,11 @@
|
||||
|
||||
local settings = Settings.new(dbh, domain_name, domain_uuid)
|
||||
local storage_type = settings:get('recordings', 'storage_type', 'text')
|
||||
|
||||
local storage_path = settings:get('recordings', 'storage_path', 'text')
|
||||
if (storage_path != nil then
|
||||
storage_path = storage_path:gsub("${domain_name}", domain_name)
|
||||
storage_path = storage_path:gsub("${domain_uuid}", domain_uuid)
|
||||
end
|
||||
--get the recordings from the database
|
||||
ivr_menu_greet_long_is_base64 = false;
|
||||
ivr_menu_greet_short_is_base64 = false;
|
||||
|
||||
Reference in New Issue
Block a user