The Asterisk Handbook Chapter 3: Running Asterisk
áÚøÖúßÝÞý ÿ
ýÿ
Running Asterisk is actually rather straight forward. Asterisk, if run with no arguments, is launched as a daemon process. Often, it is useful to execute Asterisk in a verbose, console mode, providing you with useful debugging and state information, as well as access to the powerful Asterisk command line interface.
!#"%$'&)(*,+.- /#01032547618#(94:$ ;& < =#0 $>4?"@
Like most Linux applications, Asterisk has several command line options. These are tpyically preceeded by a â&#x20AC;&#x153;-â&#x20AC;?, and several options may be specified in a row after a single â&#x20AC;&#x153;-â&#x20AC;?. For example: # asterisk -vvvgc
The above example is probably the most commonly used asterisk command line.
ACB
Enables console mode. If console mode is enabled, Asterisk will provide a command line that can be used to issue commands and view the state of the system. Implies -f as well
D E FHGJI K5LNMPO7L MRQ9SUT
Executes Asterisk with a different configuration file.
V W
Enables extra debugging across all modules.
X Y
Prevents Asterisk from daemonizing into the background.
Page 21