[asterisk-bugs] [Asterisk 0011204]: when IMAP storage is enabled, a duplicate "regular" email is sent when no email account is specified

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Nov 23 10:58:49 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11204 
====================================================================== 
Reported By:                spditner
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   11204
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 89117 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-08-2007 17:40 CST
Last Modified:              11-23-2007 10:58 CST
====================================================================== 
Summary:                    when IMAP storage is enabled, a duplicate "regular"
email is sent when no email account is specified
Description: 
When IMAP storage is enabled, and no email address is specified in the
voicemail.conf, app_voicemail.c copies the IMAP username into the email
field of a datastructure, thus accidentally triggering an email to be sent
by some other part of the application.

See:
apps/app_voicemail.c, line 2323
 if (ast_strlen_zero(vmu->email))
      ast_copy_string(vmu->email, vmu->imapuser, sizeof(vmu->email));

e.g. voicemail.conf

[general]
imapserver=localhost
imapfolder=inbox
imapflags=notls

[default]
123 => 111,Some Person,,,imapuser=some|imappassword=person
====================================================================== 

---------------------------------------------------------------------- 
 spditner - 11-23-07 10:58  
---------------------------------------------------------------------- 
Yes, it appears to work correctly now. Thanks! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-23-07 10:58  spditner       Note Added: 0074234                          
======================================================================




More information about the asterisk-bugs mailing list