The address would be https://address:8089/ - note the ‘https’ in front. Since you were using ‘http’ it would try to connect as non-HTTPS and present the error you saw.
Server Asterisk
Prefix
Bind Address 0.0.0.0
Bind Port 8088
SSL Bind Port 8089
Asterisk and Digium are registered trademarks of Digium, Inc.
when I use broswer to access : https://192.168.1.6:8089/ws
--------------------------------------shows errors-------------------------------
Upgrade Required
CLI shows erros:
*CLI> [Jan 3 03:06:19] WARNING[1596]: res_http_websocket.c:773 __ast_websocket_uri_cb: WebSocket connection from ‘192.168.1.86:56514’ could not be accepted - did not request WebSocket
hello:
sorry for the confusion. Yes, I follow the http://blogs.asterisk.org/2017/09/20/asterisk-15-multi-stream-media-sfu/ to test video call with Cyber phone. A little difference is your browser accessing the local host URL, I use browser index.html from my remote pc.
when i enter the IP address https://IP:8089 by Cyber phone and click the Connect, but there is no any error or logs out from CLI. So, I try to access by many ways to verify that which confused you.
Do I need to copy Cyber phone code to asterisk? yes, which directory should I put it into?
What exactly are you entering and where? The hostname would be the IP only. You don’t have to connect it to Asterisk, you just have to configure it correctly. I’ll also add that WebRTC is not something that generally “just works”. If you plan on deploying it at all you will need to learn it in greater detail and understand what is going on.
You need to click the “Account” button and change the details if you are connecting to a remote server. By default it is set to go to localhost. The index.html file does not need to be on localhost but the blog post was written that way to make it easiest and with the assumption that Asterisk was running locally so things “just worked”.