mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-12 23:31:50 +00:00
FS-2922
This commit is contained in:
@@ -417,20 +417,17 @@ static switch_status_t en_say_money(switch_say_file_handle_t *sh, char *tosay, s
|
||||
switch_say_file(sh, "currency/dollars");
|
||||
}
|
||||
|
||||
/* Say "and" */
|
||||
switch_say_file(sh, "currency/and");
|
||||
|
||||
/* Say cents */
|
||||
if (cents) {
|
||||
/* Say "and" */
|
||||
switch_say_file(sh, "currency/and");
|
||||
|
||||
en_say_general_count(sh, cents, say_args);
|
||||
if (atoi(cents) == 1) {
|
||||
switch_say_file(sh, "currency/cent");
|
||||
} else {
|
||||
switch_say_file(sh, "currency/cents");
|
||||
}
|
||||
} else {
|
||||
switch_say_file(sh, "digits/0");
|
||||
switch_say_file(sh, "currency/cents");
|
||||
}
|
||||
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user