System information

web-based IMAP server such as that supplied by Google’s Gmail.
Our instructions are
going to show how to connect Asterisk to a Gmail account with IMAP enabled, as it
requires the least amount of effort to get up and running with IMAP voicemail, but
these instructions can easily be adapted for use with any existing IMAP server.
Enabling IMAP support on your Gmail account is
straightforward (see Figure 18-1). Once logged into your account, select Settings from
the upper-right corner. Then select Forwarding and POP/IMAP support from the task
bar under the Settings header. In the IMAP Access section, enable IMAP support by
selecting Enable IMAP. After enabling it, click the Save Changes button at the bottom
of the screen.
Figure 18-1. Enabling Gmail IMAP
To enable our voicemail system to connect to an IMAP
system, we need to make sure IMAP support has been built into the app_voicemail.so
module per the instructions in “Compiling Asterisk” on page 414. With IMAP support
compiled into Asterisk, we just need to instruct the voicemail module how to connect
to our IMAP server.
Enabling IMAP on your Gmail account.
Configuring voicemail.conf for IMAP.
We recently checked out the open source webmail project roundcube project as well, and we were quite
impressed.
VoiceMail IMAP Integration | 415