recordutterance

This property is equivalent to nuance.exposerecording, and specifies whether the user's utterance recording is available in VoiceXML via the application.lastresult$ variable. These waveforms are always recorded for call logs, but cannot be used in the application unless this property is set to true. For example, enable this property if you want an application to play back the exact recording of what the user said.

The default value of this property is false. When this property is enabled in the current scope, three additional shadow variables are set on the application.lastresult$ variable whenever an application.lastresult$ is assigned (for example, when a <link> is matched):

When recordutterance is enabled, the recording waveforms are stored in the main call log directory for the application, with a hierarchy of subdirectories for the year, month, day, and hour when a given utterance was recorded. By default, this directory is:

%NUANCE_DATA_DIR%/Company/callLogs/App/YYYY/MMmonth/DD/HH

Where <company> is the Company Name and <app> the Application Name as specified in the Applications tab of the Voice Browser service in the Management Station. %NUANCE_DATA_DIR% is set to C:\ProgramData\Nuance\Enterprise on Windows and var/local/Nuance on Linux.

If the diagnostic logging level is set to VD_INFO (the logging level with the most detail), the URI of a recorded utterance is written to the Voice Browser service diagnostic log in the $NVP_HOME/vws/logs/ directory. You can also extract the URI of the recording within a VoiceXML application by treating the lastresult$.recording as a string.

See the VoiceXML 2.1 Specification for more information about recording user utterances during recognition.