Asterisk Voicemail IMAP storage
Asterisk Voicemail IMAP Storage
ver: Asterisk 1.4, SVN trunk and 1.4.0 (official release)Configuration in voicemail.conf
[general]
(...)
imapserver=hostname of IMAP server
;Here you may specify an alternate folder for voicemail.
;Needs to be created manually on server
imapfolder=Voicemail
in the Voicemail specification
[context]
mailboxno => PIN, user, email,, |imapuser=imap_user|imappasswd=imap_password
Requirements
Depends on c-client, and optionally SSLHowto
Note: The master user feature is available since dovecot 1.0-b4, Ubuntu 6.06 LTS (dapper) comes with 1.0-b3 and is therefore not usable out of the box, 6.10 (edgy) and the upcoming feisty come with 1.0-rc2 or later and work as described.Note: The master user feature is available since Citadel 7.22 and can be easily configured using a web-based interface.
Notes
- 1.4-beta3 IMAP storage does not work with c-client version imap-2006c1 (it's missing an inclusion of linkages.c, at least)
- SVN trunk (revision 48010) has a bug which stops IMAP user/pass login working (may only affect PLAIN authentication) - see bugtracker 8240
- With a workaround for bug 8420, I've got asterisk SVN trunk talking IMAP to dovecot, and it seems to work fine. For it to work sanely, you need to configure a master password file in dovecot.conf so you can login to IMAP with one generic account, and post messages to all users' inboxes
Comments
333Hangup problem
Thoughts??????????
333More information?
333Not working strait way with 1.4.0
[Jan 11 00:46:56] ERROR[21010]: app_voicemail.c:8337 mm_log: IMAP Error: Can't open mailbox {imap.free.fr:143/imap//user=xxxxxx}INBOX: invalid remote specification
I believe this is because of the // in the mailbox specification. In between the two / there should be imapflags but as none were specified. I'll try a fix.