No idea if FreeSWITCH Lua supports unicode. Maybe you can write another post, asking if Lua in FreeSWITCH supports unicode... -giovanni On Tue, Nov 20, 2012 at 6:17 PM, 王理 <itispip-qq@hotmail.com> wrote:
Thanks Giovanni for the tip. In Wiki it says
skypopen_chat supports full utf8 chat text through ESL or API; yet in Lua script I create freeswitc.API() and then executestring("skypopen_chat interface1 remote_skypeid some_unicode_messsage), the utf8 message was not received correctly.
Does the wiki "API" not referring to freeswitch.API in Lua?
Date: Mon, 19 Nov 2012 12:19:30 +0100 From: gmaruzz@gmail.com To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] How to enable unicode in CLI command?
from CLI you can't. You can use ESL, eg telnet to port 8021 (IIRC). Anyway, look in the wiki page of gsmopen and/or skypopen for an example howto. Via ESL unicode is supported. -giovanni
On 11/18/12, 王理 <itispip-qq@hotmail.com> wrote:
I tried to use chat / skypopen_chat from CLI console to send a message to receiver, the message is written by unicode charactor (Korean or Thai), the receiver cannot get correct charators; Tried to call chat / skypopen_chat API from LUA/JScript, ended the same; I believe Freeswitch itself support unicode, as when I use an SIP client as "Bria" to send SIP chat message between 2 clients, unicode charactor displays correctly. Is it just the CLI command by design not support unicode, or I have to do something in config xml?
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618