You can set the variable default_language before or during your script.<br><br><a href="http://wiki.freeswitch.org/wiki/Variable_default_language">http://wiki.freeswitch.org/wiki/Variable_default_language</a><br><br><br><br>
<div class="gmail_quote">On Sat, Sep 3, 2011 at 12:52 AM, king2kin <span dir="ltr"><<a href="mailto:xing2kin@yahoo.com">xing2kin@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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="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>
</blockquote></div><br>