Ticket #1957 (closed Feature Requests: fixed)

Opened 5 years ago

Last modified 3 years ago

Add support for IMAP storage of voicemail

Reported by: rjch Assigned to:
Priority: minor Milestone: 2.6
Component: Voicemail Version: 2.5-branch
Keywords: Cc:
Confirmation: Unreviewed SVN Revision (if applicable):
Backend Engine: Asterisk 1.4.x Backend Engine Version:

Description

The addition of IMAP storage in Asterisk 1.4 is a feature a lot of people are hoping to implement. It'd be really good to see support for this included in FreePBX

Attachments

vm_general.inc-patch-imap storage.diff (0.8 kB) - added by drmessano on 05/11/09 01:49:03.
voicemail-functions.inc.php-patch-imap storage.diff (4.5 kB) - added by drmessano on 05/11/09 01:49:20.

Change History

(follow-up: ↓ 2 ) 05/26/07 13:52:42 changed by p_lindheimer

  • engine changed from All to Asterisk 1.4.x.

yup - when 1.4 specific work comes along, we can look at this.

(in reply to: ↑ 1 ) 01/18/08 09:17:05 changed by sakodak

Replying to p_lindheimer:

yup - when 1.4 specific work comes along, we can look at this.

All that needs to happen is to 1) have a page to set up the imap specific directives in voicemail.conf (this page would probably be a good place to put other voicemail customizations, like the format of the email messages) and 2) change the extension pages so that there is a place for imapuser and imappassword.

The imap configuration directives in voicemail.conf are:

imapserver=<name or IP address of IMAP mail server> imapport=<IMAP port, defaults to 143> imapflags=<IMAP flags, "novalidate-cert" for example> expungeonhangup=<yes or no> authuser=<username> authpassword=<password> pollmailboxes=<yes or no> pollfreq=<how often to poll mailboxes for MWI status in seconds>

The only hurdle at this point is figuring out if a particular asterisk binary has IMAP support compiled in or if it's flat files. I haven't been able to find a good way to tell, and the two storage options are currently mutually exclusive -- if IMAP is enabled it's system wide, and it disables the traditional voice mail store. If we can send a manager command then we can dynamically figure out which options to send, otherwise we just have to have a global option somewhere for the user to tell us if they're using IMAP or not.

01/18/08 09:19:34 changed by sakodak

Sorry, the directives didn't copy and paste very well:

imapserver=<name or IP address of IMAP mail server>
imapport=<IMAP port, defaults to 143>
imapflags=<IMAP flags, "novalidate-cert" for example>
expungeonhangup=<yes or no>
authuser=<username>
authpassword=<password>
pollmailboxes=<yes or no>
pollfreq=<how often to poll mailboxes for MWI status in seconds>

05/11/09 01:49:03 changed by drmessano

  • attachment vm_general.inc-patch-imap storage.diff added.

05/11/09 01:49:20 changed by drmessano

  • attachment voicemail-functions.inc.php-patch-imap storage.diff added.

05/11/09 01:53:02 changed by drmessano

  • confirmation set to Unreviewed.
  • version changed from SVN-HEAD to 2.5-branch.
  • milestone changed from 3.0 to 2.6.

Adding patches for the voicemail module and default config. This should be trivial to implement now. Username/password config is per user on their extension/user page, and the rest are configured globally in vm_general.inc.

05/13/09 18:45:23 changed by xrobau

(In [7722]) Add comments to support Voicemail storage on IMAP. See #1957

05/13/09 19:00:00 changed by xrobau

  • status changed from new to closed.
  • resolution set to fixed.

Applied in r7723 - thanks!

05/13/09 23:59:49 changed by mickecarlsson

(In [7724]) Re #1957, updates language template and Swedish language