OpenSIPS(8) VoIP SIP Server OpenSIPS(8)

opensips - flexible and roboust SIP (RFC3261, RFC3263) server for Voice over IP (VoIP)

opensips [ -hcCrRvdDEVT ] [ -f config-file ] [ -l address ] [ -n processes-no ] [ -N tcp processes-no ] [ -b max_rcv_buf_size ] [ -m shared_mem_size ] [ -w working-dir ] [ -W method ] [ -t chroot-dir ] [ -u uid ] [ -g gid ] [ -P pid-file ] [ -i fifo-path ] [ -x socket-path ]

OpenSIPS is a SIP-based VoIP server running on most Unix-like operating systems. It supports UDP, TCP and TLS transport layers. Among its features:

  • SIP Proxy Server, SIP Registrar Server, SIP Redirect Server, SIP Location Server, SIP Application Server
  • Call Processing Language (RFC3880)
  • ENUM support
  • server side NAT traversal
  • load balancing
  • AAA with database (MySQL, Postgres, Unixodbc) or RADIUS backend
  • audio, video, instant messaging and pressence

Displays a short usage description, including all available options.
Checks the config file and displays the aliases and listen interface list.
Similar to -c but in addition checks the flags of exported functions from included route blocks.
Uses dns to check if it is necessary to add a "received=" field to a via.
Same as -r but uses reverse dns.
Turns on via host checking when forwarding replies.
Turns on debugging, multiple -d increase the debug level.
Runs opensips in the foreground (it doesn't fork into daemon mode).
Sends all the log messages to stderr.
Disables TCP support.
Displays the version number.
Reads the configuration from config-file (default /etc/opensips/opensips.cfg ).
Listens on the specified address/interface. Multiple -l mean listening on multiple addresses. The address format is [proto:]address[:port], where proto = udp|tcp and address = host|ip_address|interface_name. Example: -l localhost, -l udp:127.0.0.1:5080, -l eth0:5062. The default behaviour is to listen on all the ipv4 interfaces.
Specifies the number of children processes forked per interface (default 8).
Specifies the number of children processes forked to handle tcp incoming connections (by default is equal to -n ).
Maximum receive buffer size which will not be exceeded by the auto-probing procedure even if the OS allows.
Size of the shared memory which will be allocated (in Megabytes).
Specifies the working directory. In the very improbable event that opensips will crash, the core file will be generated here.
Specify poll method.
Forces opensips to chroot after reading the config file.
Changes the user id under which opensips runs.
Changes the group id under which opensips runs.
Creates a file containing the pid of the main opensips process.
Creates a fifo, useful for monitoring opensips status.
Creates a unix socket, useful for monitoring opensips status ( same as -i fifo-path but using instead unix sockets).

/usr/bin/opensips
/etc/opensips/opensips.cfg
/usr/lib/opensips/modules/*

see /usr/share/doc/opensips/AUTHORS

opensips.cfg(5)

Full documentation on opensips is available at https://opensips.org/.

Project tracker and GIT https://github.com/OpenSIPS/opensips.

Mailing lists:

users@lists.opensips.org - opensips user community
devel@lists.opensips.org - opensips development, new features and unstable version
08.06.2006 OpenSIPS