sip-router.8 4.2 KB

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