-- Added contact 'sip:7c2skbrc@192.168.1.8:36792;transport=ws' to AOR '100' with expiration of 600 seconds
-- Removed contact 'sip:rfj6eopj@192.168.1.8:36622;transport=ws' from AOR '100' due to remove_existing
== Contact 100/sip:rfj6eopj@192.168.1.8:36622;transport=ws has been deleted
-- Contact 100/sip:oplv9iot@192.168.1.8:36710;transport=ws is now Reachable. RTT: 18.413 msec
But all the certificates are installed and placed on right places (and the transport has set to use wss). Any tips on that?
The transport parameter in a URI for secure Websocket is still “ws”[1]. Is there some other problem you are experiencing? The log shows a registration came in, it displaced an existing one, and the new one is reachable.
This happens when I refresh the web page (should it happen?).
I thought that was my problem, but I can not make calls. When I try, the webphone drops automatically. In the Chrome log, something like “Unable to acquire media” appears, but in the CLI it only appears that the SIPDOMAIN variable has been set for my DNS.
Each time you refresh the page it’s a new established connection to the server. The connection doesn’t stick around. That’s expected. That’s not your problem.
You’d need to provide a SIP trace (pjsip set logger on) of a call attempt. If it’s not really reaching Asterisk and the problem is browser side, then you’ll need to dig in there. Welcome to the world of WebRTC - it doesn’t work 100% of the time and when it doesn’t you can spend a ton of time in the browser trying to figure out why.
But the two webphones are online and apparently registered once they can connect.
Now they can dial each other (I changed the extension setting), but when one of the parties answers, it drops.
Try to trace it down further? If there doesn’t appear to be a call as you’ve stated in Asterisk (just a call attempt that failed to call anything), not much I can add…