[asterisk-dev] [feature] Support for relative paths for all "say" functions
Hans Witvliet
hwit at a-domani.nl
Fri Aug 21 14:40:59 CDT 2009
On Fri, 2009-08-21 at 18:00 +0300, Tzafrir Cohen wrote:
> On Fri, Aug 21, 2009 at 01:58:23PM +0000, Nicolas Chapleau wrote:
> >
> > I am trying to add relative path support for digits/letters/phonetics for all "say" functions that are located in say.c. There are many ways to do this and I'm trying to choose the least obstructive as far as I can tell. I'd like some input if possible:
> >
> > *** Reasoning ***
> >
> > normal voice files using playback (background, ...) can have a prefix added to the language
> >
> > ie. playback(welcome), playback(path1/welcome), playback(sub1/path1/welcome) ...
> >
> > whereas "say" functions can't => SayNumber(1000)
> >
> > this limits us to a single voice under a specific language for any digits/letters and phonetics (what I call VOCAB files). We need to able to use multiple voices under an existing language for digits/letters amd phonetics. For example:
>
> The language serves two different roles here:
>
> 1. defines the syntax: how exactly do you day the number?
>
> E.g. in Hebrew "2009" is not just "two", "thousand", "and", "9",
>
> It is basically "two-thousand", "and", "9".
>
It's not just Hebrew, here in the Netherlands we also have some awkward
prenounciations:
23 is in english twenty - three, but we say: "drie - en - twintig", the
other way round.
hw
More information about the asterisk-dev
mailing list