aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-10 14:53:19 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-10 14:53:19 +0000
commitca26469ac381bfe2ba5209814c4084b1733a8382 (patch)
tree1466e352e71113d6d67f14eb42664945fa24ba4c /apps/app_voicemail.c
parent72d780d1145d573bec0d02bb46ee47b83a86ecbd (diff)
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: http://svn.digium.com/svn/asterisk/trunk@114027 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index e787f87c2..99744dc73 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -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);
}