[asterisk-users] WSS over Asterisk

Matthew Jordan mjordan at digium.com
Wed Jun 11 13:28:31 CDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140611/2ded6f9f/attachment.html>


More information about the asterisk-users mailing list