Merged revisions 114027 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

........
r114027 | file | 2008-04-10 11:53:19 -0300 (Thu, 10 Apr 2008) | 6 lines

Don't hardcode ru into the digits filename so that languageprefix can work.
(closes issue #12404)
Reported by: IgorG
Patches:
      voicemail_ru_hardcoded-v1.patch uploaded by IgorG (license 20)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2008-04-10 14:54:01 +00:00
parent f850d7d9c0
commit 39d2b684ca

View File

@@ -6125,7 +6125,7 @@ static int vm_intro_ru(struct ast_channel *chan, struct vm_state *vms)
res = say_and_wait(chan, dcnum, chan->language);
if (!res && lastnum) {
if (lastnum == 1)
res = ast_play_and_wait(chan, "digits/ru/odno");
res = ast_play_and_wait(chan, "digits/odno");
else
res = say_and_wait(chan, lastnum, chan->language);
}
@@ -6144,7 +6144,7 @@ static int vm_intro_ru(struct ast_channel *chan, struct vm_state *vms)
res = say_and_wait(chan, dcnum, chan->language);
if (!res && lastnum) {
if (lastnum == 1)
res = ast_play_and_wait(chan, "digits/ru/odno");
res = ast_play_and_wait(chan, "digits/odno");
else
res = say_and_wait(chan, lastnum, chan->language);
}