Hi Juha,
The tcp_accept_no_cl=yes is just to enable Kamailio to accept TCP/TLS
messages without a Content-Length: header. Some bad SIP clients send
these, and it is not always used in HTTP GETs either - and you need to
handle an HTTP GET as part of the WebSocket handshake.
I have no idea about the specifics of that test. It's not something
I've ever used. But, the sipML5 client does send quite large INVITEs,
so I wouldn't be at all surprised if they were larger than 4096 bytes.
Regards,
Peter
On Mon, 2012-07-09 at 17:21 +0300, Juha Heinanen wrote:
Peter Dunkley writes:
Also, make sure tcp_accept_no_cl=yes is in your
kamailio.cfg.
that got me further. register request now works ok, but when i send
invite, it fails in this test:
if (msg:len >= 4096) {
xlog("L_NOTICE", "Message $rm to <$ru> is too big\n");
send_reply("513", "Message too big");
exit;
};
is it so that msg:len test cannot be used when tcp_accept_no_cl=yes? if
so, what is alternative test to make sure that message is not too big?
-- juha
_______________________________________________
sr-dev mailing list
sr-dev(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
--
Peter Dunkley
Technical Director
Crocodile RCS Ltd