[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 14:51:33 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 14:51 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0101282) lmadsen (administrator) - 2009-03-05 14:51
 http://bugs.digium.com/view.php?id=13853#c101282 
---------------------------------------------------------------------- 
OK, I've done some more testing here. It seems I've gotten this IMAP stuff
to work reasonably well now.

Without the patch, both mailboxes update to the same NewMsg count. With
the patch, it appears to now be accurate, and the MWI stuff seems to work
correctly.

However I think it has confused VoicemailMain() now because when I login
to either mailbox, it doesn't know about the new msgs, and tells me I have
no msgs at all, even though I should have about 5 old msgs, and 1 or 2 new
msgs (depending on which box I login to). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-05 14:51 lmadsen        Note Added: 0101282                          
======================================================================




More information about the asterisk-bugs mailing list