[Asterisk-cvs] asterisk/apps app_voicemail.c,1.36,1.37
markster at lists.digium.com
markster at lists.digium.com
Sun Nov 16 23:50:25 CST 2003
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv22223/apps
Modified Files:
app_voicemail.c
Log Message:
Match filename between content-disposition and content-type
Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- app_voicemail.c 17 Nov 2003 05:58:51 -0000 1.36
+++ app_voicemail.c 17 Nov 2003 06:16:41 -0000 1.37
@@ -741,7 +741,7 @@
}
if (attach_user_voicemail) {
fprintf(p, "--%s\n", bound);
- fprintf(p, "Content-Type: audio/x-%s; name=\"msg%04d.%s\"\n", format, msgnum + 1, format);
+ fprintf(p, "Content-Type: audio/x-%s; name=\"msg%04d.%s\"\n", format, msgnum, format);
fprintf(p, "Content-Transfer-Encoding: BASE64\n");
fprintf(p, "Content-Description: Voicemail sound attachment.\n");
fprintf(p, "Content-Disposition: attachment; filename=\"msg%04d.%s\"\n\n", msgnum, format);
More information about the svn-commits
mailing list