[asterisk-bugs] [Asterisk 0014685]: When using IMAP voicemail storage, you cannot retrieve messages by logging into VoicemailMain()

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 3 09:32:08 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14685 
====================================================================== 
Reported By:                BlargMaN
Assigned To:                lmadsen
====================================================================== 
Project:                    Asterisk
Issue ID:                   14685
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     ready for testing
Target Version:             1.6.1.0
Asterisk Version:           1.6.1.0-rc2 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-17 09:51 CDT
Last Modified:              2009-04-03 09:32 CDT
====================================================================== 
Summary:                    When using IMAP voicemail storage, you cannot
retrieve messages by logging into VoicemailMain()
Description: 
I can not get MWI working on 1.6.1.0-rc2.

I am using IMAP Storage, and no matter what, * does not report that I have
voicemail.  No new and no old.  Even if I have 20 old voicemails and 5 new,
it will say I have no messages at all.
====================================================================== 

---------------------------------------------------------------------- 
 (0102669) svnbot (reporter) - 2009-04-03 09:32
 http://bugs.digium.com/view.php?id=14685#c102669 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 186286

U   trunk/apps/app_voicemail.c

------------------------------------------------------------------------
r186286 | mmichelson | 2009-04-03 09:32:06 -0500 (Fri, 03 Apr 2009) | 20
lines

Fix the ability to retrieve voicemail messages from IMAP.

A recent change made interactive vm_states no longer get
added to the list of vm_states and instead get stored in
thread-local storage.

In trunk and all the 1.6.X branches, the problem is that
when we search for messages in a voicemail box, we would
attempt to update the appropriate vm_state struct by directly
searching in the list of vm_states instead of using the
get_vm_state_by_imap_user function. This meant we could not
find the interactive vm_state that we wanted.

(closes issue http://bugs.digium.com/view.php?id=14685)
Reported by: BlargMaN
Patches:
      14685.patch uploaded by mmichelson (license 60)
Tested by: BlargMaN, qualleyiv, mmichelson


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-03 09:32 svnbot         Note Added: 0102669                          
======================================================================




More information about the asterisk-bugs mailing list