Run miniSIPServer on Raspberry Pi
Index
1. Description
Raspberry Pi is a credit-card-sized single-board computer whose CPU is ARM. It is very suitable for micro-server deployment scenarios. miniSIPServer V14 (or abover) can support this device.
In this document, we will not discuss how to install and configure Raspberry Pi itself. Please refer to its official “quick start” document for more details. We are focus on how to install and run miniSIPServer on Raspberry Pi.
2. Hardwares
There are lots of hardwares can be used to build Raspberry Pi system. We use following hardwares. You can refer to it according to your own requirements:
(1) Raspberry Pi Model B (512MB).
(2) Kingston Secure Digital Class 10 Value card(SD10V/8GB).
Raspberry Pi can support several Linux distributions, however we require to use Raspbian. We are not sure of other distributions can work with miniSIPServer rightly. The version we are using is “2013-07-26-wheezy-raspbian”, please visit Raspberry Pi official website to download it.
3. Install
First, please make sure that both your Raspberry Pi and network are ok now.
3.1 Install libraries
miniSIPServer need some libraries. We can get and install them from Raspberry Pi official software library by using following “apt-get” command:
sudo apt-get install gcc sudo apt-get install g++ sudo apt-get install libqt4-dev sudo apt-get install libqtcore4 sudo apt-get install libqtgui4 sudo apt-get install libqt4-network sudo apt-get install libqt4-xml sudo apt-get install libssl-dev sudo apt-get install libmysqlclient18 sudo apt-get install libmysqlclient-dev sudo apt-get install python-dev sudo apt-get install libsrtp0-dev
3.2 Download miniSIPServer
Please visit our website to download miniSIPServer. Please pay attention that you MUST download miniSIPServer for Raspberry Pi.
It is assumed to install “20 clients” version whose file name is “mss_pi_u20.deb”.
3.3 Install miniSIPServer
In “mss_pi_u20.deb” directory, please run following command to install miniSIPServer:
sudo dpkg --install mss_pi_u20.deb
If success, you can find all miniSIPServer’s files at directory “/opt/sipserver/”.
If you start LXDE desktop, you will find miniSIPServer linker at “Internet” category. Please click that linker to run miniSIPServer with graphic interface. Please refer to following figure. You can see it is almost same with miniSIPServer for Windows and Debian/Ubuntu.
4. Run
As you know, if you start LXDE desktop, you only need click miniSIPServer linker to start and configure it.
If LXDE desktop is not started, we need run miniSIPServer command line version. Please use following command.
/opt/sipserver/msscli&
miniSIPServer command line version will open TCP 8080 port to start Web management system (no password by default), so you can use IE/FireFox/Chrome to visit and configure miniSIPServer.
5. Uninstall
Please refer to here for more details.