diff --git a/resources/install/scripts/page.lua b/resources/install/scripts/page.lua index d304116df2..d8f9737cf2 100644 --- a/resources/install/scripts/page.lua +++ b/resources/install/scripts/page.lua @@ -51,7 +51,7 @@ if ( session:ready() ) then sounds_dir = session:getVariable("sounds_dir"); destinations = session:getVariable("destinations"); if (destinations == nil) then - destinations = session:getVariable("extension_list"); + destinations = session:getVariable("extension_list"); end destination_table = explode(",",destinations); caller_id_name = session:getVariable("caller_id_name"); @@ -129,7 +129,7 @@ if ( session:ready() ) then sub_table = explode("-",value); for destination=sub_table[1],sub_table[2] do --get the destination required for number-alias - destination = api:execute("user_data", destination .. "@" .. domain_name .. " attr id"); + destination = api:execute("user_data", destination .. "@" .. domain_name .. " attr id"); --prevent calling the user that initiated the page if (sip_from_user ~= destination) then