DOKK / manpages / debian 10 / kamailio / kamailio.8.en
kamailio(8) Kamailio SIP Server kamailio(8)

kamailio - a very fast and configurable SIP server

kamailio [ -hcrRvdDEVTI ] [ -f config-file ] [ -l address ] [ -n processes-no ] [ -N tcp processes-no ] [ -b max_rcv_buf_size ] [ -m shared_mem_size ] [ -M private_mem_size ] [ -w working-dir ] [ -t chroot-dir ] [ -u uid ] [ -g gid ] [ -P pid-file ] [ -G pgid-file ] [ -L modules-dir ] [ -a auto-aliases-mode ] [ -A pre-processor-define ]

kamailio is a very fast and configurable SIP (RFC3261) server.

Displays a short usage description, including all available options.
Checks the config file and displays the aliases and listen interface list.
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.
Control how daemonize is done:
-D - do not fork (almost) anyway (run in foreground, doesn't fork into daemon mode);
-DD - do not daemonize creator (main process is not daemonized);
-DDD - daemonize (default)
Sends all the log messages to stderr.
Disables TCP support.
Displays the version number.
Displays details of internal constants and attributes.
Reads the configuration from config-file (default /etc/kamailio/kamailio.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).
Size of the private memory which will be allocated per process (in Megabytes).
Specifies the working directory. In the very improbable event that kamailio will crash, the core file will be generated here.
Forces kamailio to chroot after reading the config file.
Changes the user id under which kamailio runs.
Changes the group id under which kamailio runs.
Creates a file containing the pid of the main kamailio process.
Creates a file containing the pgid of the main kamailio process.
Specifies the directory where to look for kamailio modules (default: /usr/lib/x86_64-linux-gnu/kamailio/modules or /usr/lib64/kamailio/modules)
Enable auto-aliases with 'yes' or 'on', disable with 'no' or 'off
Add config pre-processor define (e.g., -A WITH_AUTH, -A N=1, -A X='"Y"')

kamailio
/etc/kamailio/kamailio.cfg
/usr/lib/x86_64-linux-gnu/kamailio/modules/*

see AUTHORS

kamailio.cfg(5)

Full documentation on kamailio, including configuration guidelines, FAQs and licensing conditions, is available at https://www.kamailio.org/

For reporting bugs see https://github.com/kamailio/kamailio/issues.

Mailing lists:

sr-users@lists.kamailio.org - kamailio user community

sr-dev@lists.kamailio.org - kamailio development, new features and unstable version
06.12.2016 kamailio