From 176f95680b307e71801720d02234c9cc800b06d7 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Wed, 15 Aug 2007 14:26:40 +0000 Subject: [PATCH] Fixed an error in the Russian language voicemail intro. (issue #10458, reported and patched by Oleh) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@79527 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 403e9b2d1a..024e2cdc9d 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -5603,7 +5603,7 @@ static int vm_intro_ru(struct ast_channel *chan,struct vm_state *vms) if (!res && vms->oldmessages) { lastnum = get_lastdigits(vms->oldmessages); - dcnum = vms->newmessages - lastnum; + dcnum = vms->oldmessages - lastnum; if (dcnum) res = say_and_wait(chan, dcnum, chan->language); if (!res && lastnum) {