<div dir="ltr">Vipul,<div><br></div><div>I found the exact same thing.  Was unable to make it work so I use WS (<a href="https://github.com/einaros/ws">https://github.com/einaros/ws</a>) for communicating with Asterisk.  Works like a champ.</div><div><br></div><div>I assume you're using node.js.  If so, it can be installed with npm.  And, it doesn't interfere with <a href="http://socket.io">socket.io</a> which I use for communicating with the client.  Why?  Because I had already started down that road and didn't want to change.  I use rooms in <a href="http://socket.io">socket.io</a>.</div><div><br></div><div>Phil Mickelson</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 20, 2015 at 9:36 PM, Vipul Rastogi <span dir="ltr"><<a href="mailto:vipul.rastogi@temasys.com.sg" target="_blank">vipul.rastogi@temasys.com.sg</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Anybody tried asterisk connecting to Socket.io server as websocket client ? I am not getting websocket established.<div><br></div><div>See below error, after successful 101 Switching Protocols</div><div><br></div><div>res_http_websocket.c:576 __ast_websocket_read: WebSocket unknown opcode 5<br></div><div><div><br></div></div></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br></div>