DAHDI_GENCONF(8) | User Contributed Perl Documentation | DAHDI_GENCONF(8) |
dahdi_genconf - Generate configuration for Dahdi channels.
dahdi_genconf [options] [generator...]
This script generate configuration files for Dahdi hardware. It uses two information sources:
The actual Dahdi hardware is automatically detected on the host.
The dahdi_genconf script can generate various kinds of configuration files as specified by the generator arguments. Each generator is a perl class in Dahdi::Config::Gen namespace. The generator names on the command line are the class names in lowercase.
The following generators are currently implemented: system, modules, spantypes, assignedspans, chandahdi, unicall, users.
For further documentation on each, please user perldoc on the relevant class. E.g: "perldoc Dahdi::Config::Gen::Chandahdi"
Each generator on the command line may be passed custom options by assigning a comma separated list of options to the generator name. E.g:
dahdi_genconf system chandahdi=verbose unicall
Enables the generator spantypes and the option line-mode to it. (Equivalent to the option "--line-mode" to "dahdi_span_types"). This will generate a "span-types.conf" file with a single wildcard line setting the line mode to mode.
2024-04-22 | perl v5.38.2 |