sccp_manager icon indicating copy to clipboard operation
sccp_manager copied to clipboard

Multiple errors while attempting to install on FreePBX 17

Open FloppiTuna opened this issue 1 year ago • 5 comments

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

image image

FloppiTuna avatar Sep 17 '24 02:09 FloppiTuna

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

PROCHOTKILLER avatar Sep 21 '24 10:09 PROCHOTKILLER

Has this worked @FloppiTuna?

daqnxx avatar Oct 17 '24 18:10 daqnxx

I'm also having this issue on a Debian system running Asterisk 20.10.0/FreePBX 17.1

bottleworks avatar Nov 23 '24 13:11 bottleworks

Has this worked @FloppiTuna?

Unfortunately it didn't seem to work when I tried it. Maybe I did something wrong though. At the moment i'm just using FreePBX 16 rather than the more recent 17.

FloppiTuna avatar Nov 23 '24 15:11 FloppiTuna

After a little bit of tinkering it seems that the issue is not chan_sccp (I believe), but rather the switch from PHP 7 to PHP 8 in the new FreePBX release. Has someone made a fork of sccp_manager that supports 8?

FloppiTuna avatar Feb 25 '25 18:02 FloppiTuna