DoubangoTelecom / sipml5

The world's first HTML5 SIP client (WebRTC)
BSD 3-Clause "New" or "Revised" License
944 stars 458 forks source link

sipml5 Stack not started #258

Open yojinjin opened 8 years ago

yojinjin commented 8 years ago

I was connected to the sipml5 with freeswitch. when the number of users connected to freeswitch up to 60 or so, it will appear in "Stack not started". I would like to ask how this is going on.

ver:SIPML5 API version = 1.4.217 code: tsip_session_register.prototype.register = function() { if (this.o_stack.e_state != tsip_transport_state_e.STARTED) { console.log(this); console.log(tsip_transport_state_e); tsk_utils_log_error("Stack not started"); return - 2 }

yojinjin commented 8 years ago

Have WebRTC = yes SIPml-api.js:837 Have GUM = yes SIPml-api.js:837 Engine initialized SIPml-api.js:837 s_websocket_server_url=ws://10.200.4.203:5066 SIPml-api.js:837 s_sip_outboundproxy_url=(null) SIPml-api.js:837 b_rtcweb_breaker_enabled=yes SIPml-api.js:837 b_click2call_enabled=no SIPml-api.js:837 b_early_ims=yes SIPml-api.js:837 b_enable_media_stream_cache=no SIPml-api.js:837 o_bandwidth={} SIPml-api.js:837 o_video_size={} SIPml-api.js:837 SIP stack start: proxy='ns313841.ovh.net:11062', realm='sip:10.200.4.203', impi='1043', impu='"1043"sip:1043@10.200.4.203' SIPml-api.js:837 Connecting to 'ws://10.200.4.203:5066' SIPml-api.js:837 __tsip_transport_ws_onopen SIPml-api.js:837 __tsip_transport_ws_onclose

yojinjin commented 8 years ago

i'm trying to use version = 2.0.3 also have same problem.

stefanofavaro commented 8 years ago

Hello, I think you need to use a wss connection. Simple ws connections are no longer supported. Ste.