<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> <load module="mod_say_en"/><br> <load module="mod_say_es"/><br><br><br></div><div class="gmail_default" style="font-family:courier new,monospace">In vars I only have the following...<br><br><X-PRE-PROCESS cmd="set" data="sound_prefix=$${sounds_dir}/en/us/callie"/><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> <extension name="Local_Extension1"><br> <condition field="destination_number" expression="^([0-9][0-9][0-9])$"><br> .......................<br> <action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/><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> <extension name="Local_Extension2"><br> <condition field="destination_number" expression="^(1[0-9][0-9][0-9])$"><br> .................<br> <action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/><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> <action application="set" data="sound_prefix=$${sounds_dir}/es/mx/maria"/><br> <action application="set" data="default_language=es"/><br> <action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/><br><br><br></div><div class="gmail_default" style="font-family:courier new,monospace">I'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>