You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

Goal

This guide helps you setup a simple, mature and flexible open source SIP server. OpenSER can be used on systems with limitted resources as well as on carrier grade servers, scaling to up to thousands call setups per second.

Applicability

OpenSER includes all major entity of a SIP Network. It is a registrar, location server, proxy server, redirect server, gateway to SMS/XMPP, or advanced VoIP application server.

Prerequisites (OS, dependencies on other software)

  • Linux/Unix OS

Installation (OS agnostic)

[Install Guide http://www.openser.org/docs/INSTALL]

Use packages

There are several packages ready to be installed. Packages are available for Debian, Fedora, FreeBSD, Gentoo, NetBSD, OpenBSD, Solaris.

If you need a newer version. Make packages by typing 'make deb' or 'make rpm' instead of 'make install'.

Configuration (OS agnostic)

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

Troubleshooting with ngrep

Before you try to register to your SIP server make sure udp and tcp port 5060 are open. Use ngrep for tracing SIP messages on the SIP server. Useful commands are:

ngrep port 5060 
ngrep -d eth0 port 5060
ngrep -q 'test_user_name' 

Message 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"

OpenSER - The SIP interface

  • No labels