mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
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/trunk@114027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6636,7 +6636,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);
|
||||
}
|
||||
@@ -6655,7 +6655,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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user