From 4757123d4b9d9e975393c1ef932920d1dfd1219a Mon Sep 17 00:00:00 2001 From: markjcrane Date: Fri, 24 Jun 2016 14:55:16 -0600 Subject: [PATCH] Get the settings.recordings.storage_type for the ivr menu using xml handler. --- .../xml_handler/resources/scripts/configuration/ivr.conf.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/install/scripts/app/xml_handler/resources/scripts/configuration/ivr.conf.lua b/resources/install/scripts/app/xml_handler/resources/scripts/configuration/ivr.conf.lua index 6fe008eabb..234d446625 100644 --- a/resources/install/scripts/app/xml_handler/resources/scripts/configuration/ivr.conf.lua +++ b/resources/install/scripts/app/xml_handler/resources/scripts/configuration/ivr.conf.lua @@ -82,7 +82,7 @@ ivr_menu_greet_short_is_base64 = false; ivr_menu_invalid_sound_is_base64 = false; ivr_menu_exit_sound_is_base64 = false; - if (storage_type == "base64") then + if (settings.recordings.storage_type == "base64") then --greet long if (string.len(ivr_menu_greet_long) > 1) then if (not file_exists(recordings_dir.."/"..domain_name.."/"..ivr_menu_greet_long)) then @@ -179,7 +179,7 @@ end); end end - elseif (storage_type == "http_cache") then + elseif (settings.recordings.storage_type == "http_cache") then --add the path to file name ivr_menu_greet_long = storage_path.."/"..ivr_menu_greet_long; ivr_menu_greet_short = storage_path.."/"..ivr_menu_greet_short;