ctnconf.txt file

Configuration

1. Configuration File

The imagectn and ti applications are configured via a configuration file.
This configuration file defines global options, known Peer Application
Entities (AEs), groups of Peer AEs belonging to the same vendor, local AEs
(storage areas) and options specific to individual storage areas (file system
path, read/write premission, quota and access permission for Peer AEs).

There are four different parts in the configuration file:

 1. Global Parameters
 2. Host Table
 3. Vendor Table
 4. Application Entity Table

All lines in this parts define one option and the entries in one
line are seperated by white spaces. Blank lines and lines which
begin with a "#" will be ignored. They can be used for structuring
and as comments. The first entry in one line is the keyword.  All
the other entries in the line will be the desired values. A string
value which should include spaces must be enclosed with quotes.
Known quote characters are """, "'", "(" and ")". An integer value
must not enclosed with quotes.  A "=" may be used in addition to
the white spaces between the two different entry types, a "," may
be used in a value list.

1.1. Global Parameters

The Global Parameter part knows of the following keywords:

NetworkTyp      - string value
NetworkTCPPort  - integer value
MaxPDUSize      - integer value
MaxAssociations - integer value
Display         - boolean string value

There are default values for all these keywords hardcoded in the
configuration module.

Example:

NetworkType     = "tcp"
NetworkTCPPort  = 104
MaxPDUSize      = 8192
MaxAssociations = 20
Display         = "yes"


1.2. Host Table (AE Title/Presentation Address Mapping)

The Host Table part must be enclosed with the keywords "HostTable
BEGIN" and "HostTable END". It is used to define symbolic names
for a number of DICOM peers. A peer is a structure with the three
values AETitle, HostName, Portnumber seperated with white spaces
and commas and enclosed with "(" and ")".

The right hand side of each entry effectively defines a mapping
between Application Entity Title and Presentation Address.  These
entries are used when establishing associations to remote Application
Entities.

NOTE: in the current implementation you cannot substitute an IP address
for a hostname.

A symbolic name may be defined for a list of peers.  Symbolic names
and peers may be mixed to define new symbolic names. A symbolic
name must be defined before used. They can be used in the Vendor
and Application Entity Table.

Example:

HostTable BEGIN
Acme_1 = (ACME_DN1, acme, 10001)
Acme_2 = (ACME_DN2, acme, 10001)
Acme_3 = (ACME_DN3, acme, 10001)
Acme   = Acme_1, Acme_2, Acme_3
HostTable END

1.3. Vendor Table

The Vendor Table part must be enclosed with the keywords "VendorTable
BEGIN" and "VendorTable END".  The vendor table is used by the imagectn
and ti programs. You can give a vendor name to the ti program and
it will talk to all hosts and AEs of the vendor. The imagectn program
can use the vendor table to restrict move destination to hosts belonging
to a vendor.  A vendor name may be defined with a list of symbolic
names.  The vendor name defined on the left hand side of an entry will
be used for the annotation of images in the CTN Display Program (ctndisp)

Example:
VendorTable BEGIN
"ACME CT Company" = Acme
VendorTable END


1.4. Application Entity Table

The Application Entity Table defines the local Application Entities
managed by the imagectn application.  Each local AE is associated with
a separate storage area and defines a set of peer AE's which may
communicate with the local AE.  Peers attempting to associate with
a local AE will be refused if they are not explicitly or implicitly
mentioned.

The Application Entity Table part must be enclosed with the keywords
"AETable BEGIN" and "AETable END".  The entry format is held in a
very simple style:

ApplicationTitle        StorageArea     Access  Quota   Peers

where

 ApplicationTitle - string value
 StorageArea      - string value
 Access           - access format: "R" or "RW" or "W"
 Quota            - quota format: ( maxStudies, maxBytesPerStudy )
                    with maxStudies       - integer value
                         maxBytesPerStudy - string value
 Peers            - peers
                    with peers - list of ( Hostname, AETitle, Portnumber )
                               - list of symbolic names
                               - mixed list of symbolic names and peers
                               - keyword "ANY"

Example:

AETable BEGIN
ACME_PUB   /dicom/ACME_PUB R    (10, 24mb)   ANY
ACME_PRV   /dicom/ACME_PRV RW   (10, 24mb)   Acme
AETable END

-------------------------

Ralph Meyer / Andrew Hewett
Oldenburg, October 12, 1993

Revised: Andrew Hewett, April 22, 1996


Generated on 4 Nov 2004 for OFFIS DCMTK Version 3.5.3 by Doxygen 1.3.8