[Asterisk-cvs] asterisk/apps app_voicemail.c,1.135,1.136
markster at lists.digium.com
markster at lists.digium.com
Sun Jul 18 17:04:35 CDT 2004
Update of /usr/cvsroot/asterisk/apps
In directory localhost.localdomain:/tmp/cvs-serv6087/apps
Modified Files:
app_voicemail.c
Log Message:
Grab the Message-ID too
Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -d -r1.135 -r1.136
--- app_voicemail.c 17 Jul 2004 19:24:36 -0000 1.135
+++ app_voicemail.c 18 Jul 2004 20:50:37 -0000 1.136
@@ -923,7 +923,7 @@
fprintf(p, "Subject: New message %d in mailbox %s\n", msgnum + 1, mailbox);
else
fprintf(p, "Subject: [PBX]: New message %d in mailbox %s\n", msgnum + 1, mailbox);
- fprintf(p, "Message-ID: <Asterisk-%d-%s-%d@%s>\n", msgnum, mailbox, getpid(), host);
+ fprintf(p, "Message-ID: <Asterisk-%d-%d-%s-%d@%s>\n", msgnum, (unsigned int)rand(), mailbox, getpid(), host);
fprintf(p, "MIME-Version: 1.0\n");
if (attach_user_voicemail) {
/* Something unique. */
More information about the svn-commits
mailing list