diff --git a/resources/install/scripts/app/xml_handler/resources/scripts/directory/directory.lua b/resources/install/scripts/app/xml_handler/resources/scripts/directory/directory.lua index 05cdaeeabd..4138cd02c1 100644 --- a/resources/install/scripts/app/xml_handler/resources/scripts/directory/directory.lua +++ b/resources/install/scripts/app/xml_handler/resources/scripts/directory/directory.lua @@ -34,12 +34,12 @@ --get the action action = params:getHeader("action"); purpose = params:getHeader("purpose"); - --sip_auth - registration - --group_call - call group has been called - --user_call - user has been called + --sip_auth - registration + --group_call - call group has been called + --user_call - user has been called --additional information - --event_calling_function = params:getHeader("Event-Calling-Function"); + --event_calling_function = params:getHeader("Event-Calling-Function"); --set the variables as a string number_alias = ""; @@ -381,9 +381,6 @@ table.insert(xml, [[ ]]); table.insert(xml, [[ ]]); table.insert(xml, [[ ]]); - if (string.len(number_alias) > 0) then - table.insert(xml, [[ ]]); - end --table.insert(xml, [[ ]]); table.insert(xml, [[ ]]); table.insert(xml, [[ ]]); @@ -528,4 +525,4 @@ --send the xml to the console if (debug["xml_string"]) then freeswitch.consoleLog("notice", "[xml_handler] XML_STRING: \n" .. XML_STRING .. "\n"); - end + end \ No newline at end of file