Merge pull request #26 from dvillaume/patch-1

[mod_say_fr] Fix "10" not playing in French.
This commit is contained in:
Andrey Volk 2019-10-01 19:18:14 +04:00 committed by GitHub
commit 4a60911228
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ static switch_status_t play_group(switch_say_method_t method, switch_say_gender_
}
}
if (c || ((ftdNumber == 1 && (a || b || c)) && (a && (b || c)))) {
if (c || ((ftdNumber == 1 && (a || b || c)) && (a && (b || c))) || (a == 0 && b == 1 && c == 0) ) {
/*switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "a=%d b=[%d] c=%d\n",a, b,c);*/
int fVal = c;
if (ftdNumber == 1)