[asterisk-dev] Asterisk with socket.io
Phil Mickelson
phil at cbasoftware.com
Wed Jan 21 09:29:36 CST 2015
Vipul,
I found the exact same thing. Was unable to make it work so I use WS (
https://github.com/einaros/ws) for communicating with Asterisk. Works like
a champ.
I assume you're using node.js. If so, it can be installed with npm. And,
it doesn't interfere with socket.io 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 socket.io.
Phil Mickelson
On Tue, Jan 20, 2015 at 9:36 PM, Vipul Rastogi <vipul.rastogi at temasys.com.sg
> wrote:
> Anybody tried asterisk connecting to Socket.io server as websocket client
> ? I am not getting websocket established.
>
> See below error, after successful 101 Switching Protocols
>
> res_http_websocket.c:576 __ast_websocket_read: WebSocket unknown opcode 5
>
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150121/18a601d3/attachment.html>
More information about the asterisk-dev
mailing list