Logging a Blueworx Voice Response alarm

To log an alarm, for example, when testing a system management application, use the DTalarm command with the -i flag to specify the message identifier, followed by the values for each of the parameters the alarm requires. String parameters can contain spaces if the entire string is enclosed in double quotation marks ("); numeric parameters can be specified in octal, decimal, or hexadecimal notation. (If you don't know what the parameters are, first use the Dtalarm command with the -t flag: see Viewing an alarm definition below).

Optionally, you can use the -e flag to specify the value of the errno field. If you don't use the -e flag, the errno field defaults to 0.

You can also use the -n flag to specify the name to be put in the APPL_NAME field in the errorlog. This string can be up to 20 characters and can include spaces if enclosed in double quotation marks ("). If you don't use the -n flag, the APPL_NAME field defaults to DTalarm.

Syntax

DTalarm -i message_id [-n name] [-e errno] message_parameters...

Example

DTalarm -i 1 -n TESTING -e 20 "parameter 1" "parameter 2"