[asterisk-users] WSS over Asterisk
William Hetherington
will at willwh.com
Wed Jun 11 13:32:53 CDT 2014
Chrome 35 broke all of this.... you need to be using DTLS now I believe.
I had working secure web sockets with asterisk 12.2.x and chrome 34.... and
then google broke eveything :)
I have not yet got around to test out DTLS etc. with chrome 35
Just so I don't waste too much time when I go to test, does anyone know if
all that's required for DTLS on the asterisk side is the following in
sip.conf?
dtlsenable=yes
dtlsverify=yes
dtlsrekey=60
dtlscafile=/usr/local/share/ca-certificates/myCA.crt
dtlscertfile=/etc/ssl/mycert.com.pem
dtlssetup=actpass
I assume I also need TLS configs in http.conf
William Hetherington
w - www.willwh.com
t - @wmwh
On Wed, Jun 11, 2014 at 11:28 AM, Matthew Jordan <mjordan at digium.com> wrote:
>
>
>
> On Wed, Jun 11, 2014 at 2:58 AM, Steve Ng <steveng.1988 at gmail.com> wrote:
>
>> Hi,
>>
>> Have anyone tried using SIPML5 to connect to Asterisk over wss?
>>
>> I'm having the error as shown below
>>
>> Connecting to 'wss://54.xxx.xxx.xxx:8080/ws' SIPml-api.js?svn=224:1
>> ==stack event = starting SIPml-api.js?svn=224:1
>> __tsip_transport_ws_onerror SIPml-api.js?svn=224:1
>> __tsip_transport_ws_onclose SIPml-api.js?svn=224:1
>> ==stack event = failed_to_start
>>
>>
>> Where if I'm connecting through ws://54.xxx.xxx.xxxx:8080/ws, it works
>> fine. Any idea why?
>>
>>
> There was a bug in secure WebSockets (tracked under ASTERISK-21930) that
> was fixed in Asterisk 11.9.0:
>
>
> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.9.0-summary.html
>
> Which version of Asterisk are you using? Is it 11.9.0 or later?
>
> --
> Matthew Jordan
> Digium, Inc. | Engineering Manager
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> Check us out at: http://digium.com & http://asterisk.org
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140611/95d20d32/attachment.html>
More information about the asterisk-users
mailing list