[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
Wed Aug 22 22:35:31 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:                     assigned
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:              08-22-2007 22:35 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.
====================================================================== 

---------------------------------------------------------------------- 
 rayjay - 08-22-07 22:35  
---------------------------------------------------------------------- 
Okay, after 2 more days I got a hang again... The last lines in the console
I see before the hang were:

[Aug 23 15:38:51] WARNING[7379]: app_voicemail.c:8572 mm_log: IMAP
Warning: Unexpected tagged response: 00004715 OK NOOP completed
[Aug 23 15:38:51] WARNING[18852]: app_voicemail.c:8572 mm_log: IMAP
Warning: Unexpected tagged response: 00004719 OK SEARCH done.

So, similar to the above debug!  The console again was responsive but all
my debug and SIP processing stopped and I believe the in-progress calls
stayed up fine.  A kill happily then tore down all the calls as normal with
BYE messages to the clients, so Asterisk didn't crash as such - he just got
locked up somehow?

I'm running courier-imap.  Does anyone think moving to Dovecot might
help?

I did a kill -11 on Asterisk but still my core debug only shows:

Core was generated by `/usr/sbin/asterisk -U asterisk -G asterisk -vvvg
-c'.
Program terminated with signal 11, Segmentation fault.
http://bugs.digium.com/view.php?id=0  0xb7ef1401 in __read_nocancel () from
/lib/tls/libpthread.so.0

so no clues in the core, probably as Asterisk didn't actually crash it
just got stuck in a bad state? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-22-07 22:35  rayjay         Note Added: 0069287                          
======================================================================




More information about the asterisk-bugs mailing list