LINK
此帮助页面适用于 Studio。 此信息也适用于 Desktop Studio。
|
|
将两个独立的呼叫者在呼入或呼出电话中连接起来,并将其语音路径链接在一起。 Link 操作的一些常见应用程序包括:
Link 操作的一个常见示例发生在呼入脚本执行 Spawn 操作来启动另一个脚本时。 生成的脚本会向呼叫者播放语音提示。 新脚本与启动它的脚本并行执行,然后可执行 Placecall 操作。 一旦目标方应答,脚本可使用 Link 操作连接双方。 |
支持的脚本类型
|
|
| 电话 |
类似操作比较
使用 Link 操作的脚本与使用
- Transfer:允许联系人听到电话铃声,直到呼叫被接听。
- Link:允许在通话过程中播放音乐或查找 1 个号码等。使用 Link 时,呼出电话需要单独的 Scripts。
输入属性
这些属性定义操作在执行时使用的数据。
|
属性 |
说明 |
|---|---|
|
添加说明文字 |
输入在脚本中唯一标识此操作的短语。 标题显示在脚本画布上的操作图标下方。 |
| 目标通话 ID |
The contact ID |
| 源永久 |
A true or false drop down list. The selection for this property determines whether the calling party will stay up after the callers disconnect. When True is selected, it prevents the destination leg |
| 目标永久 | A true or false drop down list. The selection for this property determines whether the called party will stay up after the callers disconnect. When True is selected, it prevents the source leg of the call (or calling party) from dropping the destination leg of the call when it hangs up. Use with caution. The default is False. |
结果分支条件
结果分支条件允许您在脚本中创建分支,以在执行操作时处理不同的结果。
|
条件 |
说明 |
|---|---|
|
默认 |
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. |
|
错误 |
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. |
提示和技巧
- 结合Spawn和Placecall,Link操作使您能够开发复杂的双方脚本和高级呼叫解决方案。源永久和目标永久属性允许呼叫的一方在另一方断开连接时仍保持连接状态。
- Link 不限于呼出呼叫。 也可以连接两个呼入呼叫。 需要的唯一条件是呼叫方或被叫方的唯一联系人 ID
分配给每个联系人的唯一数字标识符。。 使用 Link 连接在一起的呼叫也可以取消连接。 请参阅断开连接以了解更多信息。