Version 5.6
257
November 2008
SIP User's Manual
4. ini File Configuration
4.2.3
Structure of ini File Table Parameters
You can use an
ini
file to configure table parameters, which include several parameters
(table
columns
) grouped according to the applications they configure (e.g., NFS and
IPSec). When loading an
ini
file to the device, it's recommended to include only tables that
belong to applications that are to be configured (dynamic tables of other applications are
empty, but static tables are not).
A table is defined as a
secret
table (i.e., concealed) if it contains at least one secret data
field or if it depends on another secret table. For example, in the IPSec application, IPSec
tables are defined as secret tables as the IKE table contains a pre-shared key that must be
concealed. Therefore, the SPD table that depends on the IKE table is defined as a secret
table as well. Secret tables are always concealed when loading an
ini
file to the device.
However, there is a commented title that states that the secret table exists in the device, but
is not to be revealed. Secret tables are always stored in the device's non-volatile memory
and can be overwritten by new tables that are provided in a new
ini
file. If a secret table
appears in an
ini
file, it replaces the current table regardless of its content. To delete a
secret table from the device, include an empty table of the same type (with no data lines) as
part of a new
ini
file.
The
ini
file table parameter is composed of the following elements:
Title of the table:
The name of the table in square brackets (e.g.,
[MY_TABLE_NAME]).
Format line:
Specifies the columns (parameters) of the table (by their string names)
that are to be configured.
•
The first word of the Format line must be 'FORMAT', followed by the Index field
name, and then an equal (=) sign. After the equal sign, the names of the
parameters (
items
) are listed.
•
Items must be separated by a comma (,).
•
The Format line must only include columns that can be modified (i.e., parameters
that are not specified as read-only). An exception is Index fields that are always
mandatory.
•
The Format line must end with a semicolon (;).
Data line(s):
Contain the actual values of the parameters. The values are interpreted
according to the Format line.
•
The first word of the Data line must be the table’s string name followed by the
Index field.
•
Items must be separated by a comma (,).
•
A Data line must end with a semicolon (;).
End-of-Table Mark:
Indicates the end of the table. The same string used for the
table’s title, preceded by a backslash (\), e.g., [\MY_TABLE_NAME].
The following displays an example of the structure of an
ini
file table parameter.
[Table Title]
; This is the title of the table.
FORMAT Item_Index = Item_Name1, Item_Name2, Item_Name3;
; This is the Format line.
Item 0 = value1, value2, value3;
Item 1 = value1, $$, value3;
; These are the Data lines.
[\Table_Title]
; This is the end-of-the-table-mark.
Refer to the following notes:
Summary of Contents for Mediant 2000
Page 1: ...Document LTRT 68808 November 2008 User s Manual Version 5 6 ...
Page 2: ......
Page 18: ...SIP User s Manual 18 Document LTRT 68808 Mediant 2000 Reader s Notes ...
Page 254: ...SIP User s Manual 254 Document LTRT 68808 Mediant 2000 Reader s Notes ...
Page 334: ...SIP User s Manual 334 Document LTRT 68808 Mediant 2000 Reader s Notes ...
Page 342: ...SIP User s Manual 342 Document LTRT 68808 Mediant 2000 Reader s Notes ...
Page 408: ...SIP User s Manual 408 Document LTRT 68808 Mediant 2000 Reader s Notes ...
Page 414: ...SIP User s Manual 414 Document LTRT 68808 Mediant 2000 Reader s Notes ...
Page 418: ...User s Manual Version 5 6 www audiocodes com ...