From: Mark Michelson Date: Wed, 15 Aug 2007 14:26:40 +0000 (+0000) Subject: Fixed an error in the Russian language voicemail intro. X-Git-Tag: 1.4.12.1~244 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=176f95680b307e71801720d02234c9cc800b06d7;p=thirdparty%2Fasterisk.git 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 --- 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) {