freePBX 15 - Asterisk version switch from 13 to 16 - several asterisk modules declined to load in the log


(R. Stindl) #1

Since I am the more conservative guy, I still use Asterisk 13 on several freePBX 15 machines. Now I did a version switch on one machine from Asterisk 13 to 16 and see many Asterisk modules declined to load in the log. Everything seems to be fine and I started to add these modules to the Asterisk excluded modules (e.g. chan_local.so, chan_mobile.so, chan_ooh323.so, chan_skinny.so, res_hep.so, res_hep_rtcp.so, res_hep_pjsip.so, res_pjsip_phoneprov_provider.so and a few more).

Just to be sure I wanted to ask, if this is a normal phenomenon when someone upgrades to Asterisk 16 (freePBX distro).

This is the situation, once I already excluded several modules (see above)…and it’s all red in the log:

6113	[2021-06-03 09:36:15] WARNING[3558] loader.c: Some non-required modules failed to load.	
6114	[2021-06-03 09:36:15] ERROR[3558] loader.c: res_pjsip_transport_websocket declined to load.	
6115	[2021-06-03 09:36:15] ERROR[3558] loader.c: app_agent_pool declined to load.	
6116	[2021-06-03 09:36:15] ERROR[3558] loader.c: res_calendar declined to load.	
6117	[2021-06-03 09:36:15] ERROR[3558] loader.c: Declined modules which depend on res_calendar: res_calendar_caldav, res_calendar_ews, res_calendar_exchange, res_calendar_icalendar	
6118	[2021-06-03 09:36:15] ERROR[3558] loader.c: cdr_csv declined to load.	
6119	[2021-06-03 09:36:15] ERROR[3558] loader.c: cdr_manager declined to load.	
6120	[2021-06-03 09:36:15] ERROR[3558] loader.c: cdr_odbc declined to load.	
6121	[2021-06-03 09:36:15] ERROR[3558] loader.c: app_alarmreceiver declined to load.	
6122	[2021-06-03 09:36:15] ERROR[3558] loader.c: app_festival declined to load.	
6123	[2021-06-03 09:36:15] ERROR[3558] loader.c: app_followme declined to load.	
6124	[2021-06-03 09:36:15] ERROR[3558] loader.c: chan_phone declined to load.	
6125	[2021-06-03 09:36:15] ERROR[3558] loader.c: chan_unistim declined to load.	
6126	[2021-06-03 09:36:15] ERROR[3558] loader.c: pbx_ael declined to load.	
6127	[2021-06-03 09:36:15] ERROR[3558] loader.c: pbx_dundi declined to load.	
6128	[2021-06-03 09:36:15] ERROR[3558] loader.c: pbx_lua declined to load.	
6129	[2021-06-03 09:36:15] ERROR[3558] loader.c: res_pktccops declined to load.	
6130	[2021-06-03 09:36:15] ERROR[3558] loader.c: func_odbc declined to load.	
6131	[2021-06-03 09:36:15] VERBOSE[3558] asterisk.c: Asterisk Ready.

(Itzik) #2

AFAIK, these modules will decline to load if there’s no conf file for that module.

To try that, you can create a func_odbc.conf under /etc/asterisk, make sure you set the right permissions and restart Asterisk.

Then, check if you still see this:

…in the log.


(R. Stindl) #3

Thanks a lot…I did this with previous errors, where it said that the config is missing…didn’t know that it also applies to these errors…


(Dave Burgess) #4

As the resident prosthetist for Chan-SCCP-B, I always recommend against chan_skinny.so in favor of chan_sccp.so. There is a Github SCCP Management module that works with Chan-SCCP-B, so using Chan-Skinny is harder than it needs to be.


#5

Do you really need res_pktccops app_alarmreceiver app_festival etc ?

It is always a good thing to load as few modules as are needed


(R. Stindl) #6

No…I dont need those modules…the funny thing is, I just upgraded from 13 to 16 and these messages showed up in the log. I added most of them to the excluded modules. I just dont want to break things!