Accidentally clobbered the grandstream_ipv_mode variable changes, putting them back.
There was an illogical if/else statement that the "else" condition would always set a null value, so it didn't really matter. Re-wrote it to properly filter if the transport is set to dns srv and not affix the SIP Port to the server address.
We are at our company, SmartIP, using grand stream ATA ht801. But I did not find template for ht801. So I created template for it.