Closed juha-h closed 4 years ago
seems you do not have a valid sip server speaking wss on port 443 you NEED or FreeSWITCH or OpenSIPS, or Asterisk, or Kamailio, or FusionPBX correctly configured and with correct certificates
an HTTP(s), like apache or nginx, will NOT be enough
Do you have a SIP server that speaks WSS? If you do not have it, please close this ticket
I do have an apache server that acts as wss proxy:
<VirtualHost _default_:443>
...
SSLProxyEngine on
<LocationMatch /wss/>
ProxyPass ws://192.168.43.188:7998/
</LocationMatch>
</VirtualHost>
Sara tries to connect, but does not succeed:
Sat Apr 18 2020 16:04:39 GMT+0300 (Eastern European Summer Time) | sip.transport | connecting to WebSocket wss://192.168.43.82:443
I don't know why. Nothing comes to apache2 access or error log. I'll try with JsSIP client to make sure that apache2 is OK.
your location match ( <LocationMatch /wss/> ) in apache config will not match, unless you modify the saraphone code to connect to:
wss://192.168.43.82:443/wss/
Are you saying that currently it is not possible to add path /wss by editing saraphone.html?
I edited saraphone.html with my login and server info. When I then press Login, nothing happens except I'm asked for microphone permission.
Browser console has this: