Open ptruman opened 4 years ago
Add the following to your /etc/asterisk/modules.conf
noload = app_voicemail_odbc.so
noload = app_voicemail_imap.so
ODBC/IMAP support has been compiled in the voicemail compilation options (menuconf) which results in the "VoiceMailMain" application from not loading during startup of the app_voicemail.so module if ODBC/IMAP is unconfigured.
Prior to disabling modules (asterisk CLI):
core show application VoiceMailMain
Your application(s) is (are) not registered
After disabling modules: -= Info about application 'VoiceMailMain' =- ....
Hope it helps
{EDIT} re-read your message I've added those two modules to "excluded" via the FreePBX frontend and restarted and that's done it....
Many thanks
I think you misunderstood - you should keep the app_voicemail.so module in the load section but you should unload both the odbc and imap module and restart Asterisk. Verify voicemail works by using the below in the Asterisk. CLI core show application VoiceMailMain
EDIT: Great :-)
See above - crossed over. @tiredofit - this may be one to default exclude in configs :)
I'll push a new image shortly.
Many thanks @wezhunter-unitii for finding this.
I've pushed a new commit and Docker Hub is building a new 15-latest
and 15-5.0.2
tag. Should be available within a couple hours.
Images are live..
Posted this in error as a comment on my other (permission related) item.
I now have the docker instance starting (prior issue was noexec on fstab) - but I'm now getting:
2020-06-24 09:20:43] WARNING[22455][C-0000002a]: pbx.c:2927 pbx_extension_helper: No application 'VoiceMailMain' for extension (from-internal, *97, 120)
I had issues initially with nat (I'm running this under macvlan) which I've solved - SIP trunks work fine with 2 way audio now, but voicemail won't play
Initially the app_voicemail.so module was not loaded, so I've fixed that (and amended res_mwi which was blocking it) - and I can call *98 to be given a "Mailbox?" prompt - but entering the correct password for any, drops immediately, with the above prompt. Is something missing in the user .conf?
Checking my older installation, this image doesn't seem to have made /var/spool/asterisk/voicemail/default - only /var/spool/asterisk/voicemail/device exists - unless those are made once the app inits?
The voicemail admin menu shows I have 2 "Unactivated" mailboxes - (I have 2 extensions set up).
extensions_additional.conf definitely has the voicemailmain context in, which is (almost) identical to my FPBX14 setup (just a differing order on the lines)