VOICEBIO AUTHENTICATION

此帮助页面适用于 Desktop Studio。 此信息也适用于 Studio。

本页面上的内容适用于处于公共预览程序中的产品或功能。如果您未参加该预览并希望获取更多信息,请联系您的客户代表。

Icon of vertical lines like a sound wave with a checkmark in the corner.

将音频发送给语音生物识别提供商,以验证联系人身份。

依赖关系

支持的脚本类型

电话脚本类型的图标——一种老式电话听筒,带有曲线表示从它发出的声音。

电话

输入属性

这些属性定义操作在执行时使用的数据。您可以在此操作的所有属性中使用变量替换。

属性

说明

Caption

输入在脚本中唯一标识此操作的短语。 标题显示在脚本画布上的操作图标下方。 默认值为操作名称。

VoiceBioProfileId

与联系人关联的语音生物识别配置文件的 ID。

PersonId

联系人的唯一标识符,例如账号或 PIN。

VoiceBio SessionID

语音生物识别注册当前会话的唯一标识符。

scriptParams

The name of the variable that holds data to pass to the voice biometric provider. The data must be defined in a Snippet action using the Script Parameters code snippet. The variable you use in this field must hold the data in JSON format. If you don't include the snippet, you don't need to complete this field.  The default is {voiceBioResultInfo.voiceBioSessionId}.

stopaudiostream

定义是否将音频发送到语音生物识别提供商以进行身份验证。设置为真以开始发送音频。设置为假以停止发送音频。

输出属性

这些属性包含保存执行操作返回的数据的变量。 它们在操作完成后供引用和使用。

属性

说明

ErrorDetailsVarName (out)

当采用错误分支时,此变量包含与该错误相关的任何详细信息。

结果分支条件

结果分支条件允许您在脚本中创建分支,以在执行操作时处理不同的结果。

条件

说明

默认

Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined.

OnError

Path taken when the action fails to execute properly. For example, when there is an unexpected problem such as poor connectivity, syntax errors, and so on. The _ERR variable, with a single underscore character, should be populated with a condensed explanation of the problem.
OnSuccess

完成操作而无错误,且 API 调用或数据返回全部成功时所采用的路径(2xx 响应代码)。

脚本示例

这是一个示例,说明如何在脚本中使用此操作。 它并不是一个完整的脚本。 可能还需要编写其他脚本。

该操作必须与其他 Voice Biometrics 操作一起使用。下图所示的示例脚本展示了如何在脚本中使用所有这四个操作,以在 IVRClosed 交互式语音应答。联系人通过语音或按键输入使用的自动电话菜单,用于获取信息、路由呼入语音通话,或兼具两者。 中设置语音生物识别身份验证。您可以在关于设置语音生物识别的帮助页面中了解有关在脚本中使用 Voice Biometrics 的更多信息,或 NiCE CXone Voice Biometrics。

Example script showing an IVR menu handling voice biometric authentication and enrollment

下载此脚本。