Saynumber is trying to get "and" from "digits/" subfolder
authorDaniel Journo <dan@keshercommunications.com>
Mon, 6 Mar 2017 21:54:23 +0000 (21:54 +0000)
committerDaniel Journo <dan@keshercommunications.com>
Mon, 6 Mar 2017 21:59:49 +0000 (15:59 -0600)
* say.c Changed 'digits/and' to 'vm-and' for en_GB

ASTERISK-26598 #close

Change-Id: If1b713e5daea6f952b339f139178d292a6c4fcfe

main/say.c

index 4b3711b..44f55e2 100644 (file)
@@ -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);