[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
Thu Nov 8 17:53:41 CST 2007


The following issue has been ASSIGNED. 
====================================================================== 
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:                     assigned
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-08-2007 17:53 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
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-08-07 17:53  qwell          Status                   new => assigned     
11-08-07 17:53  qwell          Assigned To               => putnopvut       
======================================================================




More information about the asterisk-bugs mailing list