General Ini File Formatting Rules; Configuring An Ini File - AudioCodes Mediant 1000B User Manual

Gateway & enterprise sbc
Hide thumbs Also See for Mediant 1000B:
Table of Contents

Advertisement

User's Manual
9.1.3

General ini File Formatting Rules

The ini file must adhere to the following formatting rules:
The ini file name must not include hyphens "-" or spaces; if necessary, use an
underscore "_" instead.
Lines beginning with a semi-colon ";" are ignored. These can be used for adding
remarks in the ini file.
A carriage return (i.e., Enter) must be done at the end of each line.
The number of spaces before and after the equals sign "=" is irrelevant.
Subsection names for grouping parameters are optional.
If there is a syntax error in the parameter name, the value is ignored.
Syntax errors in the parameter's value can cause unexpected errors (parameters may
be set to the incorrect values).
Parameter string values that denote file names (e.g., CallProgressTonesFileName)
must be enclosed with inverted commas, e.g., CallProgressTonesFileName =
'cpt_usa.dat'.
The parameter name is not case-sensitive.
The parameter value is not case-sensitive, except for coder names.
The ini file must end with at least one carriage return.
9.2

Configuring an ini File

There are different methods that you can use for configuring an ini file before you load it to
the device.
Modifying the device's current ini file: This method is recommended if you mainly need
to change the settings of parameters that you have previously configured.
1.
Save the device's current configuration as an ini file on your computer, using the
Web interface (see ''Saving Configuration'' on page 780).
2.
Open the file using a text file editor, and then modify the ini file as required.
3.
Save and close the file.
4.
Load the file to the device.
Creating a new ini file that includes only updated configuration:
1.
Open a text file editor such as Notepad.
2.
Add only the required parameters and their settings.
3.
Save the file with the ini file extension name (e.g., myconfiguration.ini).
4.
Load the file to the device.
For loading ini files to the device, see ''Loading an ini File to the Device'' on page 104.
Note:
If you save an ini file from the device and a table row is configured with invalid
values, the ini file displays the row prefixed with an exclamation mark (!), for
example:
!CpMediaRealm 1 = "ITSP", "Voice", "", 60210, 2, 6030, 0, "",
"";
To restore the device to default settings through the ini file, see ''Restoring Factory
Defaults'' on page 863.
Version 7.2
103
Mediant 1000B Gateway & E-SBC
9. INI File-Based Management

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents