[asterisk-users] How to test Websocket support in SIP in Asterisk trunk?

Joshua Colp jcolp at digium.com
Mon Aug 20 10:51:32 CDT 2012


----- Original Message -----
> >
> > The complete URL to use is http://<asterisk IP address or
> > host>:8088/ws
> >
> > Note the /ws at the end. WebSocket support is only available there.
> > Doing otherwise would have required core HTTP server changes,
> > which I wanted to avoid. Depending on what you are testing with
> > you may need to change it slightly to add that in.
> 
> Well, I did the following changes in sipml5 and now I get a "Bad
> Request" on REGISTER, instead of 404. Clearly, I'm still missing
> something. Here are the changes I made:

You are probably getting hit by a bug in Asterisk 11 that has been fixed.

It's noted here in the wiki page I'm working on: https://wiki.asterisk.org/wiki/display/~jcolp/Asterisk+WebRTC+Support along with a work around via configuration.

-- 
Joshua Colp
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com  & www.asterisk.org



More information about the asterisk-users mailing list