[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 18:48:38 CST 2007


email_notification_title_for_status_bug_ready_for_testing 
====================================================================== 
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-08-2007 18:48 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
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 11-08-07 18:48  
---------------------------------------------------------------------- 
I've uploaded 11204.patch for testing. Let me know if it solves the
problem.

Thanks for reporting this, and double thanks for taking the time to comb
the source to create such a good bug report! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-08-07 18:48  putnopvut      Note Added: 0073423                          
11-08-07 18:48  putnopvut      Status                   assigned => ready for
testing
======================================================================




More information about the asterisk-bugs mailing list