Code Monkey home page Code Monkey logo

Comments (5)

gmaruzz avatar gmaruzz commented on May 13, 2024

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

from saraphone.

juha-h avatar juha-h commented on May 13, 2024

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>

from saraphone.

juha-h avatar juha-h commented on May 13, 2024

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.

from saraphone.

gmaruzz avatar gmaruzz commented on May 13, 2024

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/

from saraphone.

juha-h avatar juha-h commented on May 13, 2024

Are you saying that currently it is not possible to add path /wss by editing saraphone.html?

from saraphone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.