Query: dahdi_genconf
OS: debian
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DAHDI_GENCONF(8) User Contributed Perl Documentation DAHDI_GENCONF(8)NAMEdahdi_genconf - Generate configuration for dahdi channels.SYNOPSISdahdi_genconf [options] [generator...]DESCRIPTIONThis script generate configuration files for Dahdi hardware. It uses two information sources: Hardware The actual dahdi hardware is automatically detected on the host. /etc/dahdi/genconf_parameters A configuration file that supplements the hardware information. Its location may be overridden via the "GENCONF_PARAMETERS" environment variable. The dahdi_genconf script can generate various kinds of configuration files as specificed by the generator arguments. Each generator is a perl classes 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, 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 Global options: -V Version -- print version string and exit. -v Verbose -- sets the 'verbose' option for all generators. -F Freepbx -- sets the 'freepbx' option for all generators. Currently, chandahdi is affected. Implementation notes: o genconf_parameters parsing is done via "Dahdi::Config::Params". An object representing the parsed data is instanciated by: "Dahdi::Config::Params->new()". The "item()" method of this object contains all the hard coded defaults of the configuration directives. o A configuration object is instanciated by "Dahdi::Config::Gen->new($params)". The mapping of configuration directives into semantic configuration is done in the constructor. o A single generator is run via the the "run_generator()" method of the configuration object. perl v5.14.2 2011-06-16 DAHDI_GENCONF(8)
Similar Topics in the Unix Linux Community |
---|
How to know the hardware configuration on P595 LAPRs |
Lucky Gen Z |
Geek Gen X |
Old Games And The Gen Z |