chan-sccp / sccp_manager

SCCP Manager
19 stars 13 forks source link

Multiple errors while attempting to install on FreePBX 17 #98

Open FloppiTuna opened 1 week ago

FloppiTuna commented 1 week ago

Trying to install sccp_manager on FreePBX 17 results in a bunch of errors relating to deprecations, and undefined values:

image image

PROCHOTKILLER commented 1 week ago

Trying to install sccp_manager on FreePBX 17 results in a bunch of errors relating to deprecations, and undefined values:

image image

Hey This is the guide that i made after it worked for me.

Install FreePBX Distro with Asterisk 19 / Activate license

Change root password (type in shell) - passwd

Update Asterisk modules (type in shell) - fwconsole ma upgradeall / fwconsole reload

Install Asterisk-Dev and GIT (type in shell) - yum install git asterisk-devel

Start the tftp server (type in shell) - systemctl start tftp / systemctl enable tftp

Download chan-sccp (type in shell) - cd /usr/src / git clone https://github.com/chan-sccp/chan-sccp chan-sccp / cd chan-sccp

Install Chan-sccp (type in shell) - ./configure --enable-conference --enable-video --enable-distributed-devicestate --enable-advanced-functions / make -j2 / make install / make reload

Load chan-sccp in Asterisk (add both in gui) - noload = chan_skinny.so / load = chan_sccp.so

Reload Asterisk (type in shell) - fwconsole reload

####################################### Edit file that creates the database for sccp manager - nano /usr/src/chan-sccp/conf/mysql-v5_enum.sql file

Replace every line that contains this - ENGINE=INNODB DEFAULT CHARACTER SET utf8 COLLATE utf8mb4_general_ci;

with this - ENGINE=INNODB DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; ########################################

Create the database - mysql -u root asterisk < /usr/src/chan-sccp/conf/mysql-v5_enum.sql

Install sccp-manager (install from gui) - https://github.com/chan-sccp/sccp_manager/releases/tag/v14.5.0.4

reload permissions (type in shell) - fwconsole chown

reload asterisk (type in shell) - fwconsole reload

Then continue configuration in gui