Help me with the setup ACS

Good afternoon! I’m sorry for the stupid question, but I’m figuring it out and I’ve learned a lot about ACS lately. There are a couple of questions, please help. 1. I made a lot of parameters in the form of a table, but with the InternetGatewayDevice.LANDevice parameter.1.LANHostConfigManagement there are gaps, I want to output the DHCP settings, but it outputs empty fields.

2 question I did a lot of settings, including virtual ones, but on the main page where all the devices are not automatically updated, I have to go into it and click on the update all button. I want it to be updated as soon as it appears in the index page.

  1. the question about the STUN server, 50% of us has a white address and 50% is nat and we did everything according to the instructions, reread the entire forum, did everything but acs cannot reach STUN, STUN itself receives everything from subscribers’ routers.
    declare(“InternetGatewayDevice.ManagementServer.STUNEnable”, {value: 1}, {value: true});
    declare(“InternetGatewayDevice.ManagementServer.PeriodicInformEnable”, {value: 1}, {value: true});
    declare(“InternetGatewayDevice.ManagementServer.PeriodicInformInterval”, {value: 1}, {value: 300});
    declare(“InternetGatewayDevice.ManagementServer.STUNMaximumKeepAlivePeriod”, {value: 1}, {value: 120});
    declare(“InternetGatewayDevice.ManagementServer.STUNMinimumKeepAlivePeriod”, {value: 1}, {value: 30});
    declare(“InternetGatewayDevice.ManagementServer.STUNPassword”, {value: 1}, {value: “123456789”});
    declare(“InternetGatewayDevice.ManagementServer.STUNServerAddress”, {value: 1}, {value: “77.235.14.32”});
    declare(“InternetGatewayDevice.ManagementServer.STUNServerPort”, {value: 1}, {value: “3478”});
    declare(“InternetGatewayDevice.ManagementServer.STUNUsername”, {value: 1}, {value: “username1”});
    declare(“InternetGatewayDevice.ManagementServer.UDPConnectionRequestAddress”, {value: 1}, {value: “77.235.14.32:3478”});
    declare(“InternetGatewayDevice.ManagementServer.NATDetected”, {value: 1}, {value: true});
    //declare(“InternetGatewayDevice.ManagementServer.UDPConnectionRequestPort”, {value: 1}, {value: “3478”});
    declare(“InternetGatewayDevice.ManagementServer.X_GRANDSTREAM_ConnectionRequestPort”, {value: 1}, {value: “7547”});