You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce: try to send MESSAGE with non-english content, parser do not see
message body in that case.
Is tsip_parser_message.js whole generated file by ragel or it has some custom
content?
Original issue reported on code.google.com by i...@fomine.com on 29 May 2012 at 1:45
The text was updated successfully, but these errors were encountered:
In my case, the code below work as expected (UTF-8 content escaped). What's the
issue?
var oSessionIM = new tsip_session_message(oSipStack,
tsip_session.prototype.SetToStr("2233422677"),
tsip_session.prototype.SetHeader("What", "IM"));
oSessionIM.send(new String("Pêche à la moule"), "text/plain; charset=utf8");
oSipStack.on_event_message = function (evt) {
console.debug(evt.s_phrase);
switch (evt.e_message_type) {
case tsip_event_message_type_e.I_MESSAGE:
{
evt.get_session().accept();
console.debug("Incoming message=%s", evt.get_message().get_content_as_string());
break;
}
case tsip_event_message_type_e.AO_MESSAGE:
{
if (evt.i_code >= 200 && evt.i_code <= 299) {
console.debug("sent");
}
else if (evt.i_code >= 300) {
console.debug("not sent (%d)", evt.i_code);
}
break;
}
}
};
Original comment by boss...@yahoo.fr on 29 May 2012 at 5:11
Original issue reported on code.google.com by
i...@fomine.com
on 29 May 2012 at 1:45The text was updated successfully, but these errors were encountered: