# Modifying the Natural Access configuration file

If you use Natural Access Server (ctdaemon)
as part of your application environment, define all Natural Access services that the application uses by specifying the service and service manager names in the Natural Access configuration file (cta.cfg). You must modify cta.cfg to use tracing for any of the Natural Access services, including the NaturalConference (CNF) service. If you do not use the Natural Access Server (ctdaemon), make sure that the application's Natural Access services and service managers are explicitly defined in your application code.

For more information about ctdaemon and the Natural Access development environment, refer to the Natural Access Developer's Reference Manual.

A NaturalConference application typically uses the following services:

This service... | With this service manager... | Provides the...
--- | --- | ---
CNF | CNFMGR | NaturalConference API
NCC | ADIMGR for AG and CG boards | Natural Access call control API
SWI | SWIMGR | Switching API
OAM | OAMMGR | Functions for configuring, monitoring, and testing boards. Natural Access Server (ctdaemon) must be running.

The default cta.cfg file includes the NCC service (refer to the sample cta.cfg file).

cta.cfg is located in the following directories:

Operating system | Directory
Windows | \nms\ctaccess\cfg
UNIX | /opt/nms/ctaccess/cfg

If the CNF service is not listed in cta.cfg, perform the following steps to edit the file:

Step | Action
1 | Stop ctdaemon and all programs running Natural Access.
2 | Add the following line for the CNF service: Service = cnf, cnfmgr
3 | Save and close cta.cfg.
4 | Restart ctdaemon.

## Sample Natural Access configuration file

For details about the Natural Access configuration file, refer to the Natural Access Developer's Reference Manual. The following code excerpt from a Natural Access configuration file includes the CNF service:

#==========================================================================
# cta.cfg
#
# This is an example of a file that specifies Natural Access configuration.
# It allows you to:
# - specify generic operational settings that apply to Natural Access
# Server, ctdaemon,and all Natural Access applications.
# Note: these settings can be overwritten by Natural Access applications
# via ctaInitialize.
# - specify application specific settings
# - specify Natural Access Server and ctdaemon specific settings
# - redefine service specific parameter defaults
#
#==========================================================================
# Natural Access System Configuration (ctasys)
#
# Valid options are:
# Service = name, dll - tells the daemon about available "services"
# - tells the Natural Access server what
# "services" to export
#
# Note: NCC should always precede ADI when both services are listed.
#==========================================================================
[ctasys]
Service = ncc, adimgr
Service = adi, adimgr
Service = dtm, adimgr
Service = ppx, ppxmgr
Service = swi, swimgr
Service = vce, vcemgr
Service = oam, oammgr
Service = cnf, cnfmgr
#==========================================================================