apply_conf.sh does not apply conf

When changing ASTETCDIR= and then running apply_conf.sh it seems to not change all the hard coded configs is it my install or is this true for others?

Looking at the script it does not even attempt to change anything based on ASTETCDIR, actually it looks like it depends on this to be always static, never to be changed.

Is this true? So, what is the purpose of the config ASTETCDIR other than a one time configuration?

Please let me know if this is reproducible. I have been testing with different configuration, each with there own /etc/asterisk-something directory and it is much easier to change the settings in amportal.conf and run asterisk on it than to keep moving the asterisk directory around.

it’s basically a one time setup - it is not designed to be changed on the fly.