<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
had a similar problem. think you have to also switch to the
"sound.xml" files (instead of the "tts.xml") and include the "ivr"
subdirectory<br>
<br>
<include><br>
<language name="de" say-module="de"
sound-prefix="$${sounds_dir}/de/tts/google" tts-engine="flite"
tts-voice="rms"> <!-- rms / slt --><br>
<phrases><br>
<macros><br>
<X-PRE-PROCESS cmd="include" data="demo/demo.xml"/><br>
<!--voicemail_de_tts is purely implemented with tts, we
need a files based implementation too --><br>
<X-PRE-PROCESS cmd="include" data="vm/sounds.xml"/><br>
<X-PRE-PROCESS cmd="include"
data="ivr/sounds.xml"/> <!-- IVR and custom phrases go here
--><br>
</macros><br>
</phrases><br>
</language><br>
</include><br>
<br>
you can copy the "ivr/sounds.xml" from the "en" sections as the
files should have the same names but are in the "de" tree ...<br>
<br>
hope this helps<br>
<br>
Paul<br>
<br>
<br>
Am 12.10.14 16:15, schrieb <a class="moz-txt-link-abbreviated" href="mailto:flow27@meta-matrix.de">flow27@meta-matrix.de</a>:<br>
</div>
<blockquote
cite="mid:9ba9bb19178e5cb3f64f393d13994b32@meta-matrix.de"
type="cite">
<pre wrap="">Hello,
I try to make the pre-recorded voice conference announcements available
in English as well as in German. From an old howto I found a few steps.
I downloaded the German sound file and extracted it into
freeswitch/sounds/de/at/ute/... then I made this adjustment to
freeswitch/conf/lang/de/de.xml:
<include>
<language name="de" say-module="de"
sound-prefix="$${sounds_dir}/de/at/ute" tts-engine="cepstral"
tts-voice="david">
<phrases>
<macros>
<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"/>
</macros>
</phrases>
</language>
</include>
and I made sure the de.xml is included in freeswitch.xml:
<section name="languages" description="Language Management">
<X-PRE-PROCESS cmd="include" data="lang/de/*.xml"/>
I was hoping that by setting the default_language parameter:
<action application="set" data="default_language=de"/>
before calling the conference application I could exchange the English
annoucements with the German ones but this does not work. I read in the
docs that the default language parameter is mainly for the say-module
but which parameter then selects the language of the pre-recorded
announcements? Is the German say-module even required when I dont want
to use the say command at all but just want to playback the German
soundfiles?
In the logfile I see that the language is changed:
83d9e7fc-5212-11e4-a335-2d65638c2a61 Dialplan:
sofia/external/<a href="skype:04124124124?call" nr="04124124124" class="telified" title="Als Telefonnummer verwenden" style="color:#00001f;background-color:#ffffdf;-moz-border-radius:3px;cursor:pointer">04124124124</a>@myprovider.de Action set(default_language=de)
But when the conference starts it is using the English sound prefix:
2014-10-12 15:20:<a href="skype:34503660?call" nr="34503660" posscc="+34" class="telified" title="Als Telefonnummer verwenden" style="color:#00001f;background-color:#ffffdf;-moz-border-radius:3px;cursor:pointer">34.503660</a> [INFO] mod_conference.c:10305 using channel
sound prefix: /opt/freeswitch/sounds/en/us/callie
How can I change the voice conference annoucement language without
simply replacing the audio files because I want to have the English
announcements also available for English-only participants.
Thanks for any help
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</body>
</html>