FOP2 and external database

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?

Comments

  • 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?
  • 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.
  • 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.
  • 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.
  • thanks for the update.
Sign In or Register to comment.