Natural Access provides a mechanism for tracing function calls and events issued or received by an application. To capture trace messages, the Natural Access Server (ctdeamon) must be running, and the ISUP service must be included in the [ctasys] section of the cta.cfg file, as shown:
[ctasys]
Service = isup, isupmgr
In addition, the application must enable tracing when Natural Access is initialized:
isupInitparms.size = sizeof(CTA_INIT_PARMS);
isupInitparms.traceflags = CTA_TRACE_ENABLE;
isupInitparms.parmflags = CTA_PARM_MGMT_SHARED;
isupInitparms.ctacompatlevel = CTA_COMPATLEVEL;
Ret = ctaInitialize(isupServiceNames, 1, &isupInitparms);
if (Ret != SUCCESS) {
printf("ERROR code 0x%08x initializing Natural Access.", Ret);
exit( 1 );
}
For more information about tracing, refer to the Natural Access Developer's Reference Manual.