[asterisk-bugs] [Asterisk 0013673]: [patch] Addition of a Mailbox id facility to allow shared mailboxes to work

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 5 14:47:52 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13673 
====================================================================== 
Reported By:                howardwilkinson
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   13673
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.21.2 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-10-11 06:27 CDT
Last Modified:              2009-02-05 14:47 CST
====================================================================== 
Summary:                    [patch] Addition of a Mailbox id facility to allow
shared mailboxes to work
Description: 
When a user is set up to share a mailbox using IMAP as the backing store
then messages posted into the mailbox are only visible to that user. For
example
with 2 users having the following voice mailbox definitions:

6000 => 6000,Shared mailbox,shared at example.com,,|imapuser=sharedmail
6001 => 6001,Shared mailbox,shared at example.com,,|imapuser=sharedmail

the voicemail is stored in a common folder and can be accessed via a mail
client as common data but each user receives just the messages that were
left for them.

I have implemented a patch against 1.4.21.2 which adds a new option
'imapmbxid' that allows all users to see all messages left for that mbxid.

This is used as follows.

6000 => 6000,Shared
mailbox,shared at example.com,,|imapuser=sharedmail,imapmbxid=6000
6001 => 6001,Shared
mailbox,shared at example.com,,|imapuser=sharedmail,imapmbxid=6000

and then when retrieving records the users are presented with all of the
records.

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
child of            0013653 [patch] Shared IMAP mailboxes can cause...
====================================================================== 

---------------------------------------------------------------------- 
 (0099551) svnbot (reporter) - 2009-02-05 14:47
 http://bugs.digium.com/view.php?id=13673#c99551 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 173696

U   branches/1.4/apps/app_voicemail.c

------------------------------------------------------------------------
r173696 | jpeeler | 2009-02-05 14:47:51 -0600 (Thu, 05 Feb 2009) | 12
lines

Add new configuration option to make shared IMAP mailboxes function as
expected.

The new option is "imapvmshareid" which is an ID to tag multiple mailboxes
using the same IMAP storage location to function as one mailbox. This
allows
all messages to be retrieved for any user in the group. The patch alters
the
'X-Asterisk-VM-Extension' header that is responsible for matching
voicemails
for a given user.

(closes issue http://bugs.digium.com/view.php?id=13673)
Reported by: howardwilkinson


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=173696 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-05 14:47 svnbot         Checkin                                      
2009-02-05 14:47 svnbot         Note Added: 0099551                          
======================================================================




More information about the asterisk-bugs mailing list