Structure of Config Files

From "AllStarLink Wiki"
Revision as of 18:29, 9 October 2017 by Wd6awp (talk | contribs)
Jump to: navigation, search

Configuration files have a simple structure consisting of two parts, the stanza and key/value pairs.

  1. A stanza is a section of the config file. It starts with a name (or number) surrounded by square brackets on a line by itself. A stanza is also called a context in Asterisk PBX terminology. A config file will have one or more stanza. Each stanza continues until the next stanza or end of file. Stanzas contain one or more ker/value pairs.
  2. Key/value pairs set various values such as the ID of the node.

Example of two nodes (1998 and 1999), each having their own CW ID:

idrecording = |iW1ABC

idrecording = |iW1XYZ