<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">That change should be put into tree. &nbsp;We dist FR sound files, we should have those phrase macros in tree that match those files. &nbsp;Could you create a pull request with this update?<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 20, 2015, at 8:30 AM, Darcy Primrose &lt;<a href="mailto:fs@voice2net.ca" class="">fs@voice2net.ca</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><font size="2" face="Arial" class="">had a similar problem with french, here is what I found that works great for us.</font></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><font size="2" face="Arial" class=""></font>&nbsp;</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">This did not work until I copied the sounds.xml file and the voicemail_ivr.xml file from /lang/en directory to fr directory.&nbsp; Probably you could just modify it but this was easy.</div><pre style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); widows: 1;" class="">The sounds.xml file in the fr directory was using speak_text instead of playing wav files and was looking for tts or cepstral.  </pre><pre style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); widows: 1;" class="">I also had to modify the tree to the French wav files like so</pre><pre style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); widows: 1;" class="">/usr/local/freeswitch/sounds/fr/us/callie</pre><pre style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); widows: 1;" class="">We deploy freeswitch into a bilingual market, so this need to work out of the box</pre><pre style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); widows: 1;" class="">Not sure if this is 100% the correct way to do it, but it does work.</pre><pre style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); widows: 1;" class="">Darcy</pre><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><font size="2" face="Arial" class=""></font>&nbsp;</div><blockquote style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); border-left-color: rgb(0, 0, 0); border-left-width: 2px; border-left-style: solid; padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;" class="" type="cite"><div style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-family: arial;" class="">----- Original Message -----<span class="Apple-converted-space">&nbsp;</span></div><div style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-family: arial; background-color: rgb(228, 228, 228);" class=""><b class="">From:</b><span class="Apple-converted-space">&nbsp;</span><a title="victor.medina@cibersys.com" href="mailto:victor.medina@cibersys.com" class="">Victor Medina</a></div><div style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-family: arial;" class=""><b class="">To:</b><span class="Apple-converted-space">&nbsp;</span><a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" class="">FreeSWITCH Users Help</a></div><div style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-family: arial;" class=""><b class="">Sent:</b><span class="Apple-converted-space">&nbsp;</span>Thursday, March 19, 2015 9:46 AM</div><div style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-family: arial;" class=""><b class="">Subject:</b><span class="Apple-converted-space">&nbsp;</span>[Freeswitch-users] Multilanguages in dialplan and voicemail</div><div class=""><br class=""></div><div dir="ltr" class=""><div class="gmail_default" style="font-family: 'courier new', monospace;">Hi guys!<br class=""><br class=""></div><div class="gmail_default" style="font-family: 'courier new', monospace;">Im having troubles trying to support multilanguages destinations in freeswitch dialplan and voicemail.<br class=""><br class=""></div><div class="gmail_default" style="font-family: 'courier new', monospace;">I have modules correctly loaded in modules as:<br class=""><br class="">&nbsp;&nbsp;&nbsp; &lt;load module="mod_say_en"/&gt;<br class="">&nbsp;&nbsp;&nbsp; &lt;load module="mod_say_es"/&gt;<br class=""><br class=""><br class=""></div><div class="gmail_default" style="font-family: 'courier new', monospace;">In vars I only have the following...<br class=""><br class="">&lt;X-PRE-PROCESS cmd="set" data="sound_prefix=$${sounds_dir}/en/us/callie"/&gt;<br class=""><br class=""></div><div class="gmail_default" style="font-family: 'courier new', monospace;"><br class=""><br class=""></div><div class="gmail_default" style="font-family: 'courier new', monospace;">And two internal destinations defined as...<br class=""><br class=""></div><div class="gmail_default" style="font-family: 'courier new', monospace;">Spanish exts....<br class=""></div><div class="gmail_default" style="font-family: 'courier new', monospace;"><br class="">&nbsp;&nbsp;&nbsp; &lt;extension name="Local_Extension1"&gt;<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^([0-9][0-9][0-9])$"&gt;<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .......................<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/&gt;<br class=""><br class=""></div><div class="gmail_default" style="font-family: 'courier new', monospace;">English.....<br class=""></div><div class="gmail_default" style="font-family: 'courier new', monospace;"><br class="">&nbsp;&nbsp;&nbsp; &lt;extension name="Local_Extension2"&gt;<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^(1[0-9][0-9][0-9])$"&gt;<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .................<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/&gt;<br class=""><br class=""><br class=""></div><div class="gmail_default" style="font-family: 'courier new', monospace;">I need that Local_Extension1 have a spanish VoiceMail Voice and Local_Extension2 have a english VoiceMails. I have tried explicitly setting languages in each of the dialplan sections like..<br class=""><br class="">&nbsp; &lt;action application="set" data="sound_prefix=$${sounds_dir}/es/mx/maria"/&gt;<br class="">&nbsp; &lt;action application="set" data="default_language=es"/&gt;<br class="">&nbsp; &lt;action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/&gt;<br class=""><br class=""><br class=""></div><div class="gmail_default" style="font-family: 'courier new', monospace;">I'm even seeing correctly processed in console:<br class=""><br class="">Dialplan: sofia/internal/<a href="mailto:163@cibersys.com" class="">163@cibersys.com</a><span class="Apple-converted-space">&nbsp;</span>Action sleep(1000)<br class="">Dialplan: sofia/internal/<a href="mailto:163@cibersys.com" class="">163@cibersys.com</a><span class="Apple-converted-space">&nbsp;</span>Action set(sound_prefix=/opt/CloudVoice-vPBX/fsw14/sounds/es/mx/maria)<br class="">Dialplan: sofia/internal/<a href="mailto:163@cibersys.com" class="">163@cibersys.com</a><span class="Apple-converted-space">&nbsp;</span>Action set(default_language=es)<br class="">Dialplan: sofia/internal/<a href="mailto:163@cibersys.com" class="">163@cibersys.com</a><span class="Apple-converted-space">&nbsp;</span>Action bridge(loopback/app=voicemail:default ${domain_name} ${dialed_extension})<br class=""><br class=""><br class=""></div><div class="gmail_default" style="font-family: 'courier new', monospace;">Any ideas on what could I do? Are things setted in vars.xml taking precedence ? For example should I remove sound_prefix from vars?<br class=""><br class=""></div><div class="gmail_default" style="font-family: 'courier new', monospace;">Also... any way to reload vars.xml?<br class=""></div></div></blockquote></div></blockquote></div><br class=""></div></body></html>