[sr-dev] WebSocket Server support in Kamailio master

Juha Heinanen jh at tutpro.com
Mon Jul 9 11:27:48 CEST 2012


Peter Dunkley writes:

> The nathelper stuff works for me, and is useful if your client doesn't
> support the various extensions.

ok, i'll check if sipml5 supports gruu once i manage to make it send
register request.  currently initial GET fails like this:

Jul  9 11:29:43 siika /usr/sbin/sip-proxy[9153]: ERROR: <core> [tcp_read.c:1292]: ERROR: tcp_read_req: bad request, state=7, error=4 buf:#012GET / HTTP/1.1#015#012Upgrade: websocket#015#012Connection: Upgrade#015#012Host: 192.98.103.10#015#012Origin: https://localhost#015#012Sec-WebSocket-Protocol: sip#015#012Sec-WebSocket-Key: 3uCSAAgsydjW9+RD857uXg==#015#012Sec-WebSocket-Version: 13#015#012Sec-WebSocket-Extensions: x-webkit-deflate-frame#015#012#015#012#012parsed:#012GET / HTTP/1.1#015#012Upgrade: websocket#015#012Connection: Upgrade#015#012Host: 192.98.103.10#015#012Origin: https://localhost#015#012Sec-WebSocket-Protocol: sip#015#012Sec-WebSocket-Key: 3uCSAAgsydjW9+RD857uXg==#015#012Sec-WebSocket-Version: 13#015#012Sec-WebSocket-Extensions: x-webkit-deflate-frame#015#012#015#012

i'm not sure if this error is generated before
event_route[xhttp:request] is executed.

-- juha



More information about the sr-dev mailing list