diff --git a/app/scripts/resources/scripts/app/xml_handler/resources/scripts/directory/action/acl.lua b/app/scripts/resources/scripts/app/xml_handler/resources/scripts/directory/action/acl.lua index b183a2b38b..68b49c7cde 100644 --- a/app/scripts/resources/scripts/app/xml_handler/resources/scripts/directory/action/acl.lua +++ b/app/scripts/resources/scripts/app/xml_handler/resources/scripts/directory/action/acl.lua @@ -1,3 +1,5 @@ + local Xml = require "resources.functions.xml"; + --connect to the database local Database = require "resources.functions.database" local log = require "resources.functions.log"["directory_acl"] diff --git a/app/scripts/resources/scripts/app/xml_handler/resources/scripts/directory/action/group_call.lua b/app/scripts/resources/scripts/app/xml_handler/resources/scripts/directory/action/group_call.lua index 8a9f6a8676..497507625b 100644 --- a/app/scripts/resources/scripts/app/xml_handler/resources/scripts/directory/action/group_call.lua +++ b/app/scripts/resources/scripts/app/xml_handler/resources/scripts/directory/action/group_call.lua @@ -24,6 +24,8 @@ -- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -- POSSIBILITY OF SUCH DAMAGE. + local Xml = require "resources.functions.xml"; + --get the cache if (trim(api:execute("module_exists", "mod_memcache")) == "true") then XML_STRING = trim(api:execute("memcache", "get directory:groups:"..domain_name)); diff --git a/app/scripts/resources/scripts/app/xml_handler/resources/scripts/directory/action/reverse-auth-lookup.lua b/app/scripts/resources/scripts/app/xml_handler/resources/scripts/directory/action/reverse-auth-lookup.lua index a29b931bce..8f170a27bb 100644 --- a/app/scripts/resources/scripts/app/xml_handler/resources/scripts/directory/action/reverse-auth-lookup.lua +++ b/app/scripts/resources/scripts/app/xml_handler/resources/scripts/directory/action/reverse-auth-lookup.lua @@ -24,6 +24,8 @@ -- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -- POSSIBILITY OF SUCH DAMAGE. + local Xml = require "resources.functions.xml"; + --get the action action = params:getHeader("action"); purpose = params:getHeader("purpose"); @@ -114,4 +116,4 @@ --send the xml to the console if (debug["xml_string"]) then freeswitch.consoleLog("notice", "[xml_handler] XML_STRING: \n" .. XML_STRING .. "\n"); - end \ No newline at end of file + end