asterisk.8 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509
  1. .TH " \fBasterisk\fP " "8"
  2. <<<<<<< .working
  3. .SH "NAME"
  4. \fBasterisk\fP \(em All-purpose telephony server.
  5. .SH "SYNOPSIS"
  6. .PP
  7. \fBasterisk\fR\fB-BcdfFghiImnpqRtTvVW\fP \fB-C \fP\fIfile\fR \fB-e \fP\fImemory\fR \fB-G \fP\fIgroup\fR \fB-L \fP\fIloadaverage\fR \fB-M \fP\fIvalue\fR \fB-U \fP\fIuser\fR \fB-s \fP\fIsocket-file\fR \fB-x \fP\fIcommand\fR
  8. .PP
  9. \fBasterisk \-r\fR \fB-v\fP \fB-x \fP\fIcommand\fR
  10. .SH "DESCRIPTION"
  11. 2011-02-08;
  12. .PP
  13. \fBasterisk\fR is a full-featured telephony server which
  14. provides Private Branch eXchange (PBX), Interactive Voice Response (IVR),
  15. Automated Call Distribution (ACD), Voice over IP (VoIP) gatewaying,
  16. Conferencing, and a plethora of other telephony applications to a broad
  17. range of telephony devices including packet voice (SIP, IAX2, MGCP, Skinny,
  18. H.323, Unistim) devices (both endpoints and proxies), as well as traditional TDM
  19. hardware including T1, E1, ISDN PRI, GR-303, RBS, Loopstart, Groundstart,
  20. ISDN BRI and many more.
  21. .PP
  22. At start, Asterisk reads the /etc/asterisk/asterisk.conf main configuration
  23. file and locates the rest of the configuration files from the configuration
  24. in that file. The \-C option specifies an alternate main configuration file.
  25. Virtually all aspects of the operation of asterisk's configuration files
  26. can be found in the sample configuration files. The format for those files
  27. is generally beyond the scope of this man page.
  28. .PP
  29. When running with \fB-c\fR, \fB-r\fR or \fB-R\fR options, Asterisk supplies a powerful command line, including command
  30. completion, which may be used to monitors its status, perform a variety
  31. of administrative actions and even explore the applications that are
  32. currently loaded into the system.
  33. .PP
  34. Asterisk is a trademark of Digium, Inc.
  35. .SH "OPTIONS"
  36. .IP "\-B" 10
  37. Force the background of the terminal to be black, in order for
  38. terminal colors to show up properly.
  39. .IP "\-C \fIfile\fR" 10
  40. Use \fBfile\fP as master configuration file
  41. instead of the default, /etc/asterisk/asterisk.conf
  42. .IP "\-c" 10
  43. Provide a control console on the calling terminal.
  44. Specifying this option implies \fB-f\fR and will cause
  45. asterisk to no longer fork or detach from the controlling terminal.
  46. .IP "\-d" 10
  47. Enable extra debugging statements.
  48. .IP "" 10
  49. Note: This always sets the debug level in the asterisk process,
  50. even if it is running in the background. This may affect the size
  51. of your log files, if the debug level is specified in logger.conf.
  52. .IP "\-e \fImemory\fR" 10
  53. Limit the generation of new channels when the amount of free memory has decreased to under \fImemory\fR megabytes.
  54. .IP "\-f" 10
  55. Do not fork or detach from controlling terminal. Overrides any preceding specification of \fB-F\fR on the command line.
  56. .IP "\-F" 10
  57. Always fork and detach from controlling terminal. Overrides any preceding specification of \fB-f\fR on the command line.
  58. .IP "\-g" 10
  59. Remove resource limit on core size, thus forcing Asterisk to dump
  60. core in the unlikely event of a segmentation fault or abort signal.
  61. \fBNOTE:\fR in some cases this may be incompatible
  62. with the \fB-U\fR or \fB-G\fR flags.
  63. .IP "\-G \fIgroup\fR" 10
  64. Run as group \fIgroup\fR instead of the
  65. calling group. \fBNOTE:\fR this requires substantial work
  66. to be sure that Asterisk's environment has permission to write
  67. the files required for its operation, including logs, its comm
  68. socket, the asterisk database, etc.
  69. .IP "\-h" 10
  70. Provide brief summary of command line arguments and terminate.
  71. .IP "\-i" 10
  72. Prompt user to intialize any encrypted private keys for IAX2
  73. secure authentication during startup.
  74. .IP "\-I" 10
  75. Enable internal timing if DAHDI timing is available.
  76. The default behaviour is that outbound packets are phase locked
  77. to inbound packets. Enabling this switch causes them to be
  78. locked to the internal DAHDI timer instead.
  79. .IP "\-L \fIloadaverage\fR" 10
  80. Limits the maximum load average before rejecting new calls. This can
  81. be useful to prevent a system from being brought down by terminating
  82. too many simultaneous calls.
  83. .IP "\-m" 10
  84. Temporarily mutes output to the console and logs. To return to normal,
  85. use \fBlogger mute\fR.
  86. .IP "\-M \fIvalue\fR" 10
  87. Limits the maximum number of calls to the specified value. This can
  88. be useful to prevent a system from being brought down by terminating
  89. too many simultaneous calls.
  90. .IP "\-n" 10
  91. Disable ANSI colors even on terminals capable of displaying them.
  92. .IP "\-p" 10
  93. If supported by the operating system (and executing as root),
  94. attempt to run with realtime priority for increased performance and
  95. responsiveness within the Asterisk process, at the expense of other
  96. programs running on the same machine.
  97. .IP "" 10
  98. Note: \fBastcanary\fR will run concurrently with
  99. \fBasterisk\fR. If \fBastcanary\fR stops
  100. running or is killed, \fBasterisk\fR will slow down to
  101. normal process priority, to avoid locking up the machine.
  102. .IP "\-q" 10
  103. Reduce default console output when running in conjunction with
  104. console mode (\fB-c\fR).
  105. .IP "\-r" 10
  106. Instead of running a new Asterisk process, attempt to connect
  107. to a running Asterisk process and provide a console interface
  108. for controlling it.
  109. .IP "\-R" 10
  110. Much like \fB-r\fR. Instead of running a new Asterisk process, attempt to connect
  111. to a running Asterisk process and provide a console interface
  112. for controlling it. Additionally, if connection to the Asterisk
  113. process is lost, attempt to reconnect for as long as 30 seconds.
  114. .IP "\-s \fIsocket file name\fR" 10
  115. In combination with \fB-r\fR, connect directly to a specified
  116. Asterisk server socket.
  117. .IP "\-t" 10
  118. When recording files, write them first into a temporary holding directory,
  119. then move them into the final location when done.
  120. .IP "\-T" 10
  121. Add timestamp to all non-command related output going to the console
  122. when running with verbose and/or logging to the console.
  123. .IP "\-U \fIuser\fR" 10
  124. Run as user \fIuser\fR instead of the
  125. calling user. \fBNOTE:\fR this requires substantial work
  126. to be sure that Asterisk's environment has permission to write
  127. the files required for its operation, including logs, its comm
  128. socket, the asterisk database, etc.
  129. .IP "\-v" 10
  130. Increase the level of verboseness on the console. The more times
  131. \fB-v\fR is specified, the more verbose the output is.
  132. Specifying this option implies \fB-f\fR and will cause
  133. asterisk to no longer fork or detach from the controlling terminal.
  134. This option may also be used in conjunction with \fB-r\fR and \fB-R\fR.
  135. .IP "" 10
  136. Note: This always sets the verbose level in the asterisk process,
  137. even if it is running in the background. This will affect the size
  138. of your log files.
  139. .IP "\-V" 10
  140. Display version information and exit immediately.
  141. .IP "\-W" 10
  142. Display colored terminal text as if the background were white
  143. or otherwise light in color. Normally, terminal text is displayed
  144. as if the background were black or otherwise dark in color.
  145. .IP "\-x \fIcommand\fR" 10
  146. Connect to a running Asterisk process and execute a command on
  147. a command line, passing any output through to standard out and
  148. then terminating when the command execution completes. Implies
  149. \fB-r\fR when \fB-R\fR is not explicitly
  150. supplied.
  151. .IP "\-X" 10
  152. Enables executing of includes via \fB#exec\fR directive.
  153. This can be useful if You want to do \fB#exec\fR inside
  154. \fBasterisk.conf\fP
  155. .SH "EXAMPLES"
  156. .PP
  157. \fBasterisk\fR \- Begin Asterisk as a daemon
  158. .PP
  159. \fBasterisk \-vvvgc\fR \- Run on controlling terminal
  160. .PP
  161. \fBasterisk \-rx "core show channels"\fR \- Display channels on running server
  162. .SH "BUGS"
  163. .PP
  164. Bug reports and feature requests may be filed at https://issues.asterisk.org
  165. .SH "SEE ALSO"
  166. .PP
  167. *CLI \fBhelp\fR \- Help on Asterisk CLI
  168. .PP
  169. *CLI \fBcore show applications\fR \- Show loaded dialplan applications
  170. .PP
  171. *CLI \fBcore show functions\fR \- Show loaded dialplan functions
  172. .PP
  173. *CLI \fBdialplan show\fR \- Show current dialplan
  174. .PP
  175. http://www.asterisk.org \- The Asterisk Home Page
  176. .PP
  177. http://www.asteriskdocs.org \- The Asterisk Documentation Project
  178. .PP
  179. http://wiki.asterisk.org \- The Asterisk Wiki
  180. .PP
  181. http://www.digium.com/ \- Asterisk sponsor and hardware supplier
  182. .SH "AUTHOR"
  183. .PP
  184. Mark Spencer markster@digium.com
  185. .PP
  186. Countless other contributors, see CREDITS with distribution for more information.
  187. =======
  188. .SH "NAME"
  189. , \fBasterisk\fP \fBasterisk\fP \(em All-purpose telephony server.
  190. .SH "SYNOPSIS"
  191. .PP
  192. \fBasterisk\fR \fB-BcdfFghiImnpqRtTvVW\fP \fB-C \fP\fIfile\fR \fB-e \fP\fImemory\fR \fB-G \fP\fIgroup\fR \fB-L \fP\fIloadaverage\fR \fB-M \fP\fIvalue\fR \fB-U \fP\fIuser\fR \fB-s \fP\fIsocket-file\fR
  193. .PP
  194. \fBasterisk \-r\fR \fB-v\fP \fB-d\fP \fB-x \fP\fIcommand\fR
  195. .PP
  196. \fBasterisk \-R\fR \fB-v\fP \fB-d\fP \fB-x \fP\fIcommand\fR
  197. .SH "DESCRIPTION"
  198. 2011-02-08;
  199. .PP
  200. \fBasterisk\fR is a full-featured telephony server which
  201. provides Private Branch eXchange (PBX), Interactive Voice Response (IVR),
  202. Automated Call Distribution (ACD), Voice over IP (VoIP) gatewaying,
  203. Conferencing, and a plethora of other telephony applications to a broad
  204. range of telephony devices including packet voice (SIP, IAX2, MGCP, Skinny,
  205. H.323, Unistim) devices (both endpoints and proxies), as well as traditional TDM
  206. hardware including T1, E1, ISDN PRI, GR-303, RBS, Loopstart, Groundstart,
  207. ISDN BRI and many more.
  208. .PP
  209. At start, Asterisk reads the /etc/asterisk/asterisk.conf main configuration
  210. file and locates the rest of the configuration files from the configuration
  211. in that file. The \-C option specifies an alternate main configuration file.
  212. Virtually all aspects of the operation of asterisk's configuration files
  213. can be found in the sample configuration files. The format for those files
  214. is generally beyond the scope of this man page.
  215. .PP
  216. When running with \fB-c\fR, \fB-r\fR or \fB-R\fR options, Asterisk supplies a powerful command line, including command
  217. completion, which may be used to monitors its status, perform a variety
  218. of administrative actions and even explore the applications that are
  219. currently loaded into the system.
  220. .PP
  221. Asterisk is a trademark of Digium, Inc.
  222. .SH "OPTIONS"
  223. .PP
  224. Running Asterisk starts the asterisk daemon (optionally running it
  225. in the foreground). However running it with \fB-r\fP or
  226. \fB-R\fP connects to an existing Asterisk instance through
  227. a remote console.
  228. .IP "\-B" 10
  229. Force the background of the terminal to be black, in order for
  230. terminal colors to show up properly. Equivalent to
  231. \fBforceblackbackground = yes\fP in
  232. \fBasterisk.conf\fP. See also
  233. \fB-n\fP and \fB-W\fP.
  234. .IP "\-C \fIfile\fR" 10
  235. Use \fBfile\fP as master configuration file
  236. instead of the default, /etc/asterisk/asterisk.conf
  237. .IP "\-c" 10
  238. Provide a control console on the calling terminal. The
  239. console is similar to the remote console provided by
  240. \fB-r\fP. Specifying this option implies
  241. \fB-f\fR and will cause asterisk to no longer
  242. fork or detach from the controlling terminal. Equivalent
  243. to \fBconsole = yes\fP in \fBasterisk.conf\fP.
  244. .IP "\-d" 10
  245. Enable extra debugging statements. This parameter may be used several
  246. times, and each increases the debug level. Equivalent to \fBdebug = \fInum\fR\fP in \fBasterisk.conf\fP to explicitly set the initian debug
  247. level to \fInum\fR. When given at startup, this
  248. option also implies \fB-f\fP (no forking). However when
  249. connecting to an existing Asterisk instance (\fB-r\fP or
  250. \fB-R\fP), it may only increase the debug level.
  251. .IP "\-e \fImemory\fR" 10
  252. Limit the generation of new channels when the amount of free memory
  253. has decreased to under \fImemory\fR megabytes.
  254. Equivalent to \fBminmemfree = \fImemory\fR\fP in
  255. \fBasterisk.conf\fP.
  256. .IP "\-f" 10
  257. Do not fork or detach from controlling terminal. Overrides any
  258. preceding specification of \fB-F\fR on the command line.
  259. Equivalent to \fBnofork = yes\fP in \fBasterisk.conf\fP.
  260. See also \fB-c\fP.
  261. .IP "\-F" 10
  262. Always fork and detach from controlling terminal. Overrides any
  263. preceding specification of \fB-f\fR on the command line.
  264. May also be used to prevent \fB-d\fP and \fB-v\fP to imply
  265. no forking. Equivalent to \fBalwaysfork = yes\fP in \fBasterisk.conf\fP.
  266. .IP "\-g" 10
  267. Remove resource limit on core size, thus forcing Asterisk to dump
  268. core in the unlikely event of a segmentation fault or abort signal.
  269. \fBNOTE:\fR in some cases this may be incompatible
  270. with the \fB-U\fR or \fB-G\fR flags.
  271. .IP "\-G \fIgroup\fR" 10
  272. Run as group \fIgroup\fR instead of the
  273. calling group. \fBNOTE:\fR this requires substantial work
  274. to be sure that Asterisk's environment has permission to write
  275. the files required for its operation, including logs, its comm
  276. socket, the asterisk database, etc.
  277. .IP "\-h" 10
  278. Provide brief summary of command line arguments and terminate.
  279. .IP "\-i" 10
  280. Prompt user to intialize any encrypted private keys for IAX2
  281. secure authentication during startup.
  282. .IP "\-I" 10
  283. Enable internal timing if DAHDI timing is available.
  284. The default behaviour is that outbound packets are phase locked
  285. to inbound packets. Enabling this switch causes them to be
  286. locked to the internal DAHDI timer instead.
  287. .IP "\-L \fIloadaverage\fR" 10
  288. Limits the maximum load average before rejecting new calls. This can
  289. be useful to prevent a system from being brought down by terminating
  290. too many simultaneous calls.
  291. .IP "\-m" 10
  292. Temporarily mutes output to the console and logs. To return to normal,
  293. use \fBlogger mute\fR.
  294. .IP "\-M \fIvalue\fR" 10
  295. Limits the maximum number of calls to the specified value. This can
  296. be useful to prevent a system from being brought down by terminating
  297. too many simultaneous calls.
  298. .IP "\-n" 10
  299. Disable ANSI colors even on terminals capable of displaying them.
  300. .IP "\-p" 10
  301. If supported by the operating system (and executing as root),
  302. attempt to run with realtime priority for increased performance and
  303. responsiveness within the Asterisk process, at the expense of other
  304. programs running on the same machine.
  305. .IP "" 10
  306. Note: \fBastcanary\fR will run concurrently with
  307. \fBasterisk\fR. If \fBastcanary\fR stops
  308. running or is killed, \fBasterisk\fR will slow down to
  309. normal process priority, to avoid locking up the machine.
  310. .IP "\-q" 10
  311. Reduce default console output when running in conjunction with
  312. console mode (\fB-c\fR).
  313. .IP "\-r" 10
  314. Instead of running a new Asterisk process, attempt to connect
  315. to a running Asterisk process and provide a console interface
  316. for controlling it.
  317. .IP "\-R" 10
  318. Much like \fB-r\fR. Instead of running a new Asterisk process, attempt to connect
  319. to a running Asterisk process and provide a console interface
  320. for controlling it. Additionally, if connection to the Asterisk
  321. process is lost, attempt to reconnect for as long as 30 seconds.
  322. .IP "\-s \fIsocket file name\fR" 10
  323. In combination with \fB-r\fR, connect directly to a specified
  324. Asterisk server socket.
  325. .IP "\-t" 10
  326. When recording files, write them first into a temporary holding directory,
  327. then move them into the final location when done.
  328. .IP "\-T" 10
  329. Add timestamp to all non-command related output going to the console
  330. when running with verbose and/or logging to the console.
  331. .IP "\-U \fIuser\fR" 10
  332. Run as user \fIuser\fR instead of the
  333. calling user. \fBNOTE:\fR this requires substantial work
  334. to be sure that Asterisk's environment has permission to write
  335. the files required for its operation, including logs, its comm
  336. socket, the asterisk database, etc.
  337. .IP "\-v" 10
  338. Increase the level of verboseness on the console. The more times
  339. \fB-v\fR is specified, the more verbose the output is.
  340. Specifying this option implies \fB-f\fR and will cause
  341. asterisk to no longer fork or detach from the controlling terminal.
  342. This option may also be used in conjunction with \fB-r\fR and \fB-R\fR.
  343. .IP "" 10
  344. Note: This always sets the verbose level in the asterisk process,
  345. even if it is running in the background. This will affect the size
  346. of your log files.
  347. .IP "\-V" 10
  348. Display version information and exit immediately.
  349. .IP "\-W" 10
  350. Display colored terminal text as if the background were white
  351. or otherwise light in color. Normally, terminal text is displayed
  352. as if the background were black or otherwise dark in color.
  353. .IP "\-x \fIcommand\fR" 10
  354. Connect to a running Asterisk process and execute a command on
  355. a command line, passing any output through to standard out and
  356. then terminating when the command execution completes. Implies
  357. \fB-r\fR when \fB-R\fR is not explicitly
  358. supplied.
  359. .IP "\-X" 10
  360. Enables executing of includes via \fB#exec\fR directive.
  361. This can be useful if You want to do \fB#exec\fR inside
  362. \fBasterisk.conf\fP
  363. .SH "EXAMPLES"
  364. .PP
  365. \fBasterisk\fR \- Begin Asterisk as a daemon
  366. .PP
  367. \fBasterisk \-vvvgc\fR \- Run on controlling terminal
  368. .PP
  369. \fBasterisk \-rx "core show channels"\fR \- Display channels on running server
  370. .SH "BUGS"
  371. .PP
  372. Bug reports and feature requests may be filed at https://issues.asterisk.org
  373. .SH "SEE ALSO"
  374. .PP
  375. http://www.asterisk.org \- The Asterisk Home Page
  376. .PP
  377. http://www.asteriskdocs.org \- The Asterisk Documentation Project
  378. .PP
  379. http://wiki.asterisk.org \- The Asterisk Wiki
  380. .PP
  381. http://www.digium.com/ \- Asterisk is sponsored by Digium
  382. .SH "AUTHOR"
  383. .PP
  384. Mark Spencer markster@digium.com
  385. .PP
  386. Countless other contributors, see CREDITS with distribution for more information.
  387. >>>>>>> .merge-right.r306999
  388. .\" created by instant / docbook-to-man, Tue 08 Feb 2011, 17:30