while we're at fixing say.c (not sure if this is already coded, we did do a patch eons ago, not sure what became of it)<br><br>in english counting numbers, 1 through 20 are unique, then its twenty one, etc ..<br>in urdu and other languages 1 through 100 are unique, then its one hundred one, etc ...
<br><br>we need an option in say.conf, rename as necessary<br><br>> uniquetill = 20 (default)<br><br>when set to 100 for example, would use individual sound files upto 100 and then start concatenating ...<br><br>apologies again if this has already been coded ...
<br><br><div><span class="gmail_quote">On 5/27/07, <b class="gmail_sendername">Tzafrir Cohen</b> <<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi<br><br>I'm trying to write a say.conf syntax for Hebrew and run into an issue<br>that will probably affect other languages.<br><br>The function ast_say_number_full in say.c has an "options" field. It is<br>
generally used for the "gender" field of SayNumber.<br><br>>From what I understand say.conf parsing is only implemented in<br>app_playback.c . From looking at the implementation of ast_say_number<br>there it seems that the "options" variable is just past along
<br>to recusrsive calls, but not really used.<br><br>The say.conf syntax does not seem to relate to the gender in any<br>way: I cannot see a way to generate a different number for the male<br>form and for the female form.
<br><br>As it happens, if I just want to implement the time, I can get away<br>with using all the num-s in the female form and all the enum-s in<br>a male form. But then when someone wants the "third voicemail message",
<br>or "second option for Pizza", this will break.<br><br>--<br> Tzafrir Cohen<br>icq#16849755 <a href="mailto:jabber:tzafrir@jabber.org">jabber:tzafrir@jabber.org</a><br>+972-50-7952406 mailto:
<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br><a href="http://www.xorcom.com">http://www.xorcom.com</a> <a href="http://iax:guest@local.xorcom.com/tzafrir">iax:guest@local.xorcom.com/tzafrir</a>
<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-dev mailing list<br>To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br>-- <br>wasim h. baig | principal consultant | convergence pk | +92 300 8508070