Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apt update && apt install -y autoconf automake devscripts g++ git libtool make pkg-config libncurses5-dev libssl-dev libcurl4-openssl-dev libpcre3-dev libspeexdsp-dev libedit-dev yasm libldns-dev libpq-dev liblua5.3-dev libopus-dev libsndfile1-dev libavformat-dev libswscale-dev libvpx-dev libx264-dev libvlc-dev libvlccore-dev libshout3-dev libmp3lame-dev libgsm1-dev libjpeg-dev libspandsp-dev python3 python3-pip unzip uuid-dev libsndfile1-dev libtool-bin libsqlite3-dev libunwind-dev libvlc-dev libvlccore-dev libiksemel-dev libgdbm-dev libperl-dev libtiff-dev libxml2-dev liblua5.3-dev libyuv-dev libsystemd-dev libhiredis-dev libmemcached-dev
- cd /usr/src/
- git clone https://github.com/freeswitch/sofia-sip
- git clone https://github.com/freeswitch/spandsp
- git clone https://github.com/signalwire/freeswitch.git -b v1.10 freeswitch
- cd /usr/src/sofia-sip && ./bootstrap.sh -j && ./configure && make && make install && /sbin/ldconfig
- cd /usr/src/spandsp && ./bootstrap.sh -j && ./configure && make && make install && /sbin/ldconfig
- # replace v18.h with https://raw.githubusercontent.com/freeswitch/spandsp/05d755cde127942285342dbae40ab8b2b668561d/src/spandsp/v18.h
- cd /usr/src/freeswitch && git config pull.rebase true && ./bootstrap.sh -j
- vim modules.conf
- `
- applications/mod_hiredis
- applications/mod_commands
- applications/mod_conference
- applications/mod_curl
- applications/mod_db
- applications/mod_dptools
- applications/mod_expr
- applications/mod_fifo
- applications/mod_hash
- applications/mod_lcr
- applications/mod_memcache
- applications/mod_nibblebill
- applications/mod_spandsp
- dialplans/mod_dialplan_xml
- endpoints/mod_loopback
- endpoints/mod_sofia
- event_handlers/mod_event_socket
- event_handlers/mod_json_cdr
- formats/mod_sndfile
- formats/mod_tone_stream
- languages/mod_lua
- loggers/mod_console
- loggers/mod_logfile
- loggers/mod_syslog
- say/mod_say_en
- xml_int/mod_xml_curl
- databases/mod_pgsql
- `
- ./configure --prefix=/opt/freeswitch --disable-libyuv --disable-libvpx --enable-64 --disable-srtp --enable-systemd && make && make install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement