1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| cd /usr/src/ git clone https://github.com/signalwire/freeswitch.git -bv1.8 freeswitch cd freeswitch
# Because we're in a branch that will go through many rebases, it's # better to set this one, or you'll get CONFLICTS when pulling (update). git config pull.rebase true
# ... and do the build ./bootstrap.sh -j 不启用postgresql
./configure --enable-core-odbc-support --enable-system-lua --without-pgsql --prefix=/usr/local/freeswitch --sysconfdir=/etc --localstatedir=/var --datadir=/usr/share
启用postgresql
./configure --enable-core-odbc-support --enable-system-lua --enable-core-pgsql-support --prefix=/usr/local/freeswitch --sysconfdir=/etc --localstatedir=/var --datadir=/usr/share
make make install # Install audio files: make cd-sounds-install cd-moh-install
|