LuaScript
The Lua script that determines whether to redact an audio record.
Specify one of the following:
- the absolute path to the Lua script file.
- the path to the Lua script file, relative to the LuaDirectory.
- a string that matches one of your
AdditionalDataLabels, (if you use theAdditionalDataandAdditionalDataLabelsaction parameters to upload the Lua script file as part of the Process action).
TIP: If your script is relatively short, for example a single line, you can set the parameter LuaLine instead of LuaScript. The LuaLine parameter allows you to specify a small amount of Lua code directly in the configuration file, removing the need for a separate script file.
The script must define a function with the name pred. The function must accept a record and return either true, to redact the record, or false. An example script is included in the Media Server installation.
| Type: | String |
| Default: | |
| Required: | No |
| Configuration Section: | TaskName |
| Example: | LuaScript=speechToTextMatch.lua
|
| See Also: | PredicateType |