Difference between revisions of "FreeSWITCH compile"
From FusionPBX
(→Remove FreeSWITCH files) |
(→files.freeswitch.org) |
||
Line 8: | Line 8: | ||
==files.freeswitch.org== | ==files.freeswitch.org== | ||
− | wget http://files.freeswitch.org/freeswitch-1.4. | + | wget http://files.freeswitch.org/freeswitch-1.4.13.zip |
− | unzip freeswitch-1.4. | + | unzip freeswitch-1.4.13.zip |
− | cd freeswitch-1.4. | + | cd freeswitch-1.4.13 |
==Ubuntu Dependencies== | ==Ubuntu Dependencies== |
Revision as of 17:31, 11 November 2014
Contents
Git
cd /usr/src git clone -b v1.4 https://stash.freeswitch.org/scm/fs/freeswitch.git cd freeswitch ./bootstrap.sh
or
files.freeswitch.org
wget http://files.freeswitch.org/freeswitch-1.4.13.zip unzip freeswitch-1.4.13.zip cd freeswitch-1.4.13
Ubuntu Dependencies
apt-get install autoconf automake devscripts gawk g++ git-core libjpeg-dev libncurses5-dev libtool make python-dev gawk pkg-config libtiff-dev libperl-dev libgdbm-dev libdb-dev gettext libssl-dev libcurl4-openssl-dev libpcre3-dev libspeex-dev libspeexdsp-dev libsqlite3-dev libedit-dev libldns-dev libpq-dev memcached libmemcached-dev
Debian Dependencies
apt-get install autoconf automake devscripts gawk g++ git-core libjpeg-dev libncurses5-dev libtool make python-dev gawk pkg-config libtiff5-dev libperl-dev libgdbm-dev libdb-dev gettext libssl-dev libcurl4-openssl-dev libpcre3-dev libspeex-dev libspeexdsp-dev libsqlite3-dev libedit-dev libldns-dev libpq-dev memcached libmemcached-dev
modules.conf
uncomment the FreeSWITCH modules that are needed.
mod_avmd mod_callcenter mod_memcache mod_cidlookup
Used for MP3 support
mod_shout
Postgres driver
./configure --enable-core-pgsql-support
Run Make
make
Remove FreeSWITCH files
Once it has been confirmed that the compile was successful then remove files from previous version of FreeSWITCH
rm -rf /usr/local/freeswitch/{lib,mod,bin}/*
Install
make install
File Permissions
Set the file permissions instructions may vary based on the OS and install directory.
Debian and Ubuntu
chown -R www-data:www-data /usr/local/freeswitch