Some Core Asterisk Modules Just Kinda Disappeared

So I ran asterisk-version-switch a few times to switch between 22, 20 and 18 for an experiment

But now on startup im getting:

6864[2025-10-09 14:45:41] ERROR[1986472] loader.c: Error loading module 'chan_local.so': /lib/x86_64-linux-gnu/asterisk/modules/chan_local.so: cannot open shared object file: No such file or directory
6865[2025-10-09 14:45:41] ERROR[1986472] loader.c: Error loading module 'chan_dahdi.so': libpri.so.1.4: cannot open shared object file: No such file or directory
6866[2025-10-09 14:45:41] ERROR[1986472] loader.c: Error loading module 'pbx_lua.so': liblua5.2.so.0: cannot open shared object file: No such file or directory
6867[2025-10-09 14:45:41] ERROR[1986472] loader.c: Error loading module 'res_pjsip_phoneprov_provider.so', missing dependency: res_phoneprov
6868[2025-10-09 14:45:41] ERROR[1986472] loader.c: res_timing_dahdi declined to load.
6869[2025-10-09 14:45:41] ERROR[1986472] loader.c: chan_mobile declined to load.
6870[2025-10-09 14:45:41] ERROR[1986472] loader.c: cel_sqlite3_custom declined to load.
6871[2025-10-09 14:45:41] ERROR[1986472] loader.c: cdr_sqlite3_custom declined to load.
6872[2025-10-09 14:45:41] ERROR[1986472] loader.c: cdr_csv declined to load.
6873[2025-10-09 14:45:41] ERROR[1986472] loader.c: res_hep_rtcp declined to load.
6874[2025-10-09 14:45:41] ERROR[1986472] loader.c: res_hep_pjsip declined to load.

The kicker? FPBX works 100% fine. But i prefer to fix these.

The chan_local module hasn’t existed for numerous years at this point. The chan_dahdi module didn’t load because libpri seems to be missing. The pbx_lua module didn’t load because the LUA library seems to be missing.

The rest, to the best of my knowledge, aren’t really used by FreePBX. You’d only notice something if you were using DAHDI based hardware.

2 Likes

Interesting. What is causing asterisk to want to load these? Is this default behavior or related to the numerous upgrades/downgrades I’ve performed.

And how can I add back in the missing modules

It’s either been told to load the module (in the case of chan_local) or the modules do exist in the Asterisk modules directory, which would cause it to try to automatically load them. I can’t help on the FreePBX side, I can only clarify Asterisk behavior/messages.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.