Browse
 
Tools
Rss Categories

LV_SRE_AddFieldToRequest

Reference Number: AA-00666 Views: 1884 0 Rating/ Voters

Adds a custom string to a named field in the call log file.

Function

  • int LV_SRE_AddFieldToRequest(HPORT hport, const char* KeyName, const char* String)

Parameters

hport

A handle to the speech port.

KeyName

Name of the Field which is to be added to the call log file.

String

String value to be assigned to the new field in the call log file.

Return Values

LV_SUCCESS

No errors; the field was added to the request.

LV_FAILURE

Returned if the port is in the process of shutting down.

LV_INVALID_HPORT

The input hport is not a valid one.

LV_EXCEPTION

An exception occurred while processing the request.

Remarks

Adds a custom string to a named field in the call log file.  This is useful when analyzing the call log files generated by the Engine. You need to represent all non-string values as const char * types whenpassing values to this function.

See Also