[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:28:34 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:                     closed
Asterisk Version:           1.4.22 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-11-06 20:11 CST
Last Modified:              2009-03-05 17:28 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0101293) svnbot (reporter) - 2009-03-05 17:28
 http://bugs.digium.com/view.php?id=13853#c101293 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 180467

_U  branches/1.6.1/
U   branches/1.6.1/apps/app_voicemail.c

------------------------------------------------------------------------
r180467 | mmichelson | 2009-03-05 17:28:33 -0600 (Thu, 05 Mar 2009) | 29
lines

Merged revisions 180465 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r180465 | mmichelson | 2009-03-05 17:26:58 -0600 (Thu, 05 Mar 2009) | 22
lines
  
  Merged revisions 180464 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r180464 | mmichelson | 2009-03-05 17:26:11 -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=180467 

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




More information about the asterisk-bugs mailing list