Summary: | ASTERISK-02740: [patch] - Fix correct output of sendpage debug | ||
Reporter: | drmac (drmac) | Labels: | |
Date Opened: | 2004-11-04 12:13:27.000-0600 | Date Closed: | 2008-01-15 15:12:53.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_voicemail |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) mydif.txt | |
Description: | So trivial that I'm not going to post a .patch file. 6th line from end of function. Change: ast_log(LOG_DEBUG, "Sent mail to %s with command '%s'\n", who, mailcmd); to ast_log(LOG_DEBUG, "Sent page to %s with command '%s'\n", pager, mailcmd); ****** ADDITIONAL INFORMATION ****** I couldnt figure out why asterisk was sending two mails; one to my email and another to my 'from' pager account. Turns out that the debug line used the wrong variable. 'who' is From:, and 'pager' is To: | ||
Comments: | By: Mark Spencer (markster) 2004-11-07 15:24:36.000-0600 Fixed in CVS head, patch attached to make things easier for russell. By: Russell Bryant (russell) 2004-11-07 19:28:55.000-0600 thanks mark :) fixed in 1.0 - will be in 1.0.3 By: Digium Subversion (svnbot) 2008-01-15 15:12:46.000-0600 Repository: asterisk Revision: 4173 U trunk/apps/app_voicemail.c ------------------------------------------------------------------------ r4173 | markster | 2008-01-15 15:12:45 -0600 (Tue, 15 Jan 2008) | 2 lines Fix page thingy (bug ASTERISK-2740) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=4173 By: Digium Subversion (svnbot) 2008-01-15 15:12:53.000-0600 Repository: asterisk Revision: 4182 U branches/v1-0/apps/app_voicemail.c ------------------------------------------------------------------------ r4182 | russell | 2008-01-15 15:12:52 -0600 (Tue, 15 Jan 2008) | 2 lines fix voicemail debug output (bug ASTERISK-2740) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=4182 |