Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Installation tutorial for PBX server

Shulou Source: shulou.com Published: 2022-06-01 01:09:22 09月13日 Update

This article mainly explains the "PBX server installation tutorial", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and study the "PBX server installation tutorial" bar!

0x0 introduction

Here we are mainly talking about (based on LINUX) ippbx or sippbx this kind of server is mainly used for call center network phone server internal phone and so on.

Although many call center products have their own independent box systems, here we are talking about using a PC or ordinary server to build a PBX server.

The hardware requires the operator's dedicated lines, repeaters and voice cards.

The openVOX hardware used on this side of the voice card also needs to be driven separately.

Main steps of 0x1

System environment CENTOS 6.864

The software part of IPPBX is mainly apache+mysql+asterisk, C and various support libraries, and so on.

1. Install gcc

2.gccWhile cations +

3. Install mysql

4.mysql-server

5.mysql-devel

6. Try to start mysql

7. Install libpri

8. Install the package required for asterisk: bison,bison-devel,ncurses,ncurses-devel

9. Install asterirk-addons

10.asterisk-rvvvvv

11.DB gives permissions and opens users

twelve。 Modify / etc/asterisk/cdr_mysql.conf

Hostname= database ip

User=***

Password=***

Sock=/**/***/mysql.sock

Asterisk-rvvvvvv

Cdr mysql status to see if it is connected to the database

13. Install http

Mkdir / usr/local/apache create a directory

Chown-R root.root *

Chmod 755 *

. / configure-prefix=/usr/local/apache

14. Install DBI-1.620

Perl Makefile.PL

See that Look good,writing xxx stands for ok

15. Install DBD-mysql

Perl Makefile.PL

See that mysql_config,look good stands for ok

Install php

Mkdir / usr/local/php

/ configure-- prefix=/usr/local/php-- with-apxs2=/usr/local/apache/bin/apxs-- with-mysql=/var/lib/mysql/-- with-libxml-dir=/usr/include/libxml2-- enable-sockets-- enable-mbstring

Cp php.ini-dist / usr/local/php/lib/php.ini

Change register_globals = Off to On

Configure httpd.conf to make apache support PHP

# vi / usr/local/apache/conf/httpd.conf

Find AddType application/x-gzip .gz .tgz and add the following under it

AddType application/x-httpd-php .php

AddType application/x-httpd-php-source .phps

Find # LoadModule foo_module modules/mod_foo.so

Add LoadModule php5_module modules/libphp5.so

Thank you for reading, the above is the "PBX server installation tutorial" content, after the study of this article, I believe you have a deeper understanding of the PBX server installation tutorial, the specific use of the need for you to practice and verify. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Server service tutorial content learning representative call center data database phone hardware system voice voice card call support ordinary repeater internal that is Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Shulou Information OPPO Reno macOS vpn