I encountered a situation where a websocket connection was getting
killed (presumably by the user's router) after ~ 2-3 minutes of inactivity.

To remedy this I looked into the "keepalive" option which was introduced
in Asterisk 11, as it is both simple and supported by libraries such as
JsSIP. However, I was unable to get the option to work for websockets,
and digging into the code, it seems it is not implemented:
sip_send_keepalive does not seem to have a codepath for sending the
keepalive over websockets.

Is this by design (and if so, why?) or would you accept a patch to
support keepalive over websockets?

Cheers,
Jeremy

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to