dahdi_genconf (8) - Linux Manuals

dahdi_genconf: Generate configuration for dahdi channels.

NAME

dahdi_genconf - Generate configuration for dahdi channels.

SYNOPSIS

dahdi_genconf [FILES...]

DESCRIPTION

This script generate configuration files for DAHDI hardware. The parameters are types of files to generate. By default it will generate the types 'dahdi' and 'chan_dahdi'. See below a complete list.
dahdi - /etc/dahdi/system.conf
Configuration for dahdi_cfg(1). Its location may be overriden by the environment variable DAHDI_CONF_FILE.
modules /etc/dahdi/modules
List of DAHDI kernel modules to be loaded by the init.d script. One module per line. Its location may be overriden with the variable DAHDI_MODS_FILE.
chan_dahdi - /etc/asterisk/dahdi-channels.conf
Configuration for asterisk(1). It should be included in the main /etc/asterisk/chan_dahdi.conf. Its location may be overriden by the environment variable CHAN_DAHDI_CHANNELS_FILE.
users - /etc/asterisk/users.conf
Configuration for asterisk(1) and AsteriskGUI. Its location may be overriden by the environment variable USERS_FILE.
chan_dahdi_full - /etc/asterisk/chan_dahdi.conf
Configuration for asterisk(1) and AsteriskGUI. Its location may be overriden by the environment variable CHAN_DAHDI_CONF_FILE.

EXAMPLES

Generate /etc/dahdi/system.conf ('dahdi') and a snippet of chan_dahdi.conf ('chan_dahdi'):

  dahdi_genconf

Create those two files, and /etc/dahdi/modules:

  dahdi_genconf chan_dahdi dahdi modules