RE:While Registering Instaed of Proxy as UDP like sip:{proxy}:5060 can we use wss connection of my sip registerar as proxy?

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",
}

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)

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.