Onhold

掛斷通話時,會執行特定任務,例如播放音樂或語音訊息。

Dependencies

  • Onhold是一個event action
  • 沒有發生 Onhold 事件,如果來電者處於保留狀態(並且很可能掛斷通話),則他們將聽到無聲部分。
  • Onhold的最常用於播放音樂。
  • Onhold include Play, Playlog, and Menu.

Supported Script Types

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.

一般

電郵 聊天 電話 語音郵件 工作項目 SMS

Properties

None

Result Branch Conditions

結果分支條件允許您在指令碼中建立分支,以處理執行動作時的不同結果。

條件

描述

Default

指令碼未能滿足需要它採用其中一個分支的條件時採用的路徑。如果沒有定義動作的其他分支,也會採用該路徑。

Script Example

此範例不是一個完整的指令碼。使用此動作時需要額外的指令碼編寫工作。

In this script, you'll notice that Onhold is not connected to the main script, making it a standalone event. In this script, if a call is placed on hold, music will play until the call is taken off hold.

Download this script.