[asterisk-dev] IMAP_STORAGE issue with app_voicemail

Brendan Martens brendan.martens at crosscomm.net
Mon Oct 6 16:33:38 CDT 2008


Hello, I have scoured the internet and asked a few times in IRC but I  
can't figure this out. I'm hoping someone here can shed some light on  
this seemingly odd behavior.



I have asterisk 1.6.0 compiled with the IMAP_STORAGE set for  
voicemail, that all seemed to compile up just fine. The error I am  
getting in * cli is this:

[Oct  6 17:28:43] ERROR[20802]: app_voicemail.c:1999 mm_log: IMAP  
Error: Login aborted
[Oct  6 17:28:44] ERROR[20802]: app_voicemail.c:1757 init_mailstream:  
Can't connect to imap server {mail.crosscomm.net:143/imap/notls/user=vmail at crosscomm.net 
}INBOX
[Oct  6 17:28:44] ERROR[20802]: app_voicemail.c:1517 messagecount:  
Houston we have a problem - IMAP mailstream is NULL



The output I am seeing on the imap server it's trying to connect to is  
this:

Oct  6 17:29:49 gabriel imapd: LOGIN: DEBUG: ip=[::ffff: 
64.105.202.244], command=LOGOUT
Oct  6 17:29:49 gabriel imapd: LOGOUT, ip=[::ffff:64.105.202.244]



Here is my voicemail.conf, I removed the commented items for  
readability here:

[general]
imapserver=mail.crosscomm.net
imapflags=notls

[imap-voicemail]
brendan => brendan,System's Mailbox,,,imapuser=vmail at crosscomm.net| 
imapsecret=password


I'm quite baffled at this point and have no idea how to troubleshoot  
this. The very odd thing to me is that the imap server seems to be  
receiving a LOGOUT command first?
Thanks for any help you guys may be able to offer figuring this out.

Brendan Martens



More information about the asterisk-dev mailing list