[asterisk-dev] [feature] Support for relative paths for all "say" functions

Kevin P. Fleming kpfleming at digium.com
Fri Aug 21 13:01:56 CDT 2009


Nicolas Chapleau wrote:

> I agree that this seems to duplicate LANGUAGE, but in fact it
> only complements it. The LANGUAGE field is still used and the
> VOCAB_RELATIVE_PATH only appends to it. If the functions in "SAY" had
> relative paths just like the playback and background functions do, this
> would not be an issue, but they are hard coded. I would like
> to implement this but I would need to change the syntax and I do not
> wish to do so for compatibility reasons.

So let's try for a real example then; are you saying that you'd have
French prompts installed under 'fr', but want some specific variants for
digits that would be used only by code that wanted to speak digits?

If so, you could install the specific digits *only* under fr_special,
and set LANGUAGE to fr_special; this will cause Asterisk to find the
digits under fr_special, but the non-digit prompts under plain fr.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kpfleming at digium.com
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list