F
F
FlipWho2018-10-02 14:41:29
Asterisk
FlipWho, 2018-10-02 14:41:29

What is used to assemble soft VoIP PBX? Distributor names? Versions?

Hello. Until recently, I didn’t think about “taking away” a cloud PBX from a provider, but it’s so curtailed that you can’t even change music-on-hold ... Yes, and offices will soon be merged, if the Internet drops, at least internal phones will work.
Maybe someone will offer a fresh assembly instruction? Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Ryzhkin, 2018-10-02
@Franciz

I recommend installing centos + bare Asterisk. There are builds on the site.
Free is convenient in the way it was written above: further further further - use it out of the box. But as soon as you need to change something specific, then problems begin.
If you are sure that free will suit you and you will just call and use it by default - take it. Otherwise, I would advise a naked asterisk.

D
Dmitry Chervonobab, 2018-10-02
@maddimons

Use the ready-made FreePBX Distro distribution.
Further, further, further - everything is ready. Nothing needs to be collected, everything is already assembled by the freepbx developers.
If you really need instructions for installing Asterisk 13 on CentOS 7 x64:

Выключаем SeLinux и перезагружаемся
vim /etc/selinux/config
systemctl reboot
(sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config && systemctl reboot)

Обновляем ОС и удовлетворяем зависимости
yum update -y && yum install vim wget -y
yum group install "Development Tools"
yum -y install mariadb-server httpd php php-pear php-mysql php-process curl bison perl perl-CPAN openssl-devel kernel-devel audiofile-devel sox svn gcc-c++ make ncurses-devel libxml2-devel mysql-devel sqlite-devel mysql-connector-odbc uuid-devel uuid libuuid-devel rpm-build libcurl-devel libtool-ltdl-devel unixODBC-devel

Для realtime с внешней базой:
yum -y install curl bison perl perl-CPAN openssl-devel kernel-devel audiofile-devel sox svn gcc-c++ make ncurses-devel libxml2-devel mysql-devel sqlite-devel mysql-connector-odbc uuid-devel uuid libuuid-devel rpm-build libcurl-devel libtool-ltdl-devel unixODBC-devel

wget http://www.digip.org/jansson/releases/jansson-2.7.tar.gz && tar xf jansson-2.7.tar.gz && cd jansson-2.7
tar xf jansson-2.7.tar.gz
cd jansson-2.7
./configure --libdir=/usr/lib64
make
make install
целиком:
wget http://www.digip.org/jansson/releases/jansson-2.7.tar.gz && tar xf jansson-2.7.tar.gz && cd jansson-2.7 && ./configure --libdir=/usr/lib64 && make && make install

DAHDI и LIBPRI
„DAHDI (Digium/Asterisk Hardware Device Interface) is the open source device interface technology used to control Digium and other legacy telephony interface cards.” (DAHDI)

Установка DADHI:
Распакуем ТАРом
tar -xvf dahdi-linux-complete*
cd /usr/src/dahdi-linux-complete*
make && make install && make config

LIBPRI:

„LIBPRI is an open source library that encapsulates the protocols used to communicate over ISDN Primary Rate Interfaces (T1, E1, J1). „ (LIBPRI)

Эти библиотеки нам нужны, если у нас будут T1 или E1 каналы.

Установка LIBPRI:
Распакуем ТАРом
tar -xvf libpri*
cd /usr/src/libpri*
make && make install

REALTIME?
/     Установим ODBC MySQL коннектор и ODBC библиотеки
yum -y install unixODBC unixODBC-devel libtool-ltdl libtool-ltdl-devel     /

Сам Астериск
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-13.15.0.tar.gz
tar xf asterisk-13.15.0.tar.gz
cd asterisk-13.15.0
./configure --libdir=/usr/lib64
make menuconfig
Если необходимо MP3
contrib/scripts/get_mp3_source.sh
make
make install
make config - устанавливает INIT скрипт (скрипт запуска)
make install-logrotate - устанавливает и настраивает файлы ЛОГов
make samples - делает примеры конфигов

E
effko32, 2018-10-05
@effko32

asterisk now

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question