<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Thanks! but this method for playAndGetDigits(-) seems not as convenient as app 'say' where we may directly specify current language (e.g. 'fr') other than default one (e.g. 'en') at any time.<BR><BR>--- On <B>Sun, 9/4/11, Luis Jimenez <I><ljjimenez@gmail.com></I></B> wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: Luis Jimenez <ljjimenez@gmail.com><BR>Subject: Re: [Freeswitch-users] How to specify language for phrase macro inside session:playAndGetDigits(-)<BR>To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org><BR>Date: Sunday, September 4, 2011, 6:40 PM<BR><BR>
<DIV id=yiv36852136>You can set the variable default_language before or during your script.<BR><BR><A href="http://wiki.freeswitch.org/wiki/Variable_default_language" rel=nofollow target=_blank>http://wiki.freeswitch.org/wiki/Variable_default_language</A><BR><BR><BR><BR>
<DIV class=yiv36852136gmail_quote>On Sat, Sep 3, 2011 at 12:52 AM, king2kin <SPAN dir=ltr><<A href="http://us.mc397.mail.yahoo.com/mc/compose?to=xing2kin@yahoo.com" rel=nofollow target=_blank ymailto="mailto:xing2kin@yahoo.com">xing2kin@yahoo.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class=yiv36852136gmail_quote>Hi all,<BR><BR>{<BR>session:playAndGetDigits(1, 1, 1, 3000, "#", "phrase:xk_confirm_userid:" .. uid, invalid, "[0,1,9]")<BR>}<BR>always uses default language (e.g. 'en') to pick up phrase marco definition,<BR>but now I would like to specify another language instead of FS default language to play back this phrase macro inside session:playAndGetDigits(-).<BR><BR>Could anyone please tell me how I can specify non-default language for playing back my phrase macro inside session:playAndGetDigits(-)?<BR><BR>Thanks<BR><BR>x.k.<BR><BR><BR><BR>FreeSWITCH-users mailing list<BR><A href="http://us.mc397.mail.yahoo.com/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org" rel=nofollow target=_blank ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel=nofollow target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel=nofollow target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A href="http://www.freeswitch.org/" rel=nofollow target=_blank>http://www.freeswitch.org</A><BR></BLOCKQUOTE></DIV><BR></DIV><BR>-----Inline Attachment Follows-----<BR><BR>
<DIV class=plainMail><BR>FreeSWITCH-users mailing list<BR><A href="http://us.mc397.mail.yahoo.com/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR><A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A href="http://www.freeswitch.org/" target=_blank>http://www.freeswitch.org</A><BR></DIV></BLOCKQUOTE></td></tr></table>