Alexbtti / sipml5

Automatically exported from code.google.com/p/sipml5
Other
0 stars 0 forks source link

use sip message method to send chinese content not work #125

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
a) Before posting your issue you MUST answer to the questions otherwise it
will be rejected (invalid status) by us
b) Please check the issue tacker to avoid duplication
c) Please provide network capture (Wireshark) or Javascript console log
if you want quick response

What steps will reproduce the problem?
1. send chinese content with utf-8, console log show as below:
State machine: tsip_dialog_generic_Started_2_InProgress_X_oMessage 
SIPml-api.js:1
SEND: MESSAGE sip:1021@10.178.255.114 SIP/2.0
Via: SIP/2.0/WS 
df7jal23ls0d.invalid;branch=z9hG4bKPQ7yNdcBK4I6imCUfHmkiQCa7e1odpnc;rport
From: "1021"<sip:1021@10.178.255.114>;tag=RR0OrazkUtcP2glmTh8M
To: <sip:1021@10.178.255.114>
Call-ID: 6d870cd5-36f6-8057-d81e-e35c13a20f9a
CSeq: 45868 MESSAGE
Content-Type: text/plain;charset=utf-8
Content-Length: 6
Max-Forwards: 70
User-Agent: IM-client/OMA1.0 sipML5-v1.2013.08.10B
Organization: Doubango Telecom

特维 

2. the message received is as below. the content is null

recv=MESSAGE sip:1021@146.11.0.145:58401 SIP/2.0
Via: SIP/2.0/WS 10.178.255.114:5066;branch=z9hG4bKQ5139jpBF1NDr
From: "1021"<sip:1021@10.178.255.114>;tag=RR0OrazkUtcP2glmTh8M
To: <sip:1021@146.11.0.145:58401>;rtcweb-breaker=no;transport=ws
Contact: <sip:10.178.255.114>
Call-ID: 7c652ff8-16d2-11e3-8708-bf20b42abd0c
CSeq: 48889516 MESSAGE
Content-Type: text/plain
Content-Length: 6
Route: <sip:1021@146.11.0.145:58401>
Max-Forwards: 70
User-Agent: FreeSWITCH-mod_sofia/1.4.0
Allow: 
INVITE,ACK,BYE,CANCEL,OPTIONS,MESSAGE,INFO,UPDATE,REGISTER,REFER,NOTIFY,PUBLISH,
SUBSCRIBE
Supported: timer,precondition,path,replaces
X-FS-Sending-Message: 6cedb072-1538-11e3-86a4-bf20b42abd0c

 SIPml-api.js:1
State machine: tsip_dialog_generic_Started_2_Incoming_X_iMessage SIPml-api.js:1
==stack event = i_new_message SIPml-api.js:1
State machine: tsip_dialog_generic_Incoming_2_Terminated_X_accept SIPml-api.js:1
=== MESSAGE Dialog terminated === SIPml-api.js:1
SMS-content = null and SMS-content-type = text/plain call.htm:786

What version of the product are you using? On what operating system?
latest verison on chrome

Please provide any additional information below.

Original issue reported on code.google.com by QuGuozh...@gmail.com on 6 Sep 2013 at 9:05

Attachments: