Install asterisk-voicemail-imapstorage by entering the following commands in the terminal:
sudo apt update sudo apt install asterisk-voicemail-imapstorage
IMAP voicemail storage support for the Asterisk PBX
Asterisk is an Open Source PBX and telephony toolkit. . This package includes an IMAP-based voicemail storage: storing the voicemail in a remote IMAP mail boxes. While more complex to set up, it may be useful in some settings. . For more information about the Asterisk PBX, have a look at the Asterisk package.