aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-25 16:02:33 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-25 16:02:33 +0000
commit5ed744093a12a270ce304cf3d88a733e7e90ddd1 (patch)
tree7d59b9aebcbcf6469b2072aa198683008a3891ae /apps
parent42e2c2da3db6cba2780b125f5f1ad567d3e4b8e3 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@41085 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)