Upgrading PortSIP PBX to New Versions
This guide is for upgrading your current PortSIP PBX v16.x installation to the latest version. Please follow the steps below to upgrade.
Please ensure that your current PortSIP PBX installation is version 16.x.
From version 10.0.1, the PortSIP SBC changed the WebRTC client port to 10443; therefore, you must create a new firewall rule for port 10443 on TCP.
- 1.We suggest backing up your PBX data. The data file path is usually
c:\programdata\portsip
. - 2.
- 3.Double-click the installer to install it and the upgrade will be performed automatically.
We recommend backing up your PBX data. The data file path is usually
/var/lib/portsip
. You can also back up the entire VM server or take a snapshot of the VM server.All commands must be executed in the
/opt/portsip
directory.Perform the following commands as root to stop the current PBX docker instance.
cd /opt/portsip && /bin/sh pbx_ctl.sh stop
Perform the following command to delete the PBX docker instance.
/bin/sh pbx_ctl.sh rm
Perform the following command to list the PBX docker images.
docker image list
You will get the result like the below screenshot.

You can use the following command to delete docker images using the first 4 digits of the IMAGE ID.
docker image rm 03b8 d569
rm install_pbx_docker.sh
rm pbx_ctl.sh
curl https://raw.githubusercontent.com/portsip/portsip-pbx-sh/master/v16.x/install_pbx_docker.sh \
-o install_pbx_docker.sh
curl https://raw.githubusercontent.com/portsip/portsip-pbx-sh/master/v16.x/pbx_ctl.sh \
-o pbx_ctl.sh
Execute the below command to install the
Docker-Compose
environment. If you get the prompt likes*** cloud.cfg (Y/I/N/O/D/Z) [default=N] ?
, enter the Y and then press the Enter button./bin/sh install_pbx_docker.sh
The below command is used to create and run the PBX on a server whose IP is
66.175.221.120
. If running the PBX in a LAN without the public IP, just replace the IP 66.175.221.120
with the PBX server's LAN private IP./bin/sh pbx_ctl.sh \
run -p /var/lib/portsip \
-a 66.175.221.120 \
-i portsip/pbx:16
Your PBX has now been successfully upgraded to the latest version.
Last modified 7d ago