The Kamailio WebSocket stack will only ping on idle connections. If
nathelper is sending SIP level pings on a shorter interval than the
WebSocket stack is the connection won't be considered idle. The
load-balancer doesn't understand the TCP traffic so it won't care as long
as there is traffic.
H
Peter Dunkley writes:
> A good example is that if you are using Amazon Elastic Load-Balancer to
> distribute WebSocket connections, idle connections will be timed-out (by
> the Load-Balancer) after 60 seconds - so make sure the server sends
> WebSocket pings more frequently than that.
peter,
web
tcp_keepalive=yes has an effect on the underlying TCP connection. However,
simply keeping the TCP connection alive will not stop the client or server
WebSocket implementation explicitly closing the connection if no WebSocket
frames are received.
If you are using WebSockets, and you are unsure as
Peter Dunkley writes:
> There is no TCP level stuff here, this is all at the WebSocket layer. Take
> a look at the "keepalive_.*" modparams for the websocket module.
are you saying that websocket transport is not implemented on top of
tcp?
if it is then tcp_keepalive=yes core param affects also
Thanks for the info.
btw: Can you recommend a HTML/JS SIP client (open source) for testing
purposes? I have written a very limited client based on JsSIP, but now I
need some more features for testing and my research did not revealed a
nice client.
Thanks
Klaus
On 26.09.2013 14:07, Peter Du
The Kamailio websocket module sends WebSocket pongs in response to
WebSocket pings from websocket clients. It can also be configured to send
WebSocket pings on idle connections (and does so by default).
There is no TCP level stuff here, this is all at the WebSocket layer. Take
a look at the "kee
The Kamailio websocket module sends WebSocket pongs in response to
WebSocket pings from websocket clients. It can also be configured to send
WebSocket pings on idle connections (and does so by default).
There is no TCP level stuff here, this is all at the WebSocket layer.
Regards,
Peter
On 26
Klaus Darilion writes:
> Question to the experts: Is keep-alive for the Websockets TCP connection
> automatically done by the Websockets Layer (client or server), or do I
> have to do it manually (nathelper pinging).
since websockets uses tcp, kamailio running on linux should
automatically do t
Hi!
Question to the experts: Is keep-alive for the Websockets TCP connection
automatically done by the Websockets Layer (client or server), or do I
have to do it manually (nathelper pinging).
Thanks
Klaus
___
SIP Express Router (SER) and Kamailio (