nethesis / ns8-nethvoice

NethVoice: an Asterisk based PBX
GNU General Public License v3.0
0 stars 3 forks source link

nethvoice: regenerate tancredi defaults #157

Closed Amygos closed 5 months ago

Amygos commented 5 months ago

Right now, the tancredi''s defaults are written only at the first start of the container

Relevant code: https://github.com/nethesis/ns8-nethvoice/blob/e83c02ed48246dc13a8ac52e18bf7618a69d2771/tancredi/entrypoint.sh#L48

This can cause some problems, like: If NethVoice is configured before the proxy, the value of the default proxy's domain is stored in the tancredi's defaults, it is a random domain and there is no easy way to change it.

PRs:

Stell0 commented 5 months ago

Some default options needs to be removed from interface:

Encryption (should be always enabled) PBX address Timezone all LDAP configuration

Screenshot from 2024-03-14 17-51-18

Also it is no more needed to force the user to change the default settings, this modal should be shown only if default settings is pressed