[SR-Users] Websockets Keep-Alive

Klaus Darilion klaus.mailinglists at pernau.at
Thu Sep 26 14:37:25 CEST 2013


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 Dunkley wrote:
> 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 "keepalive_.*" modparams for the websocket module.
>
> The TCP connection timeout should be set to something a little greater
> than the WebSocket ping interval is set to.
>
> Regards,
>
> Peter
>
>
> On 26 September 2013 12:37, Juha Heinanen <jh at tutpro.com
> <mailto:jh at tutpro.com>> wrote:
>
>     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 tcp level keepalives.
>
>     -- juha
>
>     _______________________________________________
>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
> --
> Peter Dunkley
> Technical Director
> Crocodile RCS Ltd
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>



More information about the sr-users mailing list