I moved from debian to ubuntu for my asterisk server.
I resolved all migration issues except one.
Voicemail does not work
asterisk*CLI> voicemail show users
Context Mbox User Zone NewMsg
default 6001 Bram Diederik 0
mailbox from 0
other 1234 Company2 User 0
3 voicemail users configured.
-- Executing [5001@users:1] Log("PJSIP/6002-00000001", "NOTICE, Dialing local from "Bram Diederik" <6002> to voicemail Main") in new stack
[Nov 20 14:48:35] NOTICE[17654][C-00000002]: Ext. 5001:1 @ users: Dialing local from "Bram Diederik" <6002> to voicemail Main
[Nov 20 14:48:35] WARNING[17654][C-00000002]: pbx.c:2925 pbx_extension_helper: No application 'VoiceMailMain' for extension (users, 5001, 2)
== Spawn extension (users, 5001, 2) exited non-zero on 'PJSIP/6002-00000001'
-- Executing [5002@users:1] Log("PJSIP/6002-00000002", "NOTICE, Dialing local from "Bram Diederik" <6002> to voicemail") in new stack
[Nov 20 14:48:41] NOTICE[17656][C-00000003]: Ext. 5002:1 @ users: Dialing local from "Bram Diederik" <6002> to voicemail
[Nov 20 14:48:41] WARNING[17656][C-00000003]: pbx.c:2925 pbx_extension_helper: No application 'VoiceMail' for extension (users, 5002, 2)
== Spawn extension (users, 5002, 2) exited non-zero on 'PJSIP/6002-00000002'
exten => 5001,1,Log(NOTICE, Dialing local from ${CALLERID(all)} to voicemail Main)
exten => 5001,n,VoiceMailMain(6001@default,u)
exten => 5001,n,Hangup()
exten => 5002,1,Log(NOTICE, Dialing local from ${CALLERID(all)} to voicemail)
exten => 5002,n,VoiceMail(6001@default,u)
exten => 5002,n,Hangup()
[default]
; Note: The rest of the system must reference mailboxes defined here as mailbox@default.
6001 => 1234,Bram Diederik,bram@mail.com