Custom IVR Template: SR Result Parser
Purpose of the Template
Important
This template is just an example of how to parse the result of a Speech Recognition (SR) and retrieve an instance data of the recognized instance with the highest confidence. You should customize this template to fit your specific needs.
Parses the result of a Speech Recognition (SR) and retrieves an instance data of the recognized instance with the highest confidence.
See details about Speech Recognition (SR) result structure on the Speech Recognition page.
Template Data Sheet
Name | Minimum Engine version | Minimum Designer version |
---|---|---|
SRResultParser | 3.3.5 | 7.11.4 |
Parameters
Name | Description |
---|---|
sr_result |
The value of the srresult variable. This is the JSON representation of the speech recognition result. |
sr_completion_code |
The value of the srcompletioncode variable. The completion code of the speech recognition. |
instance_data_name |
Name of the data in the instance which needs to be retrieved. |
instance_data_value |
Output string with the value of the given data. |
Exit Points
Name | Description |
---|---|
next |
Result parsed. |
error |
An error happened. |