From: David VILLAUME Date: Tue, 1 Oct 2019 15:07:29 +0000 (+0200) Subject: [mod_say_fr] Fix "10" not playing in French. X-Git-Tag: v1.10.2^2~100^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F26%2Fhead;p=thirdparty%2Ffreeswitch.git [mod_say_fr] Fix "10" not playing in French. --- diff --git a/src/mod/say/mod_say_fr/mod_say_fr.c b/src/mod/say/mod_say_fr/mod_say_fr.c index ba34647c85..5e96417827 100644 --- a/src/mod/say/mod_say_fr/mod_say_fr.c +++ b/src/mod/say/mod_say_fr/mod_say_fr.c @@ -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)