Page 494 - Asterisk™: The Future of Telephony
P. 494
amd.conf
This is the configuration for the answering matching detection application in Asterisk,
called AMD(). It is used to adjust the different parameters for detecting an answering
machine based on items such as initial silence, greeting length, silence after the greeting,
and so forth.
asterisk.conf
The asterisk.conf file defines the locations for the configuration files, the spool direc-
tory, and the modules, as well as a location to write logfiles to. The default settings are
recommended unless you understand the implications of changing them. The
asterisk.conf file is generated automatically when you run the make samples command,
based on information it collects about your system. It will contain a [directories]
section such as the following:
[directories]
astetcdir => /etc/asterisk
astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astdatadir => /var/lib/asterisk
astagidir => /var/lib/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run
astlogdir => /var/log/asterisk
Additionally, you can specify an [options] section, which will allow you to define
startup options (command-line switches) in the configuration file. The following ex-
ample shows the available options and the command-line switches that they effectively
enforce:
[options]
;Under "options" you can enter configuration options
;that you also can set with command line options
verbose = 0 ; Verbosity level for logging (-v)
debug = 3 ; Debug: "No" or value (1-4)
nofork=yes | no ; Background execution disabled (-f)
alwaysfork=yes | no ; Always background, even with -v or -d (-F)
console= yes | no ; Console mode (-c)
highpriority = yes | no ; Execute with high priority (-p)
initcrypto = yes | no ; Initialize crypto at startup (-i)
nocolor = yes | no ; Disable ANSI colors (-n)
dumpcore = yes | no ; Dump core on failure (-g)
quiet = yes | no ; Run quietly (-q)
timestamp = yes | no ; Force timestamping in CLI verbose output (-T)
† Yes, we are aware that the user interface to the channel interface is the Asterisk CLI; however, this is not
usable as a telephone and therefore does not meet the criteria of an interface from the perspective of a
telephone user.
466 | Appendix D: Configuration Files