Search code examples
twiliowebrtcsip

Twilio sip call is not working from tryit.jssip.net


I am using Twilio to make sip outgoing calls. I have created a sip domain, registered credential lists. Then i registered in Zoiper using the sip credentials and made an outbound call. It was working successfully. Similarly i tried using tryit.jssip.net. But there it was asking for a WebSocket uri. What is that WebSocket uri for twilio ? Is there something to do more in twilio to register sip endpoint in tryit.jssip.net

Sharing the screenshots here.

  1. This is the jssip configuration. I entered sip uri and password. Websocket url is by default wss://tryit.jssip.net:10443. I didn't change it. Jssip configuration

  2. Then it got registered and i tried calling from that number. At that time the call got failed with a message Incompatible UDP Incompatible UDP when tried calling


Solution

  • Twilio developer evangelist here.

    Twilio doesn't publicly support SIP over websockets which JSSIP is asking for here. That is why you can't find the websocket URL to use.

    If you are looking to use Twilio from a web browser, I suggest you take a look at Twilio Client.