There is an ATS provider with SIP phones. It provides phones via UDP, as I understand, giving sip server, login and password for each internal call-line.
I want to write a site with browser calls ability. As I understood, searching the web, I can't make complete calls (including audio streams) directly though UDP. For UDP connection I need programs like Zoiper or Microsip.
Instead, as I read, I should have kinda like proxy SIP-server, that will be a gateway between a browser, that can work with Websocket, WebRTC protocol, and the SIP-server, that can work with UDP. At the site, I am, probably going to use JsSip, here the example code with data, I will need to connect to future proxy server
var socket = new JsSIP.WebSocketInterface('wss://sip.myhost.com');
var configuration = {
sockets : [ socket ],
uri : 'sip:[email protected]',
password : 'superpassword'
};
I have read about Asterisk, Freeswitch and some other SIP-servers, but, first of all, I have never worked with something like this, and I am bad at Linux, and the second, I didn't find topics on Websocket-UDP proxying.
I also need server to handle multiple calls (streams) at one time, do not know is it default feature, so mention.
Currently I have VPS with Ubuntu 22.04, FastPanel installed there, and ready SSH connection with root rights. Can someone guide me how do I achieve SIP-proxy functionality?