[asterisk-bugs] [Asterisk 0013853]: mwi activates for more than one mailbox if they have the same mailbox name but different contexts.

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Mar 5 17:26:13 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13853 
====================================================================== 
Reported By:                vicks1
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   13853
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.4.22 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-11-06 20:11 CST
Last Modified:              2009-03-05 17:26 CST
====================================================================== 
Summary:                    mwi activates for more than one mailbox if they have
the same mailbox name but different contexts.
Description: 
this is due to asterisk only checking the X-Asterisk-VM-Mailbox header and
ignoring X-Asterisk-VM-Context when polling for mwis to activate. As such,
two different mailboxes have the same name in different contexts, both will
activate if a message is received in either which one of the mailboxes.

i have created a patch which i will submit ASAP.
====================================================================== 

---------------------------------------------------------------------- 
 (0101290) svnbot (reporter) - 2009-03-05 17:26
 http://bugs.digium.com/view.php?id=13853#c101290 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 180464

U   branches/1.4/apps/app_voicemail.c

------------------------------------------------------------------------
r180464 | mmichelson | 2009-03-05 17:26:12 -0600 (Thu, 05 Mar 2009) | 16
lines

[IMAP] Fix message retrieval issues when identical mailbox names were
defined in separate contexts.

There was a fix put in a while back so that an X-Asterisk-VM-Context
message header was
added to stored IMAP voicemails. This would allow for us to differentiate
if the same
mailbox name was used in multiple contexts. The problem still left was
that not all places
where messages were retrieved actually attempted to use this header for
information when
retrieving messages. This commit fixes that so that MWI and message
retrieval from VoiceMailMain
work as expected.

(closes issue http://bugs.digium.com/view.php?id=13853)
Reported by: vicks1
Patches:
      13853_v2.patch uploaded by mmichelson (license 60)
Tested by: lmadsen


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-05 17:26 svnbot         Checkin                                      
2009-03-05 17:26 svnbot         Note Added: 0101290                          
======================================================================




More information about the asterisk-bugs mailing list