]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix Russian voicemail intro to say the word "messages" properly.
authorMark Michelson <mmichelson@digium.com>
Tue, 31 Mar 2009 19:45:30 +0000 (19:45 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 31 Mar 2009 19:45:30 +0000 (19:45 +0000)
(closes issue #14736)
Reported by: chappell
Patches:
      voicemail_no_messages.diff uploaded by chappell (license 8)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@185468 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 0d0ba405eb3c6c555b6a5a3a65d24f3c7df7b535..2fb2a459ea0efcd013029189f4074aeeb3edf594 100644 (file)
@@ -298,11 +298,6 @@ Dutch also uses:
 Spanish also uses:
 \arg \b vm-youhaveno
 
-Ukrainian requires the following additional soundfile:
-\arg \b vm-nove                'nove'
-\arg \b vm-stare       'stare'
-\arg \b digits/ua/1e   'odne'
-
 Italian requires the following additional soundfile:
 
 For vm_intro_it:
@@ -5992,7 +5987,8 @@ static int vm_intro_multilang(struct ast_channel *chan, struct vm_state *vms, co
        if (!res) {
                if (lastnum == 0) {
                        res = ast_play_and_wait(chan, "vm-no");
-               } else {
+               }
+               if (!res) {
                        res = ast_say_counted_noun(chan, lastnum, "vm-message");
                }
        }