aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-03 06:03:31 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-03 06:03:31 +0000
commit77d42a9149c8a095fb1408d08cb3477195966297 (patch)
tree0b07fd578c94e8071f37b09b75473593900e83c1 /apps
parent71936a878c09e11196ea21e044e49303c9d818e4 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@38784 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 36ca228bf..cbb7d67e7 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -4380,7 +4380,7 @@ static int vm_intro_nl(struct ast_channel *chan,struct vm_state *vms)
if (vms->newmessages) {
res = say_and_wait(chan, vms->newmessages, chan->language);
if (!res) {
- if (vms->oldmessages == 1)
+ if (vms->newmessages == 1)
res = ast_play_and_wait(chan, "vm-INBOXs");
else
res = ast_play_and_wait(chan, "vm-INBOX");