FOP2 and external database

  1. 8 years ago

    Hello,

    I was wondering if it was possible for FOP2 to support external databases. A bit of a background of what I'm trying to accomplish. I moved the asterisk database to an external server and removed all ties with the internal database on my Asterisk system. Is it possible for FOP2 to work with an external database?

  2. admin

    20 Oct 2016 Administrator

    FOP2 in itself does not use any external database, the FOP2 Manager uses mysql and you can configure any mysql server via configuration files.

    What database did you move in asterisk?

  3. I moved the entire asterisk database over to my external mysql server or in this case, RDS on AWS. Which configuration files should I peek at for changing the mysql settings? I saw a couple files and did some changes but wasn't getting any buttons to show on my user portal.

  4. Wanted to throw in some other troubleshooting that I've done.

    I removed all the FOP2 tables from my internal SQL database on my PBX. I ran /usr/local/fop2/autoconfig-buttons-freepbx.sh and saw the buttons being listed.

  5. After a bit of trial and error I got it working. I had the internal database data in the freepbx.conf file but commented out. When I removed it, everything was working fine.

  6. admin

    25 Oct 2016 Administrator

    thanks for the update.

or Sign Up to reply!