@smrdoshi I see the version 5 script is adding a repo for FreeSwitch 1.8 on Debian 9, but 1.10.7 is getting installed. It seems to be bugged from the complaints I have been seeing.
Hello @KNERD
8021 TCP is for event socket connection. And the screen shot you shared from vars.xml is for vanilla setup, ASTPP-FS is getting configuration from database.
Even after a reboot, still does not listen on port 5060, but after doing a restart of FreeSwitch itself, it is listening on port 5060. So something is not right
The reason could be when you reboot FS started before Mysql. You can set the priority in freeswitch daemon file freeswitch.service, or configure cron to reload profile after x seconds of reboot