User`s manual
User's Manual 5. MediaPack Configuration Tools
Version 2.2 73 July 2007
5.4 MediaPack Configuration File
As an alternative to configuring the VoIP gateway using the Web interface (described in
Section 'Embedded Web Server' on page 64) or the CLI (refer to Section 'Embedded
Command Line Interface' on page 68), you can configure the MediaPack by loading the
configuration file containing customer-configured parameters.
The configuration file is loaded to the MediaPack using the Web interface or the CLI using
a standard TFTP server (refer to Section 'Loading a Configuration File' on page 150).
The configuration file is stored in the MediaPack's non-volatile memory after the file is
loaded. When a parameter is missing from the configuration file, a default value is assigned
to that parameter. Therefore, to restore the default configuration parameters, load an
empty configuration file to the MediaPack.
Notes:
• Some of the MediaPack parameters are only configurable through the
configuration file or the CLI (and not through the Web interface).
• The configuration file can only be used to change the startup
configuration. Therefore, after loading this file to the MediaPack (via
CLI or Web), the MediaPack must be reset for the changes to take
affect.
5.4.1 Configuration File Structure
The structure of the configuration file is similar to the structure of the CLI. For example,
specific parameters must be entered in context of their operation mode, and the
Configuration Modes that aren’t updated on-the-fly must be terminated with a ‘no
shutdown’ command (refer to Section 'Shutdown / No Shutdown' on page 72).
The following general rules apply to the structure of the configuration file:
Lines beginning with a number ‘#’ sign (as the first character) are ignored.
A carriage return must be the final character of each line.
The configuration file must end with one or more carriage returns.
5.4.2 Modifying a Configuration File
¾ To modify the configuration file:
1. Save the configuration file on the gateway to a folder on your PC using the CLI or
embedded Web server (refer to Section 'Saving a Configuration File to a PC' on page
148), or alternatively use the default Configuration file supplied with the SW package.
2. Open the file (the file is opened in Notepad or a Customer-defined text file editor) and
modify the configuration file parameters according to your requirements; save and
close the file.
3. Load the modified configuration file to the gateway using CLI or the Embedded Web
Server (refer to Section 'Loading a Configuration File' on page 150).