sip-router.8 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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. Runs sip-router in the foreground (it doesn't fork into daemon mode).
  77. .TP
  78. .BI \-E
  79. Sends all the log messages to stderr.
  80. .TP
  81. .BI \-T
  82. Disables TCP support.
  83. .TP
  84. .BI \-V
  85. Displays the version number.
  86. .TP
  87. .BI \-I
  88. Displays details of internal constants and attributes.
  89. .TP
  90. .BI \-f " config\-file"
  91. Reads the configuration from
  92. .B " config\-file"
  93. (default
  94. .I /etc/sip-router/sip-router.cfg
  95. ).
  96. .TP
  97. .BI \-l " address"
  98. Listens on the specified address/interface. Multiple
  99. .B \-l
  100. mean listening on multiple addresses. The address format is
  101. [proto:]address[:port], where proto = udp|tcp and
  102. address = host|ip_address|interface_name. Example: -l localhost,
  103. -l udp:127.0.0.1:5080, -l eth0:5062.
  104. The default behaviour is to listen on all the ipv4 interfaces.
  105. .TP
  106. .BI \-n " processes\-no"
  107. Specifies the number of children processes forked per interface (default 8).
  108. .TP
  109. .BI \-N " tcp processes\-no"
  110. Specifies the number of children processes forked to handle tcp incoming connections (by default is equal to
  111. .BI \-n
  112. ).
  113. .TP
  114. .BI \-b " max_rcv_buf_size"
  115. Maximum receive buffer size which will not be exceeded by the auto-probing procedure even if the OS allows.
  116. .TP
  117. .BI \-m " shared_mem_size"
  118. Size of the shared memory which will be allocated (in Megabytes).
  119. .TP
  120. .BI \-M " private_mem_size"
  121. Size of the private memory which will be allocated per process (in Megabytes).
  122. .TP
  123. .BI \-w " working\-dir"
  124. Specifies the working directory. In the very improbable event that
  125. .B sip-router
  126. will crash, the core file will be generated here.
  127. .TP
  128. .BI \-t " chroot\-dir"
  129. Forces
  130. .B sip-router
  131. to chroot after reading the config file.
  132. .TP
  133. .BI \-u " uid"
  134. Changes the user id under which
  135. .B sip-router
  136. runs.
  137. .TP
  138. .BI \-g " gid"
  139. Changes the group id under which
  140. .B sip-router
  141. runs.
  142. .TP
  143. .BI \-P " pid\-file"
  144. Creates a file containing the pid of the main
  145. .B sip-router
  146. process.
  147. .TP
  148. .BI \-G " pgid\-file"
  149. Creates a file containing the pgid of the main
  150. .B sip-router
  151. process.
  152. .TP
  153. .BI \-L " modules\-dir"
  154. Specifies the directory where to look for
  155. .B sip-router
  156. modules (default: /usr/lib/sip-router/modules)
  157. .TP
  158. .BI \-a " auto\-aliases\-mode"
  159. Enable auto-aliases with 'yes' or 'on', disable with 'no' or 'off
  160. .TP
  161. .BI \-A " pre\-processor\-define"
  162. Add config pre-processor define (e.g., -A WITH_AUTH, -A N=1, -A X='"Y"')
  163. .SH FILES
  164. .PD 0
  165. .B /usr/sbin/sip-router
  166. .br
  167. .B /etc/sip-router/sip-router.cfg
  168. .br
  169. .B /usr/lib/sip-router/modules/*
  170. .PD
  171. .SH AUTHORS
  172. see
  173. .B /usr/share/doc/sip-router/AUTHORS
  174. .SH SEE ALSO
  175. .BR sip-router.cfg(5)
  176. .PP
  177. Full documentation on sip-router, including configuration guidelines, FAQs and
  178. licensing conditions, is available at
  179. .I http://sip-router.org.
  180. .PP
  181. For reporting bugs see
  182. .I
  183. http://sip-router.org/tracker/.
  184. .PP
  185. Mailing lists:
  186. .nf
  187. [email protected] - sip-router user community
  188. .nf
  189. [email protected] - sip-router development, new features and unstable version