1

Is it possible to build a SIP client using JAVASCRIPT for a server not supporting WEBSOCKET or WEBRTC?

Paulius Nyoumi
  • 191
  • 1
  • 12
  • 1
    Please note that SIP is just signaling mechanism and you still need to rely on WebRTC for the media streams (including all the mandatory requirements such as ICE and DTLS-SRTP support on the server side). To deviate from the embedded WebRTC path you'll have to write an extension for the browsers you are targeting or write a full fledged desktop app. – Sagi Iltus Nov 23 '17 at 23:25

1 Answers1

1

Yes, you can use a UDP or TCP socket to send your SIP messages towards the SIP server. Since Javascript supports UDP sockets(link), it should be possible. Anyhow since it is not that easy to implement a SIP useragent/transaction-layer, so I would google for Javascript SIP stacks, that supports TCP/UDP.

Hope that helps.

Moerwald
  • 10,448
  • 9
  • 43
  • 83