Line 16: |
Line 16: |
| The '''[[okay]]''', '''[[epel|Epel]]''' and '''[[remi]]''' repositories have to be enabled. Please enable these repositories first. | | The '''[[okay]]''', '''[[epel|Epel]]''' and '''[[remi]]''' repositories have to be enabled. Please enable these repositories first. |
| After enabling the above repositories, one can install Freeswitch and it's dependencies with yum: | | After enabling the above repositories, one can install Freeswitch and it's dependencies with yum: |
− | yum install ffmpeg --enablerepo=okey,epel | + | yum install ffmpeg --enablerepo=okay,epel |
− | yum install *1.6.14-3* freeswitch-sounds* --enablerepo=okey,epel,remi --exclude=*php* | + | yum install *1.6.19-1* freeswitch-sounds* --enablerepo=okay,epel,remi --exclude=*php* |
| This must be the above 2 commands, for otherwise there will be a strange dependency issue. | | This must be the above 2 commands, for otherwise there will be a strange dependency issue. |
| + | |
| + | Or a basic vanilla install: |
| + | yum install freeswitch-config-vanilla --enablerepo=okay,epel,remi,smetest |
| | | |
| {{Note box|If you have installed the '''[[Sogo|SOGo]]''' contrib, you will encounter a dependency issue with libmemcached. There is no resolution yet and your input is welcomed.}} | | {{Note box|If you have installed the '''[[Sogo|SOGo]]''' contrib, you will encounter a dependency issue with libmemcached. There is no resolution yet and your input is welcomed.}} |
Line 62: |
Line 65: |
| | | |
| ===Setup ODBC=== | | ===Setup ODBC=== |
− | * Install mysql-connector-odbc, yum install mysql-connector-odbc | + | * Install mysql-connector-odbc |
− | * create symbolic link ln -s /usr/lib64/libmyodbc5.so /usr/lib64/libmyodbc.so | + | yum install mysql-connector-odbc |
− | | + | * create symbolic link |
| + | ln -s /usr/lib64/libmyodbc5.so /usr/lib64/libmyodbc.so |
| Add FusionPBX to /etc/odbc.ini | | Add FusionPBX to /etc/odbc.ini |
− | [fusionpbx] | + | [fusionpbx] |
| Description = MySQL connection to 'fusionpbx' database | | Description = MySQL connection to 'fusionpbx' database |
| Driver = MySQL | | Driver = MySQL |
Line 72: |
Line 76: |
| Server = localhost | | Server = localhost |
| UserName = [mysql fusionpbx db user] | | UserName = [mysql fusionpbx db user] |
− | Password = [mysql fusionpbx db password | + | Password = [mysql fusionpbx db password] |
| Port = 3306 | | Port = 3306 |
| Socket = /var/lib/mysql/mysql.sock | | Socket = /var/lib/mysql/mysql.sock |
− | | + | * Test the ODBC connection |
| + | isql fusionpbx [fusion db user] |
| + | show tables |
| + | quit |
| + | * Adjust switch.xml and add |
| + | <param name="core-db-dsn" value="database:username:password"/> |
| + | * Install php-fpm |
| + | yum install php-fpm |
| + | and create the db service |
| + | config set php-fpm set service status enabled |
| + | ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S90php-fpm |
| | | |
| [[Category:Howto]] | | [[Category:Howto]] |