<p>N A has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/20035">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">say.c: Fix French time playback.<br><br>ast_waitstream was not called after ast_streamfile,<br>resulting in "o'clock" being skipped in French.<br><br>Additionally, the minute announcements should be<br>feminine.<br><br>Reported-by: Danny Lloyd<br><br>ASTERISK-30488 #close<br><br>Change-Id: I294a72f98ce5fa4d27c8f0b15bc9b23bf09e9e72<br>---<br>M main/say.c<br>1 file changed, 25 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/35/20035/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/main/say.c b/main/say.c</span><br><span>index 14e43df..5b07c25 100644</span><br><span>--- a/main/say.c</span><br><span>+++ b/main/say.c</span><br><span>@@ -7341,9 +7341,13 @@</span><br><span> res = ast_say_number(chan, tm.tm_hour, ints, lang, "f");</span><br><span> if (!res)</span><br><span> res = ast_streamfile(chan, "digits/oclock", lang);</span><br><span style="color: hsl(120, 100%, 40%);">+ if (!res) {</span><br><span style="color: hsl(120, 100%, 40%);">+ res = ast_waitstream(chan, ints);</span><br><span style="color: hsl(120, 100%, 40%);">+ }</span><br><span> if (tm.tm_min) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (!res)</span><br><span style="color: hsl(0, 100%, 40%);">- res = ast_say_number(chan, tm.tm_min, ints, lang, (char *) NULL);</span><br><span style="color: hsl(120, 100%, 40%);">+ if (!res) {</span><br><span style="color: hsl(120, 100%, 40%);">+ res = ast_say_number(chan, tm.tm_min, ints, lang, "f");</span><br><span style="color: hsl(120, 100%, 40%);">+ }</span><br><span> }</span><br><span> return res;</span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/20035">change 20035</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/20035"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I294a72f98ce5fa4d27c8f0b15bc9b23bf09e9e72 </div>
<div style="display:none"> Gerrit-Change-Number: 20035 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: N A <asterisk@phreaknet.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>