Upgrading PortSIP SBC to New Versions

This guide is for upgrading your current PortSIP SBC v10.x installation to the latest version. Please follow the steps below to upgrade.
Please ensure that your current PortSIP SBC installation is version 10.x.

Open firewall Rule for Port 10443

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 if you upgrading from v10.0.0.

1 Upgrading for Windows

  1. 1.
    We suggest backing up your SBC data. The data file path is usually c:\programdata\portsip.
  2. 2.
    Download the latest installer from the PortSIP website.
  3. 3.
    Double-click the installer to install it and the upgrade will be performed automatically.

2 Upgrading for Linux

We recommend backing up your SBC 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.

2.1 Stop SBC Docker Instance

Perform the following commands as root to stop the current SBC Docker instance:
cd /opt/portsip
/bin/sh sbc_ctl.sh stop

2.2 Delete the SBC Docker Instance

Perform the following command to delete the SBC Docker instance.
/bin/sh sbc_ctl.sh rm

2.3 List the SBC Docker Images

Perform the following command to list the SBC Docker images:
docker image list
You will get the result shown in the below screenshot.

2.4 Delete the SBC Docker Images

Use the first 4 digits of the IMAGE ID to delete the Docker image:
docker image rm 8173

2.5 Delete the SBC Scripts

rm install_sbc_docker.sh && rm sbc_ctl.sh

2.6 Download the Latest Installation Scripts

curl https://raw.githubusercontent.com/portsip/portsip-pbx-sh/master/v16.x/install_sbc_docker.sh \
-o install_sbc_docker.sh
curl https://raw.githubusercontent.com/portsip/portsip-pbx-sh/master/v16.x/sbc_ctl.sh \
-o sbc_ctl.sh

2.7 Setup the Docker Environment

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_sbc_docker.sh

2.8 Create and Run the PortSIP SBC Docker Container Instance

The below command is used to create and run the SBC on a server.
/bin/sh sbc_ctl.sh run -p /var/lib/portsip -i portsip/sbc:10
Your SBC has now been successfully upgraded to the latest version.