aboutsummaryrefslogtreecommitdiffstats
path: root/say.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-01 01:51:12 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-01 01:51:12 +0000
commite27a2474a3ba8c3e2c1e1391505ec89de3901e88 (patch)
treed03cdb27ccefebf32fd86d686a612f191929fb12 /say.c
parentaeb9fdcfbbd2a8e5426f858af4fdcafe1bab8834 (diff)
Fix say for portugese (bug #2749)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4137 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'say.c')
-rwxr-xr-xsay.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/say.c b/say.c
index 879c56da8..f2b6acc10 100755
--- a/say.c
+++ b/say.c
@@ -1566,11 +1566,6 @@ static int ast_say_number_full_pt(struct ast_channel *chan, int num, char *ints,
playh = 1;
num = num % 1000000;
}
- if (!res && playh) {
- res = wait_file(chan, ints, "digits/pt-e", language);
- ast_stopstream(chan);
- playh = 0;
- }
if (!res) {
if(!ast_streamfile(chan, fn, language)) {
if (audiofd && ctrlfd)
@@ -1579,6 +1574,11 @@ static int ast_say_number_full_pt(struct ast_channel *chan, int num, char *ints,
}
ast_stopstream(chan);
}
+ if (!res && playh) {
+ res = wait_file(chan, ints, "digits/pt-e", language);
+ ast_stopstream(chan);
+ playh = 0;
+ }
}
return res;
}