aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-25 15:07:16 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-25 15:07:16 +0000
commit7c93b57c1c241c2010d96aa13575684e8ffde8b2 (patch)
tree2c6b772e6083e5a80fdd4d5581cdbd851d3fcbfd /apps
parent370a18c2c2fd8fbd903abf3fd5cefaab882b86d9 (diff)
Text only - clarify the reason for entry into authentication mode when the skipuser option is ignored
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@41065 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index e00eee312..fa86fe173 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -5162,8 +5162,11 @@ static int vm_execmain(struct ast_channel *chan, void *data)
if (!ast_strlen_zero(vms.username) && (vmu = find_user(&vmus, context ,vms.username)))
skipuser++;
- else
+ else {
+ if (!ast_strlen_zero(vms.username))
+ ast_log(LOG_NOTICE, "Specified user '%s%s%s' not found (check voicemail.conf and/or realtime config). Falling back to authentication mode.\n", vms.username, context ? "@" : "", context ? context : "");
valid = 0;
+ }
}
if (!valid)