If you run make config
in the Asterisk or
Zaptel source directories, then the initialization scripts used to control Asterisk or Zaptel will be copied to
/etc/rc.d/init.d/. The scripts can be used to easily
load and unload Asterisk and Zaptel. They will also run the
chkconfig
command for you so Asterisk and Zaptel will
be started automatically upon system boot. The following shows their
usage:
# service zaptel start
# service asterisk start
Each initialization script has several options that can be utilized to control the PBX or the drivers. Tables 3.2 and 3.3 show the commands run by the script as if you had typed them into the command-line interface (CLI) yourself: