Debian 10 Install

Note that this only covers one configuration with RTP traffic proxied. Contributions of additional configurations are welcome if you have tested them!

Make sure to set the hostmane to a fully qualified domain name (FQDN) that has DNS records pointed at the server (like sbc.yourdomain.com) prior to installation. The average install time is between 4-9 minutes depending on the resources on your vm/server.

Note: You can add a “-b <version number>” to the end of the git command to install and specific version of dSIPRouter.

Install (Proxy audio (RTP) traffic)

hostnamectl set-hostname
apt update && apt install -y git curl
cd /opt
git clone https://github.com/dOpensource/dsiprouter -b master dsiprouter
cd dsiprouter
./dsiprouter.sh install -all

Debian 9 Install

The steps to install each configuration is below. Note, there are one line versions of the install in each section below. The average install time is between 4-9 minutes depending on the resources on your vm/server.

Note: You can add a “-b <version number>” to the end of the git command to install and specific version of dSIPRouter.

Install (Don’t Proxy audio (RTP) traffic)

apt-get update -y
apt-get install -y git
cd /opt
git clone https://github.com/dOpensource/dsiprouter.git
cd dsiprouter
./dsiprouter.sh install -kam -dsip

One Line Version:

apt-get update -y && apt-get install -y git && cd /opt && git clone https://github.com/dOpensource/dsiprouter.git && cd dsiprouter && ./dsiprouter.sh install -kam -dsip

Once the install is complete, dSIPRouter will automatically start MySQL, Kamailio and the UI.

Install (Proxy audio (RTP) traffic)

If you need to proxy RTP traffic then use -all install option. The command to install dSIPRouter and the RTPEngine would be:

apt-get update -y
apt-get install -y git
cd /opt
git clone https://github.com/dOpensource/dsiprouter.git
cd dsiprouter
./dsiprouter.sh install -all

One Line Version:

apt-get update -y && apt-get install -y git && cd /opt && git clone https://github.com/dOpensource/dsiprouter.git && cd dsiprouter && ./dsiprouter.sh install -all

Install (Proxy audio (RTP) traffic with PBX and dSIPRouter behind NAT)

If you have a requirement where the PBX’s and dSIPRouter are behind NAT then use the steps below, which are the same as above, but you will add a -servernat parameter.

apt-get update -y
apt-get install -y git
cd /opt
git clone https://github.com/dOpensource/dsiprouter.git
cd dsiprouter
./dsiprouter.sh install -all -servernat

One Line Version:

apt-get update -y && apt-get install -y git && cd /opt && git clone https://github.com/dOpensource/dsiprouter.git && cd dsiprouter && ./dsiprouter.sh install -all -servernat