Skip to content

Instantly share code, notes, and snippets.

@adeshpandey
Last active January 6, 2016 05:31
Show Gist options
  • Save adeshpandey/1f061f87768c017f6cd0 to your computer and use it in GitHub Desktop.
Save adeshpandey/1f061f87768c017f6cd0 to your computer and use it in GitHub Desktop.
one click setup for asterisk 13
#!/bin/bash
apt-get install git-core subversion libjansson-dev sqlite autoconf automake libtool libxml2-dev libncurses5-dev libsrtp0 libsrtp0-dev
apt-get update
cd /usr/src/
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz
tar –xzvf asterisk-13-current.tar.gz
cd asterisk-13.6.0/
./contrib/scripts/install_prereq install-sh
./contrib/scripts/install_prereq install
./bootstrap.sh
./configure
make && make install
make samples
make config
@adeshpandey
Copy link
Author

the gist assumes that user already has root privileges to install utils.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment