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.
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.We suggest backing up your SBC data. The data file path is usually
- 3.Double-click the installer to install it and the upgrade will be performed automatically.
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
Perform the following commands as root to stop the current SBC Docker instance:
/bin/sh sbc_ctl.sh stop
Perform the following command to delete the SBC Docker instance.
/bin/sh sbc_ctl.sh rm
Perform the following command to list the SBC Docker images:
docker image list
You will get the result shown in the below screenshot.
Use the first 4 digits of the IMAGE ID to delete the Docker image:
docker image rm 8173
rm install_sbc_docker.sh && rm sbc_ctl.sh
curl https://raw.githubusercontent.com/portsip/portsip-pbx-sh/master/v16.x/install_sbc_docker.sh \
curl https://raw.githubusercontent.com/portsip/portsip-pbx-sh/master/v16.x/sbc_ctl.sh \
Execute the below command to install the
Docker-Composeenvironment. 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.
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.