[asterisk-dev] say.conf options (m/f)

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun May 27 06:22:45 MST 2007


On Sun, May 27, 2007 at 06:08:11PM +0500, Wasim Baig wrote:
> 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)
> 
> in english counting numbers, 1 through 20 are unique, then its twenty one,
> etc ..
> in urdu and other languages 1 through 100 are unique, then its one hundred
> one, etc ...
> 
> we need an option in say.conf, rename as necessary
> 
> >uniquetill = 20 (default)
> 
> when set to 100 for example, would use individual sound files upto 100 and
> then start concatenating ...
> 
> apologies again if this has already been coded ...

Actually this is exactly what's say.conf is for: so you won't need to 
hardcode that in C.

Something of the sort of:


[ur](date-base,digit-base)
    _[n]um:0. => num:${SAY:1}
    _[n]um:XX => digits/${SAY}
    ...

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-dev mailing list