[Freeswitch-users] Java ESL MESSAGE event encoding

Jimmy Chang chang33.tw at gmail.com
Thu Mar 21 14:18:52 MSK 2013


Hi,

I'm using org.freeswitch.esl.client-0.9.3-SNAPSHOT library and
I got message corrupt  when I received message from SIP SIMPLE MESSAGE.
The ?????? messages are chinese words.
Here are the logs.
Any suggestions would be appreicated.

[2013/03/21 18:09:56] [DEBUG] read body line [Event-Name: MESSAGE]
[2013/03/21 18:09:56] [DEBUG] read body line [Core-UUID: 
c275cf27-b718-48bb-a870-d48c236b27da]
[2013/03/21 18:09:56] [DEBUG] read body line [FreeSWITCH-Hostname: 
asterisk-orig]
[2013/03/21 18:09:56] [DEBUG] read body line [FreeSWITCH-Switchname: 
asterisk-orig]
[2013/03/21 18:09:56] [DEBUG] read body line [FreeSWITCH-IPv4: 10.0.110.33]
[2013/03/21 18:09:56] [DEBUG] read body line [FreeSWITCH-IPv6: %3A%3A1]
[2013/03/21 18:09:56] [DEBUG] read body line [Event-Date-Local: 
2013-03-21%2018%3A10%3A06]
[2013/03/21 18:09:56] [DEBUG] read body line [Event-Date-GMT: 
Thu,%2021%20Mar%202013%2010%3A10%3A06%20GMT]
[2013/03/21 18:09:56] [DEBUG] read body line [Event-Date-Timestamp: 
1363860606137801]
[2013/03/21 18:09:56] [DEBUG] read body line [Event-Calling-File: 
sofia_presence.c]
[2013/03/21 18:09:56] [DEBUG] read body line [Event-Calling-Function: 
sofia_presence_handle_sip_i_message]
[2013/03/21 18:09:56] [DEBUG] read body line [Event-Calling-Line-Number: 
4502]
[2013/03/21 18:09:56] [DEBUG] read body line [Event-Sequence: 13794]
[2013/03/21 18:09:56] [DEBUG] read body line [login: 
sip%3Amod_sofia%4010.0.110.33%3A5060]
[2013/03/21 18:09:56] [DEBUG] read body line [proto: sip]
[2013/03/21 18:09:56] [DEBUG] read body line [to_proto: sip]
[2013/03/21 18:09:56] [DEBUG] read body line [from: 1018%4010.0.110.33]
[2013/03/21 18:09:56] [DEBUG] read body line [from_user: 1018]
[2013/03/21 18:09:56] [DEBUG] read body line [from_host: 10.0.110.33]
[2013/03/21 18:09:56] [DEBUG] read body line [to_user: 1011]
[2013/03/21 18:09:56] [DEBUG] read body line [to_host: 10.0.110.33]
[2013/03/21 18:09:56] [DEBUG] read body line [from_sip_ip: 10.0.1.69]
[2013/03/21 18:09:56] [DEBUG] read body line [from_sip_port: 5060]
[2013/03/21 18:09:56] [DEBUG] read body line [to: 1011%4010.0.110.33]
[2013/03/21 18:09:56] [DEBUG] read body line [subject: SIMPLE%20MESSAGE]
[2013/03/21 18:09:56] [DEBUG] read body line [type: text/plain]
[2013/03/21 18:09:56] [DEBUG] read body line [from_full: 
%3Csip%3A1018%4010.0.110.33%3E%3Btag%3D18420]
[2013/03/21 18:09:56] [DEBUG] read body line [sip_profile: internal]
[2013/03/21 18:09:56] [DEBUG] read body line [max_forwards: 70]
[2013/03/21 18:09:56] [DEBUG] read body line [DP_MATCH: 1011%4010.0.110.33]
[2013/03/21 18:09:56] [DEBUG] read body line [skip_global_process: true]
[2013/03/21 18:09:56] [DEBUG] read body line [dest_proto: sip]
[2013/03/21 18:09:56] [DEBUG] read body line [Nonblocking-Delivery: true]
[2013/03/21 18:09:56] [DEBUG] read body line [Content-Length: 11]
[2013/03/21 18:09:56] [DEBUG] read body line []
[2013/03/21 18:09:56] [DEBUG] read body line [Jimmy??????]


Regards,
Jimmy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130321/968e004d/attachment.html 


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