kamailio.8 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. .\"
  2. .TH kamailio 8 06.12.2016 kamailio "Kamailio SIP Server"
  3. .\" Process with
  4. .\" groff -man -Tascii kamailio.8
  5. .\"
  6. .SH NAME
  7. kamailio \- very fast and configurable SIP server
  8. .SH SYNOPSIS
  9. .B kamailio
  10. [
  11. .B \-hcrRvdDEVTI
  12. ] [
  13. .BI \-f " config\-file"
  14. ] [
  15. .BI \-l " address"
  16. ] [
  17. .BI \-n " processes\-no"
  18. ] [
  19. .BI \-N " tcp processes\-no"
  20. ] [
  21. .BI \-b " max_rcv_buf_size"
  22. ] [
  23. .BI \-m " shared_mem_size"
  24. ] [
  25. .BI \-M " private_mem_size"
  26. ] [
  27. .BI \-w " working\-dir"
  28. ] [
  29. .BI \-t " chroot\-dir"
  30. ] [
  31. .BI \-u " uid"
  32. ] [
  33. .BI \-g " gid"
  34. ] [
  35. .BI \-P " pid\-file"
  36. ] [
  37. .BI \-G " pgid\-file"
  38. ] [
  39. .BI \-L " modules\-dir"
  40. ] [
  41. .BI \-a " auto\-aliases\-mode"
  42. ] [
  43. .BI \-A " pre\-processor\-define"
  44. ]
  45. .SH DESCRIPTION
  46. .B kamailio
  47. is a very fast and configurable SIP (RFC3261) server.
  48. .SH OPTIONS
  49. .TP 12
  50. .B \-h
  51. Displays a short usage description, including all available options.
  52. .TP
  53. .BI \-c
  54. Checks the config file and displays the aliases and listen interface list.
  55. .TP
  56. .BI \-r
  57. Uses dns to check if it is necessary to add a "received=" field to a via.
  58. .TP
  59. .BI \-R
  60. Same as
  61. .B \-r
  62. but uses reverse dns.
  63. .TP
  64. .BI \-K
  65. Turns on via host checking when forwarding replies.
  66. .TP
  67. .BI \-d
  68. Turns on debugging, multiple
  69. .B \-d
  70. increase the debug level.
  71. .TP
  72. .BI \-D
  73. Control how daemonize is done:
  74. .br
  75. .B \-D
  76. - do not fork (almost) anyway (run in foreground, doesn't fork into daemon mode);
  77. .br
  78. .B \-DD
  79. - do not daemonize creator (main process is not daemonized);
  80. .br
  81. .B \-DDD
  82. - daemonize (default)
  83. .TP
  84. .BI \-E
  85. Sends all the log messages to stderr.
  86. .TP
  87. .BI \-T
  88. Disables TCP support.
  89. .TP
  90. .BI \-V
  91. Displays the version number.
  92. .TP
  93. .BI \-I
  94. Displays details of internal constants and attributes.
  95. .TP
  96. .BI \-f " config\-file"
  97. Reads the configuration from
  98. .B " config\-file"
  99. (default
  100. .I /etc/kamailio/kamailio.cfg
  101. ).
  102. .TP
  103. .BI \-l " address"
  104. Listens on the specified address/interface. Multiple
  105. .B \-l
  106. mean listening on multiple addresses. The address format is
  107. [proto:]address[:port], where proto = udp|tcp and
  108. address = host|ip_address|interface_name. Example: -l localhost,
  109. -l udp:127.0.0.1:5080, -l eth0:5062.
  110. The default behaviour is to listen on all the ipv4 interfaces.
  111. .TP
  112. .BI \-n " processes\-no"
  113. Specifies the number of children processes forked per interface (default 8).
  114. .TP
  115. .BI \-N " tcp processes\-no"
  116. Specifies the number of children processes forked to handle tcp incoming connections (by default is equal to
  117. .BI \-n
  118. ).
  119. .TP
  120. .BI \-b " max_rcv_buf_size"
  121. Maximum receive buffer size which will not be exceeded by the auto-probing procedure even if the OS allows.
  122. .TP
  123. .BI \-m " shared_mem_size"
  124. Size of the shared memory which will be allocated (in Megabytes).
  125. .TP
  126. .BI \-M " private_mem_size"
  127. Size of the private memory which will be allocated per process (in Megabytes).
  128. .TP
  129. .BI \-w " working\-dir"
  130. Specifies the working directory. In the very improbable event that
  131. .B kamailio
  132. will crash, the core file will be generated here.
  133. .TP
  134. .BI \-t " chroot\-dir"
  135. Forces
  136. .B kamailio
  137. to chroot after reading the config file.
  138. .TP
  139. .BI \-u " uid"
  140. Changes the user id under which
  141. .B kamailio
  142. runs.
  143. .TP
  144. .BI \-g " gid"
  145. Changes the group id under which
  146. .B kamailio
  147. runs.
  148. .TP
  149. .BI \-P " pid\-file"
  150. Creates a file containing the pid of the main
  151. .B kamailio
  152. process.
  153. .TP
  154. .BI \-G " pgid\-file"
  155. Creates a file containing the pgid of the main
  156. .B kamailio
  157. process.
  158. .TP
  159. .BI \-L " modules\-dir"
  160. Specifies the directory where to look for
  161. .B kamailio
  162. modules (default: /usr/lib/kamailio/modules or /usr/lib64/kamailio/modules)
  163. .TP
  164. .BI \-a " auto\-aliases\-mode"
  165. Enable auto-aliases with 'yes' or 'on', disable with 'no' or 'off
  166. .TP
  167. .BI \-A " pre\-processor\-define"
  168. Add config pre-processor define (e.g., -A WITH_AUTH, -A N=1, -A X='"Y"')
  169. .SH FILES
  170. .PD 0
  171. .B /usr/sbin/kamailio
  172. .br
  173. .B /etc/kamailio/kamailio.cfg
  174. .br
  175. .B /usr/lib/kamailio/modules/*
  176. .PD
  177. .SH AUTHORS
  178. see
  179. .B /usr/share/doc/kamailio/AUTHORS
  180. .SH SEE ALSO
  181. .BR kamailio.cfg(5)
  182. .PP
  183. Full documentation on kamailio, including configuration guidelines, FAQs and
  184. licensing conditions, is available at
  185. .I http://kamailio.org.
  186. .PP
  187. For reporting bugs see
  188. .I
  189. https://github.com/kamailio/kamailio/issues.
  190. .PP
  191. Mailing lists:
  192. .nf
  193. [email protected] - kamailio user community
  194. .nf
  195. [email protected] - kamailio development, new features and unstable version