On Wed, Jun 11, 2014 at 2:58 AM, Steve Ng <[email protected]> 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

Reply via email to