You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

36 lines
1.2 KiB

echo "192.168.115.12 repositorio.simplesip.com.br" >> /etc/hosts
yum install -y epel-release
rm -rf /etc/yum/vars/releasever
yum --disablerepo=\* --enablerepo=base,updates,epel install net-snmp-libs newt-python lm_sensors-devel net-snmp-devel tcp_wrappers-devel elfutils popt-devel rpm-python bzip2-devel file-libs newt elfutils-libelf rpm-devel file-devel newt-devel elfutils-devel rpm-libs tcp_wrappers rpm tcp_wrappers-libs net-snmp elfutils-libelf-devel file elfutils-libs net-snmp-utils jansson-devel jansson libuuid-devel sqlite-devel
#COMPILANDO
cd ../spandsp-0.0.6/
make clean
./configure
make
make install
echo "/usr/local" > /etc/ld.so.conf.d/spandsp.conf
echo "/usr/local/lib" >> /etc/ld.so.conf.d/spandsp.conf
cd ../dahdi-linux-complete-2.10.2+2.10.2/
make clean
make all
make install
make config (ADICIONA NA INICIALIZAÇÃO)
cd libpri-1.6.0/
make clean
make
make install
cd ../asterisk-certified-13.18-cert3/
make clean
./configure --prefix=/usr --libdir=/usr/lib$(getconf LONG_BIT | grep "64")
make menuselect
Applications -> App_meetme *marcar opção
Call Detail Recording -> Postgresql (cdr_pgsql) *marcar opção
make
make install
make samples
make config (ADICIONA NA INICIALIZAÇÃO)