Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The configuration is located in /etc/openser. The default configuration is ready for a very simple setup and for some very basic testtests. You can already try to register to the SIP server.

...

Warning
titleMessage too big

If you get the following error when registering: <Message too big> then probably your host forwards the SIP Message to itself. So trace on localhost to see if this is the case. If your server has more than one DNS entry, make sure that you have all hostnames in /etc/hosts and that you have the following line in your openser.cfg alias="yoursipdomain.ch:5060"

...

Add the following line to the /etc/syslog.conf file:

Code Block
# OpenSER messages 
# make sure this spacing is done with tabs, spaces may cause errors 
local7.* /var/log/openser 

# remove local7 from syslog and messages 
*.*;auth,authpriv.none,local7.none -/var/log/syslog 
*.=info;*.=notice;*.=warn;\ 
mail,news.none,local7.none -/var/log/messages 

...

Control server with openserctl

With sudo openserctl moni you can monitor the state of your openser (whether it is actually running after the installation).

openserctl is located in /usr/sbin, which is not by default in the user PATH. To use openserctl as a non-priviledged user you need to add the path to the environment export $PATH=PATH:/usr/sbin or call with the full path /usr/sbin/openserctl. Addionally you have to change permissions for the fifosockets. Add the following line in /etc/openser/openser.cfg.

Code Block
sock_group="staff" # openser socket/fifo group, e.g. staff

...