Загрузка страницы

How to install Asterisk 13 on Cent OS 6

How to install Asterisk 13 on Cent OS 6.

How to Install Asterisk 13 and PJSIP on CentOS 6.
#asterisk #asterisx #centos #epbax
1 yum update

2 yum install -y epel-release dmidecode gcc-c++ ncurses-devel libxml2-devel make wget openssl-devel newt-devel kernel-devel sqlite-devel libuuid-devel gtk2-devel jansson-devel binutils-devel
install pjproject

Next you will download and install the pjproject sip library directly from pjsip.org. But first we’ll change directories to work in the
/usr/src directory.

3 cd /usr/src
4 wget http://www.pjsip.org/release/2.3/pjproject-2.3.tar.bz2

5 tar -jxvf pjproject-2.3.tar.bz2

This will create the pjproject-2.3 directory. Change to this directory and run the following set of commands to build and install the pjproject sip library.

6 cd pjproject-2.3

7 ./configure CFLAGS="-DNDEBUG -DPJ_HAS_IPV6=1" --prefix=/usr --libdir=/usr/lib64 --enable-shared --disable-video --disable-sound --disable-opencore-amr

8 make dep
9 make
10 make install
11 ldconfig

And finally this next command will verify the pjsip libraries have been dynamically linked.

12 ldconfig -p | grep pj

Your output should look something like this:


Install Asterisk 13

Now we’ll download and install the Asterisk 13 branch from source. First we’ll change directory up one level to /usr/src.

13 cd ..

Then we’ll use the wget command to download the tarball from downloads.asterisk.org.

14 wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz
Next the tar command will unpack the Asterisk source code into a new directory named asterisk-13-current. Then we’ll go to the new directory.

15 tar -zxvf asterisk-13-current
16 cd asterisk-13-current

17 ./configure --libdir=/usr/lib64

Next you will run the make menuselect command. This step will verify if the pjsip channel driver dependencies have been successfully installed.

18 make menuselect

After exiting the menu, select screen the next set of commands will build and install Asterisk along with a set of sample configuration files.

19 make && make install
20 make samples

If you want Asterisk to start at boot time use the following command to setup the Asterisk service.

21 make config

And finally, run the command “service asterisk start” to immediately begin the Asterisk service without the need to reboot first.

Видео How to install Asterisk 13 on Cent OS 6 канала SJ Technics
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
11 июля 2018 г. 17:40:20
00:08:49
Яндекс.Метрика