Changes

From SME Server
Jump to navigationJump to search
412 bytes added ,  13:14, 4 February 2017
m
Line 58: Line 58:  
* change /etc/freeswitch/autoload_configs/event_socket.conf.xml and set listen-ip value (::) to localhost
 
* change /etc/freeswitch/autoload_configs/event_socket.conf.xml and set listen-ip value (::) to localhost
 
* Enable Mysql InnoDB ([https://wiki.contribs.org/MySQL#Enable_InnoDB_engine see wiki])
 
* Enable Mysql InnoDB ([https://wiki.contribs.org/MySQL#Enable_InnoDB_engine see wiki])
* yum install mysql-connector-odbc
   
* change /core/install/resources/classes/install_fusionpbx.php and replace 127.0.0.1 with localhost (around line 154) This is for when using MySQL as database.
 
* change /core/install/resources/classes/install_fusionpbx.php and replace 127.0.0.1 with localhost (around line 154) This is for when using MySQL as database.
 
* set openbasedir of the Primary to /home/e-smith/files/ibays/Primary/html:/tmp
 
* set openbasedir of the Primary to /home/e-smith/files/ibays/Primary/html:/tmp
 +
 +
===Setup ODBC===
 +
* Install mysql-connector-odbc, yum install mysql-connector-odbc
 +
* create symbolic link ln -s /usr/lib64/libmyodbc5.so /usr/lib64/libmyodbc.so
 +
 +
Add FusionPBX to /etc/odbc.ini
 +
[fusionpbx]
 +
Description = MySQL connection to 'fusionpbx' database
 +
Driver = MySQL
 +
Database = fusionpbx
 +
Server = localhost
 +
UserName = [mysql fusionpbx db user]
 +
Password = [mysql fusionpbx db password
 +
Port = 3306
 +
Socket = /var/lib/mysql/mysql.sock
       
[[Category:Howto]]
 
[[Category:Howto]]

Navigation menu