diff --git a/resources/install/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua b/resources/install/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua index ec6d839bcb..f0a2e3be74 100644 --- a/resources/install/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua +++ b/resources/install/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua @@ -49,7 +49,7 @@ --set the dialplan cache key local dialplan_cache_key = "dialplan:" .. call_context; if (context_name == 'public' and context_type == "single") then - key = "dialplan:" .. call_context .. ":" .. destination_number; + dialplan_cache_key = "dialplan:" .. call_context .. ":" .. destination_number; end --get the cache