InnovateAsterisk / Browser-Phone

A fully featured browser based WebRTC SIP phone for Asterisk

Home Page:https://www.innovateasterisk.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebPhone index.php not open

ali-matrix22 opened this issue · comments

Hello and thank you for your good software. I installed the Webphone software according to your installation procedure on two Isabel servers and it was installed without any problems. But when I open the website address (https://192.168.1.100/webphone), I get the following message:

Thank you for choosing ViciPhone.
In order to use ViciPhone you must use "https://phone1.viciphone.com/viciphone.php" as your Webphone URL.
If you are using ViciPhone in conjunction with Vicidial you will need to change this setting in ADMIN → System Settings.

please guide me.

This is not ViciPhone though.

The default configuration is /phone/

I install with this command:

yum install git -y
git clone https://github.com/innovateAsterisk/Browser-Phone.git
cp Browser-Phone/Phone /var/www/html/webphone

not work...

I install new issabel with asterisk 18 and pjsip.
This time, the web page of Webphone opened easily and without any problems. But after defining the webrtc number and entering the account configuration, my webphone is not registered and gives the following error message:
Connecting to Web Socket...
I have attached the error image.
Untitled

Also, there is no firewall in the system and the web socket is active. TLS is also set correctly.
Untitled2

I see you are connecting with an ip address. The problem is that modern browsers don’t allow you to connect to a websocket over TLS without the server responding with a valid SSL certificate, and since a certificate can only be made from a fully qualified url, you will have to make a certificate and install this on the server.

Because you appear to be working over a local lan, it would be easier use the .local system. Most Linux system can advertise a .local host name to make the certificate from.

Also you could trace the websocket handshake with something like wire shark to confirm this.

Thanks for the explanation.
Yes, I use this server in a local network, so I have to set a domain and then test.