How link FreePbx with an external Mysql Server

kan_hossam's picture

hello everybody
I need to make Freepbx uses an external mysql server (installed on another machine) for both cdr & all setting


__________________


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Edit /etc/amportal.conf,

mickecarlsson's picture

Edit /etc/amportal.conf, change the following settings to match your mysql server:

# AMPDBHOST: the host to connect to the database named 'asterisk'
AMPDBHOST=localhost
# AMPDBUSER: the user to connect to the database named 'asterisk'
AMPDBUSER=asteriskuser
# AMPDBPASS: the password for AMPDBUSER
AMPDBPASS=amp109

# CDR DB Settings: Only used if you dont use the default values provided by freepbx.
# CDRDBHOST: hostname of db server if not the same as AMPDBHOST
# CDRDBPORT: Port number for db host
# CDRDBUSER: username to connect to db with if its not the same as AMPDBUSER
# CDRDBPASS: password for connecting to db if its not the same as AMPDBPASS
# CDRDBNAME: name of database used for cdr records
# CDRDBTABLENAME: Name of the table in the db where the cdr is stored cdr is default


__________________

Mikael Carlsson
(I am off-line, tinkering with my Chevy and my radios, don't know when I will be back)