diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-04-29 02:30:14 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-04-29 02:30:14 +0000 |
commit | ea132fd13c83ef62851e74a5afa441960a0cca30 (patch) | |
tree | 30fe504429e2388014832e4f050836d223fc2b59 /apps | |
parent | fefa0442a5925353c6c06c1e7ebcb4126a66a746 (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')
-rwxr-xr-x | apps/app_meetme.c | 2 | ||||
-rwxr-xr-x | apps/app_queue.c | 4 | ||||
-rwxr-xr-x | apps/app_voicemail.c | 6 | ||||
-rwxr-xr-x | apps/app_zapscan.c | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 79506a614..c7538c355 100755 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -621,7 +621,7 @@ static int count_exec(struct ast_channel *chan, void *data) } else { if (chan->_state != AST_STATE_UP) ast_answer(chan); - res = ast_say_number(chan, count, "", chan->language); + res = ast_say_number(chan, count, "", chan->language, (char *) NULL); /* Needs gender */ } LOCAL_USER_REMOVE(u); return res; 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); } diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 800758794..3d7a9780f 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -1706,7 +1706,7 @@ static int count_messages(char *dir) static int say_and_wait(struct ast_channel *chan, int num) { int d; - d = ast_say_number(chan, num, AST_DIGIT_ANY, chan->language); + d = ast_say_number(chan, num, AST_DIGIT_ANY, chan->language, (char *) NULL); return d; } @@ -2270,7 +2270,7 @@ static int get_folder(struct ast_channel *chan, int start) if (d) return d; for (x = start; x< 5; x++) { - if ((d = ast_say_number(chan, x, AST_DIGIT_ANY, chan->language))) + if ((d = ast_say_number(chan, x, AST_DIGIT_ANY, chan->language, (char *) NULL))) return d; d = play_and_wait(chan, "vm-for"); if (d) @@ -2634,7 +2634,7 @@ static int play_message(struct ast_channel *chan, struct ast_vm_user *vmu, struc res = wait_file2(chan, vms, "vm-message"); if (msg && (msg != vms->lastmsg)) { if (!res) - res = ast_say_number(chan, msg + 1, AST_DIGIT_ANY, chan->language); + res = ast_say_number(chan, msg + 1, AST_DIGIT_ANY, chan->language, (char *) NULL); } } diff --git a/apps/app_zapscan.c b/apps/app_zapscan.c index 780ffe387..ab87f592c 100755 --- a/apps/app_zapscan.c +++ b/apps/app_zapscan.c @@ -322,7 +322,7 @@ static int conf_exec(struct ast_channel *chan, void *data) } confno = atoi(strchr(confstr,'/') + 1); ast_stopstream(chan); - ast_say_number(chan, confno, AST_DIGIT_ANY, chan->language); + ast_say_number(chan, confno, AST_DIGIT_ANY, chan->language, (char *) NULL); res = conf_run(chan, confno, confflags); if (res<0) break; input = res; |