SER (Sip Express Router) installation under FreeBSD
We are going to install SER (SIP express Router) under FreeBSD OS. The way to do it is very similar to Linux OS but easily. We are going to explain basic installation. When the SER server is installed the MySQL configuration is the same for Linux and FreeBSD OS. The errors and solutions are also the same.
1 ) Install from FreeBSD ports
The easiest way to install SER under FreeBSD is using FreeBSD ports.
We can update FreeBSD ports to install the last version but it is optional:
# portsnap fetch
# portsnap extract
Then we install the port for the the SIP express Router
# cd /usr/ports/net/ser/
# make install clean
And we have already installed SER in our FreeBSD system
Now the steps are similar to a Linux OS.
2) Asign a domain to the machine
# export SIP_DOMAIN = "localhost"
This must be done every time the machine starts (a new line in the log script of the shell can be added in order to do it automatically when the machine starts)
We have chosen localhost because our machine is in the local area network and does not have a specific domain name. If the machine has a domain name we can write something like "myserver.domain.com"
3) Start and stop the server
The server start with the following command
# /usr/local/sbin/serctl start
When the server has started it can be monitored with
# /usr/local/sbin/serctl moni
And to stop the server
# /usr/local/sbin/serctl stop
4) Configure a softphone to verify
You can configure a softphone to verify the sip server (for example sjphone configuration):
Proxy Domain: localhost or the IP of your server
Puerto: 5060 (default port)
User Domain: localhost or the IP of your server
Any user and password is possible at this step.
* The SER (SIP Express Router) is installed and working. It is an easy installation. You can read also the install file that comes with the package you have downloaded. If you can problems you can read SER errors + solutions. Now we are going to configure SER (SIP express router) with MySQL support.