Chapter 2. Installation of PortSIP® PBX

2.1 Downloading PortSIP PBX

The latest free edition of PortSIP PBX could always be found and downloaded at PortSIP Website. It’s available for both 64-bit Windows and Linux, but not for the 32-bit version.
The free edition of PortSIP PBX offers a maximum of 3 simultaneous calls and 10 extension registrations. If you require more simultaneous calls/extensions, please refer to License Section for more details.
You will get the installer after the download is completed.

2.2 Installing PortSIP PBX on Linux

PortSIP PBX Linux edition is migrated to docker environment, which does not support RPM and Deb installer.

The OS required:

  • CentOS: 7.9
  • Ubuntu: 18.04, 20.04
  • Debian: 10.x
  • Only supports 64bit OS
Important: from v12.6.1, the PortSIP PBX requires running with the above Linux OS versions. If there already installed the PortSIP PBX which is less than v12.6.1, and wish to upgrade to v12.6.1 or a later version, must upgrade the Linux OS to the above version before upgrade the PortSIP PBX.

Preparing the Linux Host Machine for Installation

Tasks that MUST be completed before installing PortSIP PBX:
  • If the Linux on which PBX will be installed is located in LAN, assign a static LAN IP address; if it's in the public network, please assign a static IP address for the PBX Server
  • Install all available updates & service packs before installing PortSIP PBX
  • Do not install VPN software on your PortSIP PBX Server
  • Do not install PostgreSQL on your PortSIP PBX Server
  • Ensure that all power saving options for your System and Network adapters are disabled (by setting the system to High Performance)
  • Do not install TeamViewer, VPN, and other similar software on the host machine
  • PortSIP PBX must not be installed on a host which is a DNS or DHCP server
  • Below ports must be permitted by your firewall.
    UDP: 45000– 65000, 25000- 34999 TCP: 8899– 8900、8887-8888、8881-8885
  • Make sure that below ports have not been used by other programs:
    UDP: 45000– 65000, 25000- 34999 TCP: 8899– 8900、8887-8888、8881-8885
Important: if you running the PBX on the cloud platform such as AWS, and the cloud platform has the firewall itself, you MUST open the ports on the cloud platform firewall too.

Installing a fresh PortSIP PBX v12.6.1 for Linux

To install the PortSIP PBX for Linux, please refer to Setup PortSIP PBX for Linux.

Configuring Linux Firewall Rules

After having successfully installed PortSIP PBX, the PortSIP PBX ports have been opened with the Linux firewall. Note, PortSIP PBX enabled the firewalld by default, if you using Debian/Ubuntu, the UFW will be disabled automatically by PortSIP PBX. If your server has a firewall that is blocking the ports, you must open the below ports in order to make the PortSIP PBX working properly.
  • UDP ports: 45000– 65000, 25000- 34999 . These ports are used for the RTP sessions.
  • TCP: 8899– 8900、8887-8888、8881-8885. These ports are used for Server control and WebRTC client.
  • UDP: 5060. This is the default UDP transport for SIP communications (to send and receive SIP signaling).
  • TCP: 5065. This is the default WSS transport for SIP communications in the browser (to send and receive SIP signaling).
You also need to open the port that you are using for adding new transport:
  • Assume you have added a TLS transport on port 5063, you must open TCP port 5063 in your Linux firewall and
  • Assume you have added a TCP transport on port 5061, you must open TCP port 5061 in your Linux firewall
  • Assume you have added a UDP transport on port 5068, you must open UDP port 5068 in your Linux firewall
Important: if you running the PBX on the cloud platform such as AWS, and the cloud platform has the firewall itself, you MUST open the ports on the cloud platform firewall too.

2.3 Installing PortSIP PBX on Windows

Preparing the Windows Host Machine for Installation

Tasks that MUST be completed before installing PortSIP PBX.
  • If the Windows PC / server on which PBX will be installed is located in LAN, assign a static LAN IP address; if it's in the public network, assign a static IP address for the PBX Server.
  • Install all available Windows updates & service packs before installing PortSIP PBX. The reboot after installing Windows updates may reveal additional updates. Pay particular attention to install all updates for Microsoft .Net before running the PortSIP PBX installation.
  • Anti-virus Software should not scan the following directories to avoid complications and write access delays: C:\Program Files\PortSIP; C:\Programdata\PortSIP
  • Do not install VPN, TeamViewer software on your PortSIP PBX Server
  • Do not install PostgreSQL on your PortSIP PBX Server
  • Ensure the “Windows Firewall” service has been started.
  • Ensure that all power saving options for your System and Network adapters are disabled (by setting the system to High Performance).
  • Disable Bluetooth adapters if it is a Windows client PC.
  • PortSIP PBX must not be installed on a host which is a DNS or DHCP server, or that has MS SharePoint or Exchange services installed.
  • Below ports must be permitted by your firewall:
    UDP: 45000– 65000, 25000- 34999 TCP: 8899– 8900、8887-8888、8881-8885
  • Make sure that the below ports have not been used by other programs:
    UDP: 45000– 65000, 25000- 34999 TCP: 8899– 8900、8887-8888、8881-8885
  • Ensure your Windows Firewall is enabled
Important: if you running the PBX on the cloud platform such as AWS, and the cloud platform has the firewall itself, you MUST open the ports on the cloud platform firewall too.

Last modified 4mo ago