hello freeswitch community i can now announce the first release of the german prompt set. you can download it under http://freeswitch.xpirio.com/. this package is not useable at this time, because there are some xml files that need to be created or changed first. also the prompts are not 100% perfect and complete. i'll work on these topics and keep you updated. if somebody wants to help, please take a look at the prompts an send me your corrections (directly to my e-mail address, not to the list please). also look at the file de2.xls where you can find the prompts the need to be recorded or corrected. please take a look at the xml files under conf/lang, they also need to be created and/or modified too. br -- Ing. Christian Löschenkohl Technische Leitung, Forschung & Entwicklung VoIP xpirio Telekommunikation & Service GmbH Lakeside B04 9020 Klagenfurt Austria T +43 (0) 5 77 11 - 1000 F +43 (0) 5 77 11 - 1002 E christian.loeschenkohl@xpirio.com
Awesome, thanks! For those who know German please assist Christian in getting these prompts ready for prime time. Thanks, MC 2010/9/24 Christian Löschenkohl <christian.loeschenkohl@xpirio.com>
hello freeswitch community
i can now announce the first release of the german prompt set. you can download it under http://freeswitch.xpirio.com/.
this package is not useable at this time, because there are some xml files that need to be created or changed first. also the prompts are not 100% perfect and complete.
i'll work on these topics and keep you updated.
if somebody wants to help, please take a look at the prompts an send me your corrections (directly to my e-mail address, not to the list please). also look at the file de2.xls where you can find the prompts the need to be recorded or corrected. please take a look at the xml files under conf/lang, they also need to be created and/or modified too.
br
-- Ing. Christian Löschenkohl Technische Leitung, Forschung & Entwicklung VoIP
xpirio Telekommunikation & Service GmbH Lakeside B04 9020 Klagenfurt Austria
T +43 (0) 5 77 11 - 1000 F +43 (0) 5 77 11 - 1002 E christian.loeschenkohl@xpirio.com
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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 Step 1) I tried the follwowing (which worked) (exchanged the sound files) I copied all geman language files to /usr/local/freeswitch/sounds/en/us/callie and switched voice to "en" I could hear all german annoucements without any problems, but of course the phrase handling was not perfect Step 2) Then I made the next step (which didn't work) ("de" configuration with english phrase management) I and switched voice to "de" and modified the geman language files /usr/local/freeswitch/conf/lang/de/de.xml to <include> <language name="de" sound-path="$${base_dir}/sounds/de/de/callie" tts-engine="cepstral" tts-voice="katrin"> <X-PRE-PROCESS cmd="include" data="demo/demo.xml"/> <!--voicemail_de_tts is purely implemented with tts, we need a files based implementation too --> <!-- <X-PRE-PROCESS cmd="include" data="vm/tts.xml"/> --> <X-PRE-PROCESS cmd="include" data="vm/sounds.xml"/> <!-- vm/tts.xml if you want to use tts and have cepstral --> <X-PRE-PROCESS cmd="include" data="dir/sounds.xml"/> <!-- dir/tts.xml if you want to use tts and have cepstral --> </language> </include> and copied vm/sounds.xml and dir/sounds.xml from the en directory I expected to have the same behaviour and english phrasse handling with german wavs as before. But this didn't work Again [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 Step 3) Then I made the next step (which didn't work) (copy of en configuration with english phrase management and small changes to de) I copied all language config files from /usr/local/freeswitch/conf/lang/en to /usr/local/freeswitch/conf/lang/de and modified the de.xml as above <language name="de" sound-path="$${base_dir}/sounds/de/de/callie" tts-engine="cepstral" tts-voice="katrin"> <X-PRE-PROCESS cmd="include" data="demo/demo.xml"/> <!--voicemail_de_tts is purely implemented with tts, we need a files based implementation too --> <!-- <X-PRE-PROCESS cmd="include" data="vm/tts.xml"/> --> <X-PRE-PROCESS cmd="include" data="vm/sounds.xml"/> <!-- vm/tts.xml if you want to use tts and have cepstral --> <X-PRE-PROCESS cmd="include" data="dir/sounds.xml"/> <!-- dir/tts.xml if you want to use tts and have cepstral --> </language> </include> (just changed en/us to /de/de) Again [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 It seems that my freeswith doesn't accept the german language. Mod_say_de is loaded successfully: 2010-10-08 20:12:21.929632 [DEBUG] switch_loadable_module.c:764 Write lock interface 'de' to wait for existing references. freeswitch@internal> 2010-10-08 20:12:21.929632 [NOTICE] switch_loadable_module.c:772 Deleting Say interface 'de' 2010-10-08 20:12:21.933896 [CONSOLE] switch_loadable_module.c:1401 mod_say_de has no shutdown routine 2010-10-08 20:12:21.933896 [CONSOLE] switch_loadable_module.c:1418 mod_say_de unloaded. 2010-10-08 20:12:22.112108 [INFO] mod_pocketsphinx.c:482 PocketSphinx Reloaded 2010-10-08 20:12:22.155122 [INFO] mod_enum.c:808 ENUM Reloaded 2010-10-08 20:12:22.177251 [INFO] switch_time.c:950 Timezone reloaded 530 definitions 2010-10-08 20:12:22.180670 [CONSOLE] switch_loadable_module.c:946 Successfully Loaded [mod_say_de] 2010-10-08 20:12:22.182284 [NOTICE] switch_loadable_module.c:399 Adding Say interface 'de' What can I do to fix this problem (GIT is from last week) Best regards Peter Christian Löschenkohl schrieb:
hello freeswitch community
i can now announce the first release of the german prompt set. you can download it under http://freeswitch.xpirio.com/.
this package is not useable at this time, because there are some xml files that need to be created or changed first. also the prompts are not 100% perfect and complete.
i'll work on these topics and keep you updated.
if somebody wants to help, please take a look at the prompts an send me your corrections (directly to my e-mail address, not to the list please). also look at the file de2.xls where you can find the prompts the need to be recorded or corrected. please take a look at the xml files under conf/lang, they also need to be created and/or modified too.
br
On Fri, Oct 8, 2010 at 8:18 PM, Peter P GMX <Prometheus001@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@cxss01 de]$ mv en.xml de.xml edit the xml file in order to fit your needs. here is my version: [tculjaga@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!
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@gmx.net <mailto:Prometheus001@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@cxss01 de]$ mv en.xml de.xml edit the xml file in order to fit your needs.
here is my version:
[tculjaga@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Wiki is also updated. Peter P GMX schrieb:
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@gmx.net <mailto:Prometheus001@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@cxss01 de]$ mv en.xml de.xml edit the xml file in order to fit your needs.
here is my version:
[tculjaga@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Christian Löschenkohl
-
Michael Collins
-
Peter P GMX
-
Tihomir Culjaga