[Freeswitch-users] How to specify language for phrase macro inside session:playAndGetDigits(-)

Luis Jimenez ljjimenez at gmail.com
Mon Sep 5 05:40:18 MSD 2011


You can set the variable default_language before or during your script.

http://wiki.freeswitch.org/wiki/Variable_default_language



On Sat, Sep 3, 2011 at 12:52 AM, king2kin <xing2kin at yahoo.com> wrote:

> Hi all,
>
> {
> session:playAndGetDigits(1, 1, 1, 3000, "#", "phrase:xk_confirm_userid:" ..
> uid, invalid, "[0,1,9]")
> }
> always uses default language (e.g. 'en') to pick up phrase marco
> definition,
> but now I would like to specify another language instead of FS default
> language to play back this phrase macro inside session:playAndGetDigits(-).
>
> Could anyone please tell me how I can specify non-default language for
> playing back my phrase macro inside session:playAndGetDigits(-)?
>
> Thanks
>
> x.k.
>
>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110904/90c8f790/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list