|
|
|
@ -1233,7 +1233,7 @@ static int ast_say_number_full_he(struct ast_channel *chan, int num,
|
|
|
|
|
int state = 0; /* no need to save anything */
|
|
|
|
|
int mf = 1; /* +1 = Masculin; -1 = Feminin */
|
|
|
|
|
char fn[SAY_NUM_BUF_SIZE] = "";
|
|
|
|
|
ast_verb(3, "ast_say_digits_full: started. "
|
|
|
|
|
ast_debug(3, "ast_say_digits_full: started. "
|
|
|
|
|
"num: %d, options=\"%s\"\n",
|
|
|
|
|
num, options
|
|
|
|
|
);
|
|
|
|
@ -1252,7 +1252,7 @@ static int ast_say_number_full_he(struct ast_channel *chan, int num,
|
|
|
|
|
* state==0 is the normal mode and it means that we continue
|
|
|
|
|
* to check if the number num has yet anything left.
|
|
|
|
|
*/
|
|
|
|
|
ast_verb(3, "ast_say_digits_full: num: %d, "
|
|
|
|
|
ast_debug(3, "ast_say_digits_full: num: %d, "
|
|
|
|
|
"state=%d, options=\"%s\", mf=%d\n",
|
|
|
|
|
num, state, options, mf
|
|
|
|
|
);
|
|
|
|
@ -1293,7 +1293,8 @@ static int ast_say_number_full_he(struct ast_channel *chan, int num,
|
|
|
|
|
} else if (num < 3000) {
|
|
|
|
|
ast_copy_string(fn, "digits/2thousand", sizeof(fn));
|
|
|
|
|
num = num - 2000;
|
|
|
|
|
if (num>0) state=2;
|
|
|
|
|
if (num > 0)
|
|
|
|
|
state = 2;
|
|
|
|
|
} else if (num < 20000) {
|
|
|
|
|
snprintf(fn, sizeof(fn), "digits/%ds", (num / 1000));
|
|
|
|
|
num = num % 1000;
|
|
|
|
@ -6685,7 +6686,7 @@ static int gr_say_number_female(int num, struct ast_channel *chan, const char *i
|
|
|
|
|
-> digits/millions = "ektatomyria"
|
|
|
|
|
-> digits/[1..12] :: A pronunciation of th digits form 1 to 12 e.g. "tria"
|
|
|
|
|
-> digits/[10..100] :: A pronunciation of the tens from 10 to 90
|
|
|
|
|
e,g 80 = "ogdonta"
|
|
|
|
|
e.g. 80 = "ogdonta"
|
|
|
|
|
Here we must note that we use digits/tens/100 to utter "ekato"
|
|
|
|
|
and digits/hundred-100 to utter "ekaton"
|
|
|
|
|
-> digits/hundred-[100...1000] :: A pronunciation of hundreds from 100 to 1000 e.g 400 =
|
|
|
|
|