[asterisk-users] How to test Websocket support in SIP in Asterisk trunk?
Juan Castro
jcastro at instant.com.br
Fri Aug 17 15:45:35 CDT 2012
On Fri, Aug 17, 2012 at 5:01 PM, Joshua Colp <jcolp at digium.com> wrote:
> ----- Original Message -----
>> On Fri, Aug 17, 2012 at 2:45 PM, Juan Castro <jcastro at instant.com.br>
>> wrote:
>> > I see no indication of how to do this in sip.conf, and when I start
>> > Asterisk, it doesn't wait on port 80.
>> >
>>
>> Websocket support is being actively worked on. HTTP support should
>> be
>> enabled in manager.conf and http.conf first.
>
> Hola!
>
> The above will get the HTTP server portion going, but here's some other items:
>
> 1. transport=ws must be added to the peer/friend/user in sip.conf
> 2. avpf=yes must be set for that peer/friend/user as well.
>
> Depending on what you are testing with this can get you a little further.
>
> If you are using Chrome things will not quite work, yet. While they have made considerable progress becoming compliant with the ICE specification (SDP is now almost proper) it seems as though their STUN implementation is still not there yet. Completely valid packets sent by the library we use just seem to be ignored.
>
> Patience is a virtue really as things are still evolving.
I still get "unauthorized" from sipml5 with these modifications. I
used port 80 instead of 8088 (no other webserver listening on 80), was
that wrong?
More information about the asterisk-users
mailing list