COMPILE AND INSTALL ASTERISK
# cd /usr/src/asterisk-version
#. /configure
# make clean
# make
# make install
# make samples
# asterisk -h
Asterisk 1.0.7-BRIstuffed-0.2.0-RC7k, Copyright (C) 2000-2004, Digium.
Usage: asterisk [OPTIONS]
Valid Options:
-V Display version number and exit
-C <configfile> Use an alternate configuration file
-G <group> Run as a group other than the caller
-U <user> Run as a user other than the caller
-c Provide console CLI
-d Enable extra debugging
-f Do not fork
-g Dump core in case of a crash
-h This help screen
-i Initialize crypto keys at startup
-n Disable console colorization
-p Run as pseudo-realtime thread
-q Quiet mode (suppress output)
-r Connect to Asterisk on this machine
-R Connect to Asterisk, and attempt to reconnect if disconnected
-t Record soundfiles in /var/tmp and move them where they belong after
they are done.
-v Increase verbosity (multiple v's = more verbose)
-x <cmd> Execute command <cmd> (only valid with -r)
# asterisk -r
Asterisk 1.0.7-BRIstuffed-0.2.0-RC7k, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster@digium.com>
===========================================================
Connected to Asterisk 1.0.7-BRIstuffed-0.2.0-RC7k currently running on collins (pid =10763)
*CLI>
_________________________________________________________________________