Onrelease

对呼叫的结束进行处理,具体指将语音邮件或将通话数据发送到数据库或网站。

依赖关系

  • Onreleaseevent action
  • 当呼叫者、坐席或 Hangup action挂断电话时,联系将被释放,脚本将被终止。
  • 当呼叫者、坐席或 Hangup 操作挂断电话,而脚本中有一个 Onrelease 事件时,脚本不会立即终止,而是会继续执行,直到后面没有操作或者执行了 StopHangup 操作为止。
  • 媒体 - Onrelease 事件后不允许进行特定操作(例如,Play, Menu, or Record)。 Runsub and Runscript 操作不应放在 Onrelease 操作之后。
  • 要处理一个电话呼叫联系时,CXone 将使用语音端口。 呼叫释放(即完成)后,CXone 使用其他端口(如果有)来处理呼叫结束程序。 如果没有“其他”端口,CXone 将继续使用语音端口。
  • 为了排除故障,在 Studio 中运行调试器时,SS7 原因代码会自动填入 _CALLRESULT_CAUSECODE_CAUSECODECATEGORYID 变量,以显示呼叫被释放的原因。
  • 一个脚本中只能有一个 Onrelease 事件操作。

支持的脚本类型

The icon for a Generic script type - a rectangle with < and > symbols inside it.

The icon for the Email script type - a large @ symbol in a diamond.

The icon for the Chat script type - a chat bubble with an ellipsis inside (...), in a diamond shape.

The icon for the Phone script type - an old-style phone handset with curved lines indicating sound coming out of it.

The icon for the Voicemail script type - a symbol that looks like a cassette tape - two circles sitting on a horizontal line.

The icon for the Work Item script type-a piece of paper with one corner folded down and a bullet list on it.

The icon for the SMS script type - a smart phone with a chat bubble coming out of it.

The icon for the Digital script type - a computer monitor with a smartphone next to it.

通用

电子邮件 聊天 电话 语音信箱 工作项目 短信 数字

输入属性

这些属性定义操作在执行时使用的数据。

属性

说明

Caption

输入在脚本中唯一标识此操作的短语。 标题显示在脚本画布上的操作图标下方。 The default is the action name.

CauseCode

存储原因代码的变量的名称。 原因代码是电话运营商在出现错误时发送的数字值。 如果没有输入任何内容,该变量将默认为 p1。

CallResult

未使用。

结果分支条件

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

条件

说明

Default

除了脚本满足条件要求其接受其他分支的情况之外,所要采用的路径。 如果未定义操作的其他分支,也会执行此操作。