aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-07 14:59:33 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-07 14:59:33 +0000
commit6e505ce9787b5156cd506739e2ed0ddcdb1a4af6 (patch)
tree24d5a47a98e15dfe8976e0a22e805ab9a54e5f8d /apps/app_voicemail.c
parent0933177b06987ac0e9bf5386399c16fa090d07d7 (diff)
If we encounter something in mailbox options that we don't grok, then
spit out a warning instead of just silently ignoring it. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147099 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 6e22f6c05..5f00c0e86 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -849,6 +849,8 @@ static void apply_option(struct ast_vm_user *vmu, const char *var, const char *v
sscanf(value, "%lf", &vmu->volgain);
} else if (!strcasecmp(var, "options")) {
apply_options(vmu, value);
+ } else {
+ ast_log(LOG_WARNING, "Unknown option '%s' specified for mailbox '%s'.\n", var, vmu->mailbox);
}
}