Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Gliffy
imageAttachmentIdatt44466273
baseUrlhttps://webitel.atlassian.net/wiki
macroIdbc9787fc31222d87-ea420ed1-42194a2d-8509-b6723069f3a9
displayNameatb_test_env
nameatb_test_env
pagePin19df3-f8c8bacdaa87
nameWebitel Extended Architecture
diagramAttachmentIdatt44499030
containerId21304179
timestamp1707598588022

For an industrial environment with a load of 250400-500 simultaneous calls (approximately 500 thousand about 1 million calls per day) and from 200 thousand chats per day, you need to prepare 7 virtual machines, which are described in paragraphs 1-6 of the table below. It is only necessary to install the operating system and leave Internet access to be able to download and install all additional software. After installation is complete, the Internet access from virtual machines can be turned off. Virtual machines 1-6 should be able to operate on the same VLAN without filtering traffic by ports (allow all). Access to the servers is provided to developers via SSH with the root user permissions for the time which is needed for the applications installation and testing. 

...

ObjectSoftwareResources (min)ConnectivityDescription
1. Webitel Server

Debian 10 12 Linux 64bit - basic server installation with SSH connection;

Additionally, we will install:

Nginx; SSL; Webitel Services

  • 4 vCPU > 2,4 GHz (Haswell generation or newer), No more than 2 virtual cores per 1 physical core
  • 8Gb RAM
  • 100 80 GB, 20 2000 IOPS, <10 ms
  • 2 network interfaces >= 1 GbE
in-out: 80/tcp, 443/tcp

SSL certificates with a trusted CA are required to provide a secure connection via HTTPS protocol and telephony in a browser.

Scaling is possible.

2. PostgreSQL

Debian 10 12 Linux 64bit - basic server installation with SSH connection;

Additionally, we will install:

Linux; PostgreSQL 1215; Grafana
  • 8 vCPU, > 2,6 GHz (Haswell generation or newer), No more than 2 virtual cores per 1 physical core
  • 16Gb RAM
  • 40080 GB, 2000 IOPS
  • 500+ GB, 20 5000 IOPS, <8 ms
  • 1 network interface >= 1 GbE

PostgreSQL database server with configured Streaming Replication


3. MQ & Storage Server

Debian 10 12 Linux 64bit - basic server installation with SSH connection;

Additionally, we will install:

Linux; Redis Server; Consul; RabbitMQ; Webitel Storage
  • 4 vCPU, > 2,6 GHz (Haswell generation or newer), No more than 2 virtual cores per 1 physical core
  • 8Gb RAM
  • 160 120 GB, 20 2000 IOPS, <8 ms
  • 1 network interface >= 1 GbE

Application registration server, messaging service, and call recording storage.

The call records are stored in S3 storage.

4. OpenSIPS OpenSIPS & rtpengine

Debian 10 12 Linux 64bit - basic server installation with SSH connection;

Additionally, we will install:

OpenSIPS 3.4, Rtpengine;
  • 4 8 vCPU > 2,4 6 GHz (Haswell generation or newer), No more than 2 virtual cores per 1 physical core
  • 8Gb 16Gb RAM
  • 60 GB, 20 2000 IOPS, <10 ms
  • 2 network interfaces >= 1 GbE

5060/tcp, 5060/udp, 5061/tcp

in-out: 10000-50000/udp

Telephony server.

Scaling is possible.

5. Media GatewayFreeSWITCH

Debian 10 12 Linux 64bit - basic server installation with SSH connection;

Additionally, we will install:

Rtpengine

FreeSWITCH; Webitel FlowManager;

  • 8 vCPU, > 2,6 GHz (Haswell generation or newer), No more than 2 virtual cores per 1 physical core
  • 16Gb RAM
  • 60 120 GB, 20 2000 IOPS, <10 ms
  • 2 1 network interfaces interface >= 1 GbE
in-out: 10000-50000/udp

Voice processing and protocol transcoding server.

In case of a load increaseServer for building voice applications.

When the load increases, it is necessary to duplicate the server.

Scaling is possible.

6. FreeSWITCH Homer & Grafana

Debian 10 12 Linux 64bit - basic server installation with SSH connection;

Additionally, we will install:FreeSWITCH; Webitel FlowManager

Homer + PostgreSQL, Grafana;
  • 8 4 vCPU, > 2,6 GHz (Haswell generation or newer), No more than 2 virtual cores per 1 physical core
  • 16Gb 8Gb RAM
  • 160 200 GB, 20 2000 IOPS, <8 ms
  • 1 network interface interfaces >= 1 GbE

Voice applications building serverGrafana for analytics.

In case of a load increase, it is necessary to duplicate the serverCollection of logs and call logs.

7.  Team

Microsoft Windows 10 11 / Linux 64bit

Google Chrome / Microsoft Edge (the latest or previous version)

  • 4 vCPU
  • 8Gb RAM
Connection to the IS not less than 2 Mb/s per user, with delays of no more than 15-20 ms.Employees’ workplace
8. Hardware SIP Phone

Connection to the IS not less than 5 Mb/s per device, with delays of no more than 15-20 ms.

in-out: 5060/udp, 10000-20000/udp

Hardware phone with SIP 2.0 protocol support

9. External Data Services


Integrations with external systems
10. PSTN


Public Switched Telephone Network is a general subscriber communication network, the access to which is provided by telephone sets, PBX, and data transmission equipment.



Connection speedDelay (Ping)JitterPacket Loss

WebRTC

  • For audio calls: at least 100–300 Kbps.
  • For video calls (standard quality): at least 1–2 Mbps.
  • For high-quality video (HD or Full HD): at least 2–4 Mbps.
  • For conferences or streams (4K video): 8–25 Mbps is recommended.
  • Optimal delay for WebRTC should be less than 50 ms.
  • Acceptable delay: 50-100 ms.
  • If delay exceeds 150 ms, noticeable delays during calls or video may occur.
  • Optimal jitter should be less than 30 ms. Jitter refers to variations in packet delay, and high jitter can significantly degrade audio or video quality.
  • Jitter over 50 ms can cause distortion or delays in audio/video.


  • Optimal packet loss for WebRTC: less than 1%.
  • Loss of up to 2-3% may be acceptable for audio, but it will degrade video quality.
  • Loss above 5% will significantly impair communication, causing noticeable interruptions, artifacts, or video 'freezes'.