<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.&nbsp; think you have to also switch to&nbsp; the
      "sound.xml" files (instead of the "tts.xml") and include the "ivr"
      subdirectory<br>
      <br>
      &lt;include&gt;<br>
      &nbsp; &lt;language name="de" say-module="de"
      sound-prefix="$${sounds_dir}/de/tts/google" tts-engine="flite"
      tts-voice="rms"&gt; &lt;!-- rms / slt --&gt;<br>
      &nbsp;&nbsp;&nbsp; &lt;phrases&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;macros&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;X-PRE-PROCESS cmd="include" data="demo/demo.xml"/&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--voicemail_de_tts is purely implemented with tts, we
      need a files based implementation too --&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;X-PRE-PROCESS cmd="include" data="vm/sounds.xml"/&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;X-PRE-PROCESS cmd="include"
      data="ivr/sounds.xml"/&gt;&nbsp; &lt;!-- IVR and custom phrases go here
      --&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/macros&gt;<br>
      &nbsp;&nbsp;&nbsp; &lt;/phrases&gt;<br>
      &nbsp; &lt;/language&gt;<br>
      &lt;/include&gt;<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:

&lt;include&gt;
   &lt;language name="de" say-module="de" 
sound-prefix="$${sounds_dir}/de/at/ute" tts-engine="cepstral" 
tts-voice="david"&gt;
     &lt;phrases&gt;
       &lt;macros&gt;
         &lt;X-PRE-PROCESS cmd="include" data="demo/demo.xml"/&gt;
         &lt;!--voicemail_de_tts is purely implemented with tts, we need a 
files based implementation too --&gt;
         &lt;X-PRE-PROCESS cmd="include" data="vm/tts.xml"/&gt;
       &lt;/macros&gt;
     &lt;/phrases&gt;
   &lt;/language&gt;
&lt;/include&gt;


and I made sure the de.xml is included in freeswitch.xml:

   &lt;section name="languages" description="Language Management"&gt;
     &lt;X-PRE-PROCESS cmd="include" data="lang/de/*.xml"/&gt;



I was hoping that by setting the default_language parameter:

&lt;action application="set" data="default_language=de"/&gt;

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>