[Freeswitch-users] How to enable unicode in CLI command?

Giovanni Maruzzelli gmaruzz at celliax.org
Tue Nov 20 23:30:00 MSK 2012


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 at 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 at gmail.com
>> To: freeswitch-users at 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 at 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 at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> 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
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>



-- 
Sincerely,

Giovanni Maruzzelli
Cell : +39-347-2665618



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