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

SCCP Manager not connecting to realtime database #90

Open
AZDPS opened this issue Mar 16, 2023 · 1 comment
Open

SCCP Manager not connecting to realtime database #90

AZDPS opened this issue Mar 16, 2023 · 1 comment

Comments

@AZDPS
Copy link

AZDPS commented Mar 16, 2023

Running FreePBX with SCCP Manager 14.5.0.4 on MariaDB 15.1, under SCCP Info my RealTime database doesn't seem to be connecting properly.

image

res_config_mysql.conf

[asterisk]
dbsock = /var/lib/mysql/mysql.sock
dbname = asterisk
dbuser = sccpman
dbpass = xxxxxxx

extconfig.conf

[settings]
;[alias] => [driver],[dbsection],[dbtablename]
sccpdevice => mysql,asterisk,sccpdeviceconfig
sccpline => mysql,asterisk,sccpline
@MakerHe
Copy link

MakerHe commented Nov 26, 2024

Facing similar issue before. Here are my steps to solve this.

WARNING message in asterisk console:
config.c:3153 find_engine: Realtime mapping for 'sccpdevice' found to engine 'mysql', but the engine is not available
Output of command "module show like res_config":
Module Description Use Count Status Support Level res_config_curl.so Realtime Curl configuration 0 Running core res_config_odbc.so Realtime ODBC configuration 0 Running core res_config_pgsql.so PostgreSQL RealTime Configuration Driver 0 Not Running extended 3 modules loaded

Issue cause: do not have "res_config_mysql.so" loaded
Reference: https://asterisk-users.digium.narkive.com/Nv01HkWv/realtime-ignoring-switch-realtime-context-realtime-ext

Solving steps:

  1. apt install asterisk-mysql
  2. asterisk -rx "module load res_config_mysql.so"

Everything fixed now.

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