Log an error.
Blueworx Voice Response library (libvae.a)
Custom Server library (libca.a)
#include "CA_header.h" int CA_Log_Error( int error_num, char *parm1, char *parm2, . . . char *parmN );
This subroutine logs an error in the Blueworx Voice Response error log and, optionally, displays it in the Alarms window. There are five errors defined for a custom server to use, each with a maximum of ten strings for parameters.
If NetView® is installed, red alarms are sent as alerts to the NetView operator.
LOG_ONLY errors are logged in the error log, but do not appear in the Alarms window.
For an example of how to use this subroutine, see Logging errors.
ERR_CA_USER_DEFINED_RED
ERR_CA_USER_DEFINED_YELLOW
ERR_CA_USER_DEFINED_GREEN
ERR_CA_USER_DEFINED_WHITE
ERR_CA_USER_DEFINED_LOG_ONLY
CA_NOT_INIT
CA_INV_REQUEST
CA_TERMINATING