[Freeswitch-users] german prompts - first release - how to get it to work
Peter P GMX
Prometheus001 at gmx.net
Fri Oct 8 11:18:05 PDT 2010
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 at 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
>
>
More information about the FreeSWITCH-users
mailing list