1.15.1 Architecture
The portal front end is built using the HTML 5 standard with JavaScript as a client responsible for communication with the back end infrastructure. All commands resulting from a user's actions like sending a message, changing the presence status or initiating a call are sent to the WebToSIP server through Web Socket.
WebToSIP is a server component responsible for translating commands to SIP requests and forwarding them to the SIP softswitch (Voipswitch). Also, it handles all responses and requests coming from the SIP side and converts them to commands that can be understood by the portal JS client and passes them through the web channel. It is important from the security point of view that the login credentials used for logging in to the portal are not the SIP ones. The SIP details are never revealed to the end user.
During logging in the WebToSIP server communicates securely with the authentication API from where it receives the SIP parameters used in further communication with the SIP server. The credentials are kept only until the session with the client is active.