No application 'VoiceMailMain'

I have seen this error a few times but have had no success at fixing it.

Asterisk 20, FreePBX 17.

asterisk-voicemail-20.15.2-1.el8.x86_64
asterisk-voicemail-imap-20.15.2-1.el8.x86_64
asterisk-voicemail-odbc-20.15.2-1.el8.x86_64

We have a single mailbox that is at the end of a RingAll group and that all can access. On our earlier version (FreePBX 15/16 & Asterisk 13) it worked very well.

module show like voice

Module Description Use Count Status Support Level
app_voicemail.so Comedian Mail (Voicemail System) 0 Running core
app_voicemail_imap.so Comedian Mail (Voicemail System) with IM 0 Not Running core
app_voicemail_odbc.so Comedian Mail (Voicemail System) with OD 0 Not Running core
3 modules loaded

The imap/odbc ones are blacklisted in modules.conf

noload = app_voicemail_odbcstorage.so
noload = app_voicemail_plain.so
noload = res_pjsip_send_to_voicemail.so

Wen we dial the mail box with *98 we can see this error:

[2026-06-15 18:19:32] WARNING[186727][C-00000008]: pbx.c:2943 pbx_extension_helper: No application ‘VoiceMailMain’ for extension (from-internal, dvm9999, 7)

asterisk*CLI> module reload app_voicemail.so
Module ‘app_voicemail.so’ reloaded successfully.

core show application VoiceMailMain
Your application(s) is (are) not registered
Command ‘core show application VoiceMailMain’ failed.

Doesn’t appear to be any obvious reason the app won’t load and I can’t see any other errors to point me in the right direction.

Any thoughts on where this is failing would be appreciated.

B. Rgds

John

These don’t blacklist any real modules. You’d want them to be app_voicemail_imap.so and app_voicemail_odbc.so

Hi and thanks for responding so promptly.

OK added via freebx Excluded modules:

noload = app_voicemail_odbcstorage.so
noload = app_voicemail_plain.so
noload = res_pjsip_send_to_voicemail.so
noload = app_voicemail_imap.so
noload = app_voicemail_odbc.so

And:

asteriskCLI> module reload app_voicemail.so
Module ‘app_voicemail.so’ reloaded successfully.
– Reloading module ‘app_voicemail.so’ (Comedian Mail (Voicemail System))

asteriskCLI> core show application VoiceMailMain
Your application(s) is (are) not registered
Command ‘core show application VoiceMailMain’ failed.

I can of course try a reboot…but one would think that should solve it? Have I missed something stupid? (Likely!)

You need to restart Asterisk. A reload won’t do it.

Bingo!!!

Thanks you so much - tearing my hair out all day!!

Have a great day.