actualizamos sudo apt-get update && sudo apt-get upgrade && sudo reboot
Instalar el UUID
Packages
apt-get install uuid-dev
apt-get install libossp-uuid-dev
apt-get install libghc-uuid-dev
http://packages.ubuntu.com/search?keywords=uuid-dev
Instalamos las dependencias para curl
$ sudo apt-get install libcurl4-openssl-dev
instalamos en network time protocolsudo apt-get install ntp
Instalamos las dependencias para la base de dato interna de asterisk sudo apt-get install libsqlite3-dev
1 sudo apt-get install openjdk-6-jre
2 sudo apt-get install build-essential subversion
3 sudo apt-get install libncurses5-dev libssl-dev libxml2-dev vim-nox
4-sudo apt-get install libnewt-dev ( esta dependencia es para que nos funcione el make menu
mkdir -p ~/src/asterisk-complete/ asterisk
cd ~/src/asterisk-complete/ asterisk
svn co http://svn.asterisk.org/svn/asterisk/branches/11/
cd ~/src/asterisk-complete/ asterisk/11
$ cd ~/src/asterisk-complete/ asterisk/11
$ sudo ./contrib/scripts/install_ prereq install
$ sudo ./contrib/scripts/install_ prereq install-unpackaged
$ cd ~/src/asterisk-complete/
$ mkdir libpri
$ cd libpri/
$ cd 1.4.<your version number>
$ make
$ sudo make install
$ cd ~/src/asterisk-complete/
$ mkdir dahdi
$ cd dahdi/
$ cd 2.4.0+2.4.0
$ make
$ sudo make install
$ sudo make config
Asterisk
With both DAHDI and LibPRI installed, we can now install Asterisk:
$ cd ~/src/asterisk-complete/ asterisk/11
$ ./configure
make menuselect
$ make
$ sudo make install
$ sudo make samples
$ sudo make samples
$ sudo make config
Reiniciamos sudo reboot el servidor
Nos conectamos al asterisk con el comando $ asterisk -rvvvvvvvvvvvvvv
Este comentario ha sido eliminado por un administrador del blog.
ResponderEliminar