From 6af80a602a18614a1805cd593459d7737f820bc3 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Fri, 27 Jun 2014 19:41:31 +0000 Subject: [PATCH] Prevent an error on the reverse authentication for the xml handler when its sent and invalid domain from FreeSWITCH. --- .../scripts/directory/action/reverse-auth-lookup.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/install/scripts/app/xml_handler/resources/scripts/directory/action/reverse-auth-lookup.lua b/resources/install/scripts/app/xml_handler/resources/scripts/directory/action/reverse-auth-lookup.lua index f3a10d107d..b63b6c1cdc 100644 --- a/resources/install/scripts/app/xml_handler/resources/scripts/directory/action/reverse-auth-lookup.lua +++ b/resources/install/scripts/app/xml_handler/resources/scripts/directory/action/reverse-auth-lookup.lua @@ -51,6 +51,11 @@ domain_uuid = rows["domain_uuid"]; end); end + --if the domain_uuid is null then set an empty string + if (domain_uuid == nil) then + domain_uuid = " "; + end + end --get the extension information