Asterisk modules error

I just did a fresh installation for asterisk and after running “asterisk -vvvvvvvvvvgc” i am getting these errors in the end. Please how can i resolve these errors.

[Feb  4 03:01:11] WARNING[67533]: loader.c:2381 load_modules: Some non-required modules failed to load.
[Feb  4 03:01:11] ERROR[67533]: loader.c:2396 load_modules: chan_mobile declined to load.
[Feb  4 03:01:11] ERROR[67533]: loader.c:2396 load_modules: cdr_pgsql declined to load.
[Feb  4 03:01:11] ERROR[67533]: loader.c:2396 load_modules: cdr_radius declined to load.
[Feb  4 03:01:11] ERROR[67533]: loader.c:2396 load_modules: cdr_tds declined to load.
[Feb  4 03:01:11] ERROR[67533]: loader.c:2396 load_modules: cel_radius declined to load.
[Feb  4 03:01:11] ERROR[67533]: loader.c:2396 load_modules: cel_sqlite3_custom declined to load.
[Feb  4 03:01:11] ERROR[67533]: loader.c:2396 load_modules: cel_tds declined to load.
[Feb  4 03:01:11] ERROR[67533]: loader.c:2396 load_modules: cdr_sqlite3_custom declined to load.

Those are non-required modules as stated that failed to load, most likely because they aren’t configured. If you aren’t using any of them then you can ignore it.

1 Like

Ah okay, Thank you jcolp. I will configure these modules and check for errors

As I said, if you aren’t using them then you don’t need to do anything.

did you enable selinux?

I am working on Playback audio files that are provided with asterisk but when i dial my hard-phone extension from the CLI using console dial 390@from-internal i am not able to hear the audio and i get this error. Can you please tell me what configuration files do i need to configure for audio

    -- Executing [390@from-internal:2] Playback("Console/dsp", "tt-monkeys") in new stack
    -- <Console/dsp> Playing 'tt-monkeys.slin' (language 'en')
[Feb  4 06:07:17] WARNING[88980][C-00000001]: chan_oss.c:498 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory
[Feb  4 06:07:18] WARNING[88980][C-00000001]: chan_oss.c:498 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory
[Feb  4 06:07:19] WARNING[88980][C-00000001]: chan_oss.c:498 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory
[Feb  4 06:07:20] WARNING[88980][C-00000001]: chan_oss.c:498 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory
[Feb  4 06:07:21] WARNING[88980][C-00000001]: chan_oss.c:498 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory

No i am not using selinux and i disabled firewall for asterisk ports

After troubleshooting and testing the audio files i realised that i cannot dial calls and use Playback feature from the CLI, but it works for ARI app or dialing from another extension.