mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Saynumber is trying to get "and" from "digits/" subfolder
* say.c Changed 'digits/and' to 'vm-and' for en_GB ASTERISK-26598 #close Change-Id: If1b713e5daea6f952b339f139178d292a6c4fcfe
This commit is contained in:
@@ -998,7 +998,7 @@ static int ast_say_number_full_de(struct ast_channel *chan, int num, const char
|
||||
|
||||
/*! \brief ast_say_number_full_en_GB: British syntax
|
||||
New files:
|
||||
- In addition to American English, the following sounds are required: "and"
|
||||
- In addition to American English, the following sounds are required: "vm-and"
|
||||
*/
|
||||
static int ast_say_number_full_en_GB(struct ast_channel *chan, int num, const char *ints, const char *language, int audiofd, int ctrlfd)
|
||||
{
|
||||
@@ -1021,7 +1021,7 @@ static int ast_say_number_full_en_GB(struct ast_channel *chan, int num, const ch
|
||||
ast_copy_string(fn, "digits/hundred", sizeof(fn));
|
||||
playh = 0;
|
||||
} else if (playa) {
|
||||
ast_copy_string(fn, "digits/and", sizeof(fn));
|
||||
ast_copy_string(fn, "vm-and", sizeof(fn));
|
||||
playa = 0;
|
||||
} else if (num < 20) {
|
||||
snprintf(fn, sizeof(fn), "digits/%d", num);
|
||||
|
Reference in New Issue
Block a user