[Home]

Summary:ASTERISK-02629: [patch] wrong logging statement when sending voicemail alert email
Reporter:Edwin Groothuis (mavetju)Labels:
Date Opened:2004-10-19 05:06:24Date Closed:2008-01-15 15:11:39.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) patch-apps::app_voicemail.c
Description:Oct 19 20:04:00 DEBUG[14350]: app_voicemail.c:920 sendmail: Sent mail to devnull@barnet.com.au with command '/usr/sbin/sendmail -t'

That devnull@barnet.com.au should be edwin@barnet.com.au

****** ADDITIONAL INFORMATION ******

<pre>
--- apps/app_voicemail.c        17 Oct 2004 22:13:05 -0000      1.162
+++ apps/app_voicemail.c        19 Oct 2004 10:03:10 -0000
@@ -917,7 +917,7 @@
               fclose(p);
               snprintf(tmp2, sizeof(tmp2), "( %s < %s ; rm -f %s ) &", mailcmd, tmp, tmp);
               ast_safe_system(tmp2);
-               ast_log(LOG_DEBUG, "Sent mail to %s with command '%s'\n", who, mailcmd);
+               ast_log(LOG_DEBUG, "Sent mail to %s with command '%s'\n", vmu->email, mailcmd);
       } else {
               ast_log(LOG_WARNING, "Unable to launch '%s'\n", mailcmd);
               return -1;
</pre>
Comments:By: Olle Johansson (oej) 2004-10-19 14:08:47

Disclaimer on file?

By: Edwin Groothuis (mavetju) 2004-10-19 17:18:58

faxed this morning.

By: Edwin Groothuis (mavetju) 2004-10-24 07:14:57

did you get the disclaimer? It was signed as Edwin Groothuis.

By: Mark Spencer (markster) 2004-10-24 09:11:45

Added to CVS, thanks!

By: Russell Bryant (russell) 2004-10-24 20:48:10

fixed in 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:11:29.000-0600

Repository: asterisk
Revision: 4081

U   trunk/apps/app_voicemail.c

------------------------------------------------------------------------
r4081 | markster | 2008-01-15 15:11:29 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix email debyg line (bug ASTERISK-2629)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4081

By: Digium Subversion (svnbot) 2008-01-15 15:11:39.000-0600

Repository: asterisk
Revision: 4093

U   branches/v1-0/apps/app_voicemail.c

------------------------------------------------------------------------
r4093 | russell | 2008-01-15 15:11:39 -0600 (Tue, 15 Jan 2008) | 2 lines

fix debug message for voicemail email (bug ASTERISK-2629)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4093