Reputation: 189
Is it possible to build a SIP client using JAVASCRIPT for a server not supporting WEBSOCKET or WEBRTC?
Upvotes: 1
Views: 898
Reputation: 11254
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.
Upvotes: 1