Which ports are necessary for VitalPBX or Vitxi to work?

VitalPBX, requires several ports for its operation. These ports are necessary for different functions like SIP (Session Initiation Protocol) signaling, RTP (Real-time Transport Protocol) for audio and video, and other services. Here’s a breakdown of the key ports and their purposes:

SIP Signaling (UDP/TCP 5060, 5061):
Port 5060 (UDP/TCP): This is the default port for SIP signaling, used for setting up, managing, and terminating voice or video calls.

Port 5061 (TCP): Typically used for SIP signaling over TLS (Transport Layer Security) for encrypted communications.

RTP (UDP 10000-20000):
This range of ports is used for RTP, which carries the actual voice or video media stream. Each active call uses a pair of ports within this range.

IAX (Inter-Asterisk eXchange, UDP 4569):
Used for IAX protocol, another protocol for initiating and controlling voice over IP calls, often used for connections between Asterisk servers.

AMI (Asterisk Manager Interface, TCP 5038):
This port is for the AMI, which allows management and monitoring of the Asterisk PBX through a TCP/IP connection.

AGI (Asterisk Gateway Interface, dynamically assigned):
AGI scripts run on a separate server or on the Asterisk server itself, and the ports are dynamically assigned as needed.

HTTP/HTTPS (TCP 8088/8089 by default):
Used for accessing the Asterisk Web-based management interface and REST APIs.

SSH (TCP 22):
While not specific to Asterisk, SSH is often used for secure remote administration of the Asterisk server.

VitalPBX API (TCP 3500/3501):
To access the VitalPBX API. Necessary if we are going to use VitalPBX Connect.

OpenVPN (UDP 1194)
Required to access openVPN connections.

Vitxi (TCP 6001)
Required to access VitXi.

These ports are necessary for the full functionality of the VitalPBX system, including making and receiving calls, secure communications, server management, and integration with other systems. It’s important to properly configure these ports in firewalls and network settings to ensure reliable and secure operation of the VitalPBX system.