Asterisk Telegram -

FreePBX Asterisk

FreePBX 13 CentOS 7

FreePBX "" Asterisk

! Asterisk 14.3.0 . , . , , FreePBX 13 Asterisk 14 . , Asterisk CentOS 7. !


, Firewall. , web-, 80 (http). root :

firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd -reload

MariaDB (MySQL). , , FreePBX mariadb :

systemctl enable mariadb.service
systemctl start mariadb

, mariadb , , :

mysql_secure_installation

web-, FreePBX Apache Web Server, :

systemctl enable httpd.service
systemctl start httpd.service

Apache:

sed -i 's/\(^upload_max_filesize = \).*/\120M/' /etc/php.ini
sed -i 's/^\(User\|Group\).*/\1 asterisk/' /etc/httpd/conf/httpd.conf
sed -i 's/AllowOverride None/AllowOverride All/' /etc/httpd/conf/httpd.conf

:

systemctl restart httpd.service

FreePBX 13

, . FreePBX:

cd /usr/src
wget http://mirror.freepbx.org/modules/packages/freepbx/freepbx-13.0-latest.tgz

, :

cd /usr/src
tar xfz freepbx-13.0-latest.tgz
rm -f freepbx-13.0-latest.tgz
cd freepbx
./start_asterisk start
./install n
Reading /etc/asterisk/asterisk.conf...Error!
Unable to read /etc/asterisk/asterisk.conf or it was missing a directories section
, asterisk.conf, /etc/asterisk. (!) s [directories]
Checking if Asterisk is running and we can talk to it as the 'asterisk' user...Error!
Error communicating with Asterisk. Ensure that Asterisk is properly installed and running as the asterisk user
Asterisk does not appear to be running
Try starting Asterisk with the './start_asterisk start' command in this directory
, Asterisk service asterisk start
Invalid Database Permissions. The error was: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO) ./install ./install -n . , , database password . , root
Error(s) have occured, the following is the retrieve_conf output: exit: 1
Exception: Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting in file /var/lib/asterisk/bin/retrieve_conf on line 11
Stack trace:
1. Exception->() /var/lib/asterisk/bin/retrieve_conf:11
, web- FreePBX, Can Not Connect to Asterisk. , amportal (fwconsole) , . , :

amportal a m
mysql> UPDATE freepbx_settings SET value='amp111' WHERE keyword='AMPMGRPASS';

, FreePBX:

 FreePBX 13  CentOS 7

web- FreePBX 13, Asterisk. :

   FreePBX 13 Dashboard  FreePBX 13  CentOS 7

, .htaccess files are disable on this webserver. Please enable them. . . /etc/httpd/conf/httpd.conf, AllowOverride c None All

 htaccess files are disable on this webserver. Please enable them

service httpd restart

. :)

FreePBX 13    Asterisk

, /etc/my.conf [mysqld]:

character-set-server=utf8
collation-server=utf8_unicode_ci

?

 .

P.S. , :)

"",