aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-29 02:30:14 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-29 02:30:14 +0000
commitea132fd13c83ef62851e74a5afa441960a0cca30 (patch)
tree30fe504429e2388014832e4f050836d223fc2b59 /apps/app_queue.c
parentfefa0442a5925353c6c06c1e7ebcb4126a66a746 (diff)
Add support for French, Danish, Portuguese, Spanish, Italian, and Dutch numbers
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2809 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rwxr-xr-xapps/app_queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 611b1f2c9..a9f365dd4 100755
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -370,7 +370,7 @@ static int say_position(struct queue_ent *qe)
goto posout;
} else {
res += play_file(qe->chan, qe->parent->sound_thereare);
- res += ast_say_number(qe->chan, qe->pos, AST_DIGIT_ANY, qe->chan->language);
+ res += ast_say_number(qe->chan, qe->pos, AST_DIGIT_ANY, qe->chan->language, (char *) NULL); /* Needs gender */
res += play_file(qe->chan, qe->parent->sound_calls);
}
@@ -383,7 +383,7 @@ static int say_position(struct queue_ent *qe)
supposed to be only once and we have already said it, say it */
if (avgholdmins > 1 && (qe->parent->announceholdtime) && (!(qe->parent->announceholdtime==1 && qe->last_pos)) ) {
res += play_file(qe->chan, qe->parent->sound_holdtime);
- res += ast_say_number(qe->chan, avgholdmins, AST_DIGIT_ANY, qe->chan->language);
+ res += ast_say_number(qe->chan, avgholdmins, AST_DIGIT_ANY, qe->chan->language, (char*) NULL);
res += play_file(qe->chan, qe->parent->sound_minutes);
}