[asterisk-bugs] [Asterisk 0010487]: IMAP integration with MS Exchange crashes Asterisk-1.4.10.1

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Sep 21 08:55:48 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10487 
====================================================================== 
Reported By:                ewilhelmsen
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   10487
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.10.1  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-17-2007 12:59 CDT
Last Modified:              09-21-2007 08:55 CDT
====================================================================== 
Summary:                    IMAP integration with MS Exchange crashes
Asterisk-1.4.10.1
Description: 
When setting voicemail.conf to MS Exchange IMAP server I am able to record
a message and it will send to the users Exchange Inbox but when MS Exchange
sends an IMAP response to Asterisk it does not know the tagged response for
SEARCH and NOOP. After this Warning:

[Aug 17 10:59:19] WARNING[26191]: app_voicemail.c:8572 mm_log: IMAP
Warning: Unexpected tagged response: 0000003a OK SEARCH completed.
[Aug 17 10:59:19] WARNING[26204]: app_voicemail.c:8572 mm_log: IMAP
Warning: Unexpected tagged response: 0000003e OK NOOP
completed. 

Asterisk crashes and needs to be Ctrl-C to exit and restarted.
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 09-21-07 08:55  
---------------------------------------------------------------------- 
I worked for a few hours on this Monday, but since then, I've been pulled
away from coding in order to prepare presentations for Astricon next week.

Unfortunately, I haven't yet come up with a way that is simple and clean
for finding a new message count. The IMAP c-client provides a mail_ping
function which is made for such a purpose, but its use is geared more
towards an application which keeps a continuous connection to an IMAP
mailbox and "pings" it occasionally to see if there are new messages.
Because of the way Asterisk opens and closes connections as needed, pinging
the box doesn't actually do anything. What I figured out from my tests on
Monday was that simply opening a mailbox could be enough to figure out if
the mailbox has new messages, but it will take some testing to figure out
what exactly to look for to indicate that there are new messages, plus more
testing to figure out if my changes work.

I will update this issue with a note this afternoon with my progress.
Sorry for not leaving any notes for a while. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-21-07 08:55  putnopvut      Note Added: 0070912                          
======================================================================




More information about the asterisk-bugs mailing list