(Page 6 of 8 in this chapter)


1.5 Modifying Your CT Access Configuration File

The CT Access configuration file, typically called cta.cfg, is used by the CT Access process daemon (ctdaemon). All services should be defined in this file by specifying the service and service manager names. To perform tracing in NaturalText applications, the NaturalText service must exist in the CT Access configuration file.

The following services are needed to develop a NaturalText application:

Service Functionality

Service

Service Manager

Provides the NaturalText API

TTS

ADIMGR

Provides the call establishment functions

ADI

ADIMGR

The default cta.cfg file includes the ADI service. Modify the file to add the TTS service. The cta.cfg file is located in the following directories:

NT and OS/2: c:\nms\ctaccess\cfg
UnixWare: /opt/nms/ctaccess/cfg

For more information about ctdaemon, see the CT Access Developer's Manual.

1.5.1 Sample CT Access Configuration File

The following is a sample CT Access configuration file including NaturalText:

#---------------------------------------------------------------
# cta.cfg
#
# This is an example file loaded by the CT Access daemon process
#---------------------------------------------------------------

#---------------------------------------------------------------
# CT Access System Configuration (ctasys)
# Valid options are:
# Service = name, dll
# TraceMask = mask
#---------------------------------------------------------------
[ctasys]
Service = adi, adimgr
Service = vce, vcemgr
Service = swi, swimgr
Service = tts, adimgr # add this line for NaturalText

TraceMask = 0
TraceFile = cta.log
#--------------------------------------------------------------
# CT Access Default Parameter Changes (ctapar)
# Valid syntax:
# service{.x}.catagory.field = value
#--------------------------------------------------------------
[ctapar]

#--------------------------------------------------------------


(Page 6 of 8 in this chapter)


tech_support@nmss.com
Copyright © 1997, Natural MicroSystems, Inc. All rights reserved.