Hardware Reference
In-Depth Information
Starting Asterisk
Once Asterisk has been installed, you'll need to start the Asterisk process. You can
start it with the initscripts , or simply type (as root):
$ asterisk
This should start Asterisk running in the background. After Asterisk is running in the
background, you can connect to the running Asterisk system with the following com-
mand:
$ asterisk -r
If for some reason Asterisk isn't starting on your system, you can start it in console
mode:
$ asterisk -c
Be aware that running it in console mode is recommended only for debugging pur-
poses, because as soon as you exit out of the console, Asterisk stops running.
You can also increase the verbosity level of the Asterisk command prompt by supply-
ing one or more -v arguments to Asterisk, like this:
$ asterisk -vvvr
This example sets the verbosity level to three, if it wasn't already three or higher. At
verbosity level three, Asterisk tells you about every step it executes in its dialing plan,
so it's a nice level to use when you're learning Asterisk.
When you successfully connected to the Asterisk process, you should be greeted with
a prompt that looks something like this:
Asterisk 1.8.23.1, Copyright (C) 1999 - 2013 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for
details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it un
der
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.8.23.1 currently running on hockey (pid = 23801)
Verbosity was 0 and is now 3
hockey*CLI>
In this example, we're running Asterisk version 1.8.23.1 on a computer named “hock-
ey.”
Search WWH ::




Custom Search