[Freeswitch-users] german prompts - first release - how to get it to work

Peter P GMX Prometheus001 at gmx.net
Fri Oct 8 14:42:55 PDT 2010


Thanks,

<X-PRE-PROCESS cmd="include" data="lang/de/*.xml"/>
did the trick. Now it works in German with TTS and voice files.

Thank you very much

Best regards
Peter

Tihomir Culjaga schrieb:
>
>
> On Fri, Oct 8, 2010 at 8:18 PM, Peter P GMX <Prometheus001 at gmx.net
> <mailto:Prometheus001 at gmx.net>> wrote:
>
>     I tried to install this, but I failed so far
>        [ERR] switch_ivr_play_say.c:113 Can't find language de.
>        [WARNING] switch_ivr_play_say.c:339 Macro [voicemail_hello]: '' did
>     not match any patterns
>
>
>
> well, you didn't load mod_say_de
>
> i have EN, DE, FR, HR, IT, RU languages working fine
>
>
>
> anyhow, to add a new language
>
> edit freeswitch.xml and add your language within phrase section
>
> e.g.:
>
>   <section name="phrases" description="Speech Phrase Management">
>     <macros>
>       <X-PRE-PROCESS cmd="include" data="lang/de/*.xml"/>
>       <X-PRE-PROCESS cmd="include" data="lang/en/*.xml"/>
>       <X-PRE-PROCESS cmd="include" data="lang/fr/*.xml"/>
>       <X-PRE-PROCESS cmd="include" data="lang/it/*.xml"/>
>       <X-PRE-PROCESS cmd="include" data="lang/hr/*.xml"/>
>       <X-PRE-PROCESS cmd="include" data="lang/ru/*.xml"/>
>     </macros>
>   </section>
>
>
> go to:
> /usr/local/freeswitch/conf/lang
>
> and create a directory ... e.g. de in your case
>
> change directory to de (cd de) and copy files from another language
> e.g. en.
>
> cp -r ../en/* .
>
> than rename en.xml into de.xml.
>
> [tculjaga at cxss01 de]$ mv en.xml de.xml
> edit the xml file in order to fit your needs.
>
> here is my version:
>
> [tculjaga at cxss01 de]$ cat de.xml
> <include>
>   <language name="de" sound-path="$${sounds_dir}/de/de/helge/"
> tts-engine="cepstral" tts-voice="callie">
>     <X-PRE-PROCESS cmd="include" data="demo/*.xml"/>
>     <X-PRE-PROCESS cmd="include" data="vm/sounds.xml"/>
>     <X-PRE-PROCESS cmd="include" data="dir/sounds.xml"/>
>     <!-- <X-PRE-PROCESS cmd="include" data="ivr/ivr_funcs.xml"/> -->
>   </language>
> </include>
>
> demo/*.xml
> vm/sounds.xml
> dir/sounds.xml
> ivr/ivr_functions.xml
>
> these are files containing macros you will later use in dialplan. You
> need to have them consistent across all the languages.
>
> when you done this, its time for your voice files.
> go to:
> /usr/local/freeswitch/sounds
>
> copy the directory structure form another language e.g.  en, wipe the
> *.wav files and copy your own files of course with the same naming!
>
> build and load mod_say_de and thats it ...
>
>
>
> hope it helps!
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>   



More information about the FreeSWITCH-users mailing list