FOP2 and AMPORTAL.conf Problem

How can I edit the AMPORTAL.conf file from the GUI to specify the AMDBHOST.
Now when I modify manually the default value come back when I change something in the FreePBX.

Thanks

The Advanced settings module in FreePBX

I can’t see the option for the IP of the DATABASE?

Note that amportal.conf is depricated. FOP should be using FreePBX bootstrap to access freepbx internals.

Fop will use FreePBX bootstrap in the n’est version but I need to work on the old one and the issue is when I manually change the amportal.conf the settings dissapear after a reboot or a modification on the Gui