[prev in list] [next in list] [prev in thread] [next in thread]
List: asterisk-dev
Subject: [asterisk-dev] minor (one line) patch for app_voicemail
From: Kurt Lidl <kurt.lidl () cello ! com>
Date: 2008-01-30 19:48:40
Message-ID: 47A0D498.6080803 () cello ! com
[Download RAW message or body]
(I know, I should do this via mantis, but something is swallowing the
email from that so I cannot sign up.)
Anyway -- I made a one-line patch to app_voicemail to have it
insert a "Precedence: bulk" header in the email it sends out,
so it doesn't create a "vacation" auto-reply storm. I've been
using it for about 6 months on the 1.2-derived system that
I manage.
I hereby release this patch to the public domain, so anyone
can use it as they see fit.
Thanks!
-Kurt
["bulk.patch" (text/plain)]
Index: apps/app_voicemail.c
===================================================================
--- apps/app_voicemail.c (revision 5)
+++ apps/app_voicemail.c (revision 6)
@@ -1780,6 +1780,7 @@
else
fprintf(p, "Subject: [PBX]: New message %d in mailbox %s\n", msgnum + 1, \
mailbox); fprintf(p, "Message-ID: <Asterisk-%d-%d-%s-%d@%s>\n", msgnum, (unsigned \
int)rand(), mailbox, getpid(), host); + fprintf(p, "Precedence: bulk\n");
fprintf(p, "MIME-Version: 1.0\n");
if (attach_user_voicemail) {
/* Something unique. */
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic