aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-09 21:57:09 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-09 21:57:09 +0000
commit1a9ca96099ea596042c133bb858c7c6d0425b612 (patch)
treef63ed6c4aff0b8fdc4d2601b3005aaa83c84da72 /apps
parente84e9daf4bd5a8e075d68951d639c9e1d4b7206a (diff)
Merged revisions 162348 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r162348 | tilghman | 2008-12-09 15:53:25 -0600 (Tue, 09 Dec 2008) | 4 lines We appear to have documented tz= in the [general] section of voicemail.conf, without actually having implemented it. Oops. (Reported by Olivier on the -users list) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@162355 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 9028a8203..c3de186ee 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -689,6 +689,7 @@ static char *app4 = "VMAuthenticate";
static AST_LIST_HEAD_STATIC(users, ast_vm_user);
static AST_LIST_HEAD_STATIC(zones, vm_zone);
+static char zonetag[80];
static int maxsilence;
static int maxmsg;
static int maxdeletedmsg;
@@ -846,6 +847,7 @@ static void populate_defaults(struct ast_vm_user *vmu)
ast_copy_string(vmu->callback, callcontext, sizeof(vmu->callback));
ast_copy_string(vmu->dialout, dialcontext, sizeof(vmu->dialout));
ast_copy_string(vmu->exit, exitcontext, sizeof(vmu->exit));
+ ast_copy_string(vmu->zonetag, zonetag, sizeof(vmu->zonetag));
if (vmmaxsecs)
vmu->maxsecs = vmmaxsecs;
if (maxmsg)
@@ -10840,6 +10842,9 @@ static int load_config(int reload)
adsiver = atoi(val);
}
}
+ if ((val = ast_variable_retrieve(cfg, "general", "zonetag"))) {
+ ast_copy_string(zonetag, val, sizeof(zonetag));
+ }
if ((val = ast_variable_retrieve(cfg, "general", "emailsubject"))) {
emailsubject = ast_strdup(val);
}