I have attempted using sipML5 instead of tryit jsip but I have not been able to figure out the configuration. I am having kamailio listen on port 15000 so I changed my sipML5 to wss://21.1.1.32:15000. I see the request coming through to kamalio but I just see a disconnected message from sipML5. I have tried many configurations but just can't get a connection. Any ideas?
Also, does any know where to look for documentation on learning the flow of a kamalio configuration file. I have seen many examples and people seem to place there different routes and functions all over the place.
Thank you
you said your kamailio is listening on port 15000 but is it
UDP, TCP,TLS, WS or WSS
webSocket client
likeSIPml5
to SIP server likeKamailio
you must connect it with theWS
port of the server where server listen and interpretswebSocket clients
, your Websocket client will not listen to the UDP/TCP/TLS port.kamailio
to handlewebSocket Connections
, you can read how to configure websocket here its quite simple : https://www.kamailio.org/docs/modules/devel/modules/websocket.htmlIf you compiled your kamailio from sources rather than apt-get install method
In case above point didn't helped , i would recall that your kamailio sources comes bundled with someExample CFGs
and you can look forwebsocket.cfg
into it.