aboutsummaryrefslogtreecommitdiffstats
path: root/say.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-29 17:35:12 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-29 17:35:12 +0000
commit772e5d4831003007ad337094c3dcb0749140f51e (patch)
treea61478a30458fcd2ddbe6a2fb199618395c58171 /say.c
parent2f1f520837509bc3037f3991dd83d0c49ed162cf (diff)
Fix ordering in portugese (bug #3452)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4919 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 bf862d142..cc1e7f597 100755
--- a/say.c
+++ b/say.c
@@ -1957,11 +1957,6 @@ static int ast_say_number_full_pt(struct ast_channel *chan, int num, const char
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 > -1) && (ctrlfd > -1))
@@ -1971,6 +1966,11 @@ static int ast_say_number_full_pt(struct ast_channel *chan, int num, const char
}
ast_stopstream(chan);
}
+ if (!res && playh) {
+ res = wait_file(chan, ints, "digits/pt-e", language);
+ ast_stopstream(chan);
+ playh = 0;
+ }
}
return res;
}