<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">Hi guys!<br><br></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><br></div><div class="gmail_default" style="font-family:courier new,monospace">I have modules correctly loaded in modules as:<br><br>    &lt;load module=&quot;mod_say_en&quot;/&gt;<br>    &lt;load module=&quot;mod_say_es&quot;/&gt;<br><br><br></div><div class="gmail_default" style="font-family:courier new,monospace">In vars I only have the following...<br><br>&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;sound_prefix=$${sounds_dir}/en/us/callie&quot;/&gt;<br><br></div><div class="gmail_default" style="font-family:courier new,monospace"><br><br></div><div class="gmail_default" style="font-family:courier new,monospace">And two internal destinations defined as...<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">Spanish exts....<br></div><div class="gmail_default" style="font-family:courier new,monospace"><br>    &lt;extension name=&quot;Local_Extension1&quot;&gt;<br>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^([0-9][0-9][0-9])$&quot;&gt;<br>      .......................<br>      &lt;action application=&quot;bridge&quot; data=&quot;loopback/app=voicemail:default ${domain_name} ${dialed_extension}&quot;/&gt;<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">English.....<br></div><div class="gmail_default" style="font-family:courier new,monospace"><br>    &lt;extension name=&quot;Local_Extension2&quot;&gt;<br>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(1[0-9][0-9][0-9])$&quot;&gt;<br>      .................<br>      &lt;action application=&quot;bridge&quot; data=&quot;loopback/app=voicemail:default ${domain_name} ${dialed_extension}&quot;/&gt;<br><br><br></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><br>  &lt;action application=&quot;set&quot; data=&quot;sound_prefix=$${sounds_dir}/es/mx/maria&quot;/&gt;<br>  &lt;action application=&quot;set&quot; data=&quot;default_language=es&quot;/&gt;<br>  &lt;action application=&quot;bridge&quot; data=&quot;loopback/app=voicemail:default ${domain_name} ${dialed_extension}&quot;/&gt;<br><br><br></div><div class="gmail_default" style="font-family:courier new,monospace">I&#39;m even seeing correctly processed in console:<br><br>Dialplan: sofia/internal/<a href="mailto:163@cibersys.com">163@cibersys.com</a> Action sleep(1000)<br>Dialplan: sofia/internal/<a href="mailto:163@cibersys.com">163@cibersys.com</a> Action set(sound_prefix=/opt/CloudVoice-vPBX/fsw14/sounds/es/mx/maria)<br>Dialplan: sofia/internal/<a href="mailto:163@cibersys.com">163@cibersys.com</a> Action set(default_language=es)<br>Dialplan: sofia/internal/<a href="mailto:163@cibersys.com">163@cibersys.com</a> Action bridge(loopback/app=voicemail:default ${domain_name} ${dialed_extension})<br><br><br></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><br></div><div class="gmail_default" style="font-family:courier new,monospace">Also... any way to reload vars.xml?<br></div><div class="gmail_default" style="font-family:courier new,monospace"><br><br></div><div class="gmail_default" style="font-family:courier new,monospace"><br clear="all"></div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div class="gmail_signature"><div dir="ltr"><font><span style="font-family:courier new,monospace"><img src="https://www.cibersys.com/imagenes/logotipo-cibersys-the-new-easy.png"><br>Víctor E. Medina M.<br></span></font><div><font><span style="font-family:courier new,monospace">Software<br></span></font></div><font><span style="font-family:courier new,monospace"><span style="display:inline"><span style="display:inline"><img alt="Zoiper Click2Dial" style="margin: 0px 2px; padding: 0px; width: 20px; height: 20px;" src="http://www.zoiper.com/images/ZoiperHead20x20.png" height="20" width="20"><a href="zoiper://+584242914561">+58424 291 4561</a><img alt="ve" style="margin: 0px 2px; padding: 0px; width: 28px; height: 16px;" src="http://www.zoiper.com/images/Click2DialFlags/ve.png" height="16" width="28"></span></span><br>BB #79A8AFA2 /@VMCibersys<br><br></span></font></div></div></div></div>
</div>