<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19190">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN lang=EN>
<P><FONT size=1><FONT size=2 face=Arial>Hello Mr. MC</FONT></FONT></P>
<P><FONT size=1><FONT size=2 face=Arial>Thanks for the link.....seems
working.</FONT></FONT></P>
<P><FONT size=1><FONT size=2 face=Arial>But observed another point i.e. it works
only for the speech phrase macros.</FONT></FONT></P>
<P><FONT size=2 face=Arial>When I write a simple xml dialplan like this
-</FONT></P>
<P><FONT size=1><FONT size=2 face=Arial> <FONT color=#ff0000>
<extension name="lang_test"><BR>
<condition field="destination_number"
expression="^(3333)$"><BR>
<action application="set"
data="bypass_media=true"/><BR>
<action
application="answer"/><BR>
<action application="sleep"
data="1000"/><BR>
<action application="set"
data="default_language=ru"/><BR>
<action application="playback"
data="ivr/test.wav"/><BR>
</condition><BR>
</extension></FONT></FONT></FONT></P>
<P><FONT size=2 face=Arial><FONT color=#ff0000>This dialplan still plays the
test.wav</FONT> which is in
<base_dir>/sounds/en/us/callie/ivr/8000/test.wav. </FONT><FONT size=2
face=Arial>While it should play the test.wav from
<base_dir>/sounds/ru/RU/elena/ivr/8000/test.wav. & at the same time,
speech phrase macro use the 'ru' language.</FONT></P>
<P><FONT size=2 face=Arial>So when I did my googling, I found that the language
settings is only for speech phrase macros. It is not implemented in Freeswitch
to use the desired languages at all places.</FONT></P>
<P><FONT size=2 face=Arial>So need to know is there any latest development on
this ?</FONT></P>
<P><FONT size=2 face=Arial>Thanks in advance.</FONT></P>
<P><FONT size=2 face=Arial>Regards</FONT></P>
<P><FONT size=2 face=Arial>Sharad</FONT></P>
<P><FONT size=1><FONT size=2 face=Arial></FONT> </P></FONT></SPAN></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=msc@freeswitch.org href="mailto:msc@freeswitch.org">Michael
Collins</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, March 31, 2012 1:15
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users]
Session-wise Language Setting</DIV>
<DIV><BR></DIV><BR><BR>
<DIV class=gmail_quote>On Fri, Mar 30, 2012 at 5:13 AM, Sharad Garg <SPAN
dir=ltr><<A
href="mailto:sharad@coraltele.com">sharad@coraltele.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>Thanks Peter...yes it works.<BR><BR>Just a last query - Is
there any API for setting the same so that it can be<BR>used from
Javascript.<BR><BR>Best Regards<BR>
<DIV class="im HOEnZb">Sharad<BR><BR></DIV></BLOCKQUOTE>
<DIV><BR><A
href="http://wiki.freeswitch.org/wiki/Mod_commands#uuid_setvar">http://wiki.freeswitch.org/wiki/Mod_commands#uuid_setvar</A>
<BR></DIV></DIV></BLOCKQUOTE></BODY></HTML>