projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61664ec
)
If we encounter something in mailbox options that we don't grok, then
author
Sean Bright
<sean@malleable.com>
Tue, 7 Oct 2008 14:59:33 +0000
(14:59 +0000)
committer
Sean Bright
<sean@malleable.com>
Tue, 7 Oct 2008 14:59:33 +0000
(14:59 +0000)
spit out a warning instead of just silently ignoring it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147099
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_voicemail.c
patch
|
blob
|
history
diff --git
a/apps/app_voicemail.c
b/apps/app_voicemail.c
index
6e22f6c
..
5f00c0e
100644
(file)
--- 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);
}
}