Onrelease

處理電話結束,專門用於透過電郵傳送語音郵件或將通話資料傳送到資料庫或網站。

Dependencies

  • Onrelease是一個event action
  • 當來電者、客服專員或 Hangup action掛斷電話時,將釋放聯絡並終止指令碼。
  • 當來電者、客服專員或 Hangup 動作掛斷電話,且指令碼中有 Onrelease 事件時,指令碼不會立即終止,而是繼續執行,直到沒有後續動作,或執行了 StopHangup 動作為止。
  • 媒體 — Onrelease 事件後,不允許執行特定動作(例如Play, Menu, or Record)。 Runsub and Runscript 動作不應在 Onrelease 動作後。
  • 要處理通話聯絡人,CXone 將使用語音通訊埠。釋放通話後(即,已完成),CXone 使用其他通訊埠(如果一個通訊埠可用)來處理結束電話。如果沒有可用的其他通訊埠,CXone 繼續使用語音通訊埠。
  • 出於疑難排解目的,當您在 Studio中執行除錯器時,SS7 原因碼自動填充 _CALLRESULT_CAUSECODE_CAUSECODECATEGORYID 變數以表明通話釋放的原因。
  • 一個指令碼中只能有一個 Onrelease 事件動作。

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.

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

一般

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

Input Properties

這些屬性定義了動作執行時使用的資料。

屬性

描述

標題

輸入在指令碼中唯一標識此操作的短語。標題出現在指令碼畫布上的動作圖示下。The default is the action name.

CauseCode

變數名稱將儲存原因碼。原因碼是出現錯誤時由電話運營商傳送的數值。如果未輸入任何值,變數將預設為 p1。

CallResult

未使用。

Result Branch Conditions

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

條件

描述

Default

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