]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fixed an error in the Russian language voicemail intro.
authorMark Michelson <mmichelson@digium.com>
Wed, 15 Aug 2007 14:26:40 +0000 (14:26 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 15 Aug 2007 14:26:40 +0000 (14:26 +0000)
(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

index 403e9b2d1a5b02796ad30100debc56605ddf4203..024e2cdc9d4a127a1b163b4923584c7291ec90d2 100644 (file)
@@ -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) {