chan-sccp / sccp_manager

SCCP Manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problems on fresh install of FreePBX 16

pelowj opened this issue · comments

Hi all,

I'm having endless trouble with SCCP Manager on a fresh install of a FreePBX distro (SNG7-PBX16-64bit-2203-1) running FreePBX 16.0.19 with Asterisk 16.25.0.

chan_sccp is installed and appears to be running correctly. I then add version 14.3.0.13 of the module and install via fwconsole in the cli. This completes successfully and I then upgrade to 14.5.0.4 via fwconsole ma upgrade sccp_module.

After applying the config Sccp Connectivty shows and all seems ok, except all the Sccp Connectivity options are extremely slow to load – ~15 sec to load the Phones Manager and another ~15 sec to load the extensions list. Nothing is shown in the logs during this delay as far as I can see. This is repeated on every page. The rest of FreePBX is quick to load so I don't think it's a DNS issue as is often the case with a slow loads in FreePBX.

I manage to add a couple of phones and then I start receiving various PHP errors on commit, including:

Undefined index: ntp_config_enabled
File:/var/www/html/admin/modules/sccp_manager/sccpManClasses/xmlinterface.class.php:236

(when trying to update devices)

Undefined index: ccm_address
File:/var/www/html/admin/modules/sccp_manager/sccpManTraits/ajaxHelper.php:465

(when trying to update server config)

I can't recover from these errors and can no longer make changes once they start happening.

I've never used sccp manager before so I'm a bit lost on troubleshooting the issue. I also don't understand why it wouldn't be working on a totally fresh distro install.

Screenshot 2022-04-23 at 12 44 07

Any help appreciated.

-James

I ran the following commands to fix ntp_config_enabled problems. Run at your own risk!

Run fwconsole mysql from your PBX.
Then run the following command INSERT INTO sccpsettings VALUES ('ntp_config_enabled', 'off', 98, 2, 'off');

You will need to run a similar command for ccm_address, but I'm not sure what should go in there right now.

I believe the cause of this is not all the default values are not being put into the database.

EDIT: My ntp_config_enabled fix was temporary. It is not staying in the DB. I will have to poke further.
EDIT2: Changing ntp_config_enabled to on seems to make it persistent.