Hi
I have tried this on Jammy and Mantic and no change to the issue.
This is standard output with the modules.conf file as installed
pbx-ub*CLI> module show like voicemail
Module Description Use Count Status Support Level
app_voicemail.so Comedian Mail (Voicemail System) 0 Not Running core
app_voicemail_imap.so Comedian Mail (Voicemail System) with IM 0 Running core
app_voicemail_odbc.so Comedian Mail (Voicemail System) with OD 0 Not Running core
the result
[2024-03-29 09:58:05] ERROR[572]: app_voicemail_imap.c:2816 inboxcount2: Couldn't find mailbox 501 in context default
-- AGI Script Executing Application: (VoiceMailMain) Options: (501)
[2024-03-29 09:58:06] WARNING[1147][C-00000001]: res_agi.c:3181 handle_exec: Could not find application (VoiceMailMain)
-- <SIP/501-00000000>AGI Script sarkhpe completed, returning 0
-- Auto fallthrough, channel 'SIP/501-00000000' status is 'UNKNOWN'
[2024-03-29 09:58:28] ERROR[572]: app_voicemail_imap.c:2816 inboxcount2: Couldn't find mailbox 501 in context default
[2024-03-29 09:58:39] ERROR[572]: app_voicemail_imap.c:2816 inboxcount2: Couldn't find mailbox 501 in context default[/size]
If we noload app_voicemail_imap.so we do not get the error messages "Couldn't find mailbox..." But still get "Could not find application (VoiceMailMain)"
In Ubuntu there is a package (deb) for VoiceMail but it is for asterisk 16.
asterisk-voicemail_16.2.1~dfsg-2ubuntu1_amd64.deb
and if we unload off app_voicemail_imap.so and use the app_voicemail.so we loose the Mailbox errors but still have no VoiceMailMain appication. See attached list
Any ideas on how to get voicemail back?
Thanks.
May have solved it
When we have this it works
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 Running core
app_voicemail_odbc.so Comedian Mail (Voicemail System) with OD 0 Not Running core
3 modules loaded
So the default is only app_voicemail_imap.so running but that does not load VoiceMailMain
module load app_voicemail.so
unloading the odbc module also works
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 Running core
But this should be set from modules.conf. Might try a preload in the conf file to get it automatically. It also solved another issue where trunks did not answer if linked to voicemail. Just dropped the call with a bye command.
From what I have been reading only 1 voicemail module should be loaded. But it seems voicemail_imap.so supports comedian Mail (ie) *51* although it answered on *50* and then fails the password.
If you load app_voicemail_imap.so from the modules.conf and then try and unload from the cli (which fails) and then load app_voicemail.so we get the VoiceMailMain application back.
Is there an answer to this riddle? How to get it back to being stable?
PBX release: 20.4.0
SAIL Release: 6.2.0-35
HPE Release: 6.0.0-9
Had to
unload app_voicemail_imap.so
and
load app_voicemail_imap
In the modules.conf so now phone calls get to the phone. Before the system sent a bye packet before the system rang.
But the voicemail gets the prompts but fails the password.