Merged revisions 79527 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Wed, 15 Aug 2007 14:27:35 +0000 (14:27 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 15 Aug 2007 14:27:35 +0000 (14:27 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r79527 | mmichelson | 2007-08-15 09:26:40 -0500 (Wed, 15 Aug 2007) | 5 lines

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/trunk@79529 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 471fb2d..824c102 100644 (file)
@@ -5961,7 +5961,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) {