While Registering Instaed of Proxy as UDP like sip:{proxy}:5060 can we use wss connection of my sip registerar as proxy?
{
"request" : "register",
"username" : "sip-number",
"secret" : "sip-password",
"display_name" : "some-name",
"proxy" : "wss://sip-office-domain/ws",
}
lorenzo
(Lorenzo Miniero)
September 11, 2025, 10:01am
2
No, the SIP plugin doesn’t support SIP over WebSockets. Only UDP, TCP and TLS are supported.
So if i need to connect via websocket is it possible with janus or should i use any other libarry (like jsSip,sip.js)
lorenzo
(Lorenzo Miniero)
September 11, 2025, 10:45am
4
As I said, Janus can only do SIP over UDP, TCP, or TLS: it does not support SIP over WebSockets. While Janus itself supports WebSockets, that’s only for transporting the Janus API.