In Parts 1, 2 and 3, we set up Asterisk as a PBX for four PSTN lines. We set up incoming and outgoing calling and restricted outgoing calls to authorized users only. Our fine example users Alrac, Stan and Ollie still need voice-mail. Our mission today is to give it to them.
Setting Up Voice-mail
Voice-mail is configured in /etc/asterisk/voice-mail.conf. The values you want are mailbox_number => password, username, plus optional e-mail, phone, or pager, because Asterisk can forward voice-mails or notifications to almost any device. Usually the mailbox number is the same as the extension number, but it can be anything you want