# Go to Applications and make sure app_macro is checked. Set compile options cd /usr/src/asterisk-16*/ configure -with-pjproject-bundled -with-jansson-bundled Install additional dependencies cd /usr/src/asterisk-16*/ If upgrading an existing install with older Asterisk, it is best to run rm -rf /usr/lib/asterisk/modules first. If make all fails try reboot and run apt install linux-headers* Asterisk At this time, versions newer than 2.10.2 ( 2.11.0 and 2.11.1) do not install correctly. Only required if using a physical server and installing telecom hardware. Timedatectl set-timezone America/Vancouver Optional for Debian v10 which includes a new enough version.
Tar -zxvf mariadb-connector-odbc-2.0.19*.tar.gzĬp lib/libmaodbc.so /usr/lib/x86_64-linux-gnu/odbc/Ĭreate /etc/odbcinst.ini cat > /etc/odbcinst.ini > /etc/odbc.ini = 2.11. Other apt -y install locales sngrep build-essential aptitude openssh-server apache2 mariadb-server mariadb-client bison doxygen flex php-pear curl sox libncurses5-dev libssl-dev libmariadbclient-dev mpg123 libxml2-dev libnewt-dev sqlite3 libsqlite3-dev pkg-config automake libtool-bin autoconf git subversion uuid uuid-dev libiksemel-dev tftpd postfix mailutils nano ntp libspandsp-dev libcurl4-openssl-dev libical-dev libneon27-dev libasound2-dev libogg-dev libvorbis-dev libicu-dev libsrtp*-dev unixodbc unixodbc-dev python-dev xinetd e2fsprogs dbus sudo xmlstarlet lame ffmpeg dirmngr linux-headers* Optional for Debian v10 as v7.3 is included.Īpt update & apt -y install php7.3 php7.3-curl php7.3-cli php7.3-mysql php7.3-mbstring php7.3-gd php7.3-xml Initial upgrade and install apt update & apt -y upgrade & apt install lsb-releaseĪpt -y install curl apt-transport-https ca-certificates
Installation done as root user ( su - ) Prerequisites Tested onĭebian v9 (Stretch) and v10 (Buster) 圆4 minimal install This guide covers the installation of Asterisk v16 and Freepbx v15 GUI, from source, on Debian v9 or v10.