VOIP_Xfer_Log

The VOIP_Xfer_Log state table encapsulates the actions needed to log debug data in a file.

The state table first checks the logging_on flag to see if the supplied data should be sent to the log file. The data to be logged consists of a header string, followed by six general strings; these are concatenated before being logged using a LogEvent action. The state table always returns edge 0, regardless of any errors.

Parameters

Number logging_on
A value of 1 means perform data logging; any other value causes the state table to exit without logging anything.
String header
The header string for the logging function. This must contain at least the file name, in a format required by the LogEvent state table action.
String in_1
The first string to log.
String in_2
The second string to log.
String in_3
The third string to log.
String in_4
The fourth string to log.
String in_5
The fifth string to log.
String in_6
The sixth string to log.