Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems on fresh install of FreePBX 16 #83

Open
pelowj opened this issue Apr 23, 2022 · 1 comment
Open

Problems on fresh install of FreePBX 16 #83

pelowj opened this issue Apr 23, 2022 · 1 comment

Comments

@pelowj
Copy link

pelowj commented Apr 23, 2022

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

@pelowj pelowj changed the title Problems on fresh install of FreeBBX 16 Problems on fresh install of FreePBX 16 Apr 23, 2022
@volkjohn
Copy link
Contributor

volkjohn commented Aug 29, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants