LINK
此説明頁面適用於 Studio。 此資訊亦適用於 Desktop Studio。
|
|
將兩名獨立的來電者連接到一個呼入或呼出電話中,並將其語音路徑連結在一起。 一些常見的 Link 動作應用程式包括:
Link 動作的一個常見範例是呼入指令碼執行 Spawn 動作來發起另一個指令碼。 建置的指令碼將向呼叫者播放語音提示。 新指令碼與發起它的指令碼並行執行,然後可以執行 Placecall 動作。 目標方接聽後,指令碼就可以使用 Link 動作將雙方連線起來。 |
支援的程式碼類型
|
|
| 電話 |
類似動作比較
使用Link動作的程式碼,與使用
- Transfer:讓聯絡人在通話被接聽之前聽到電話鈴聲。
- Link:允許您在連結呼叫時播放音樂,或尋找 1 個號碼等。撥出呼叫在使用 Link 時需要個別的指令碼。
輸入屬性
這些屬性定義了動作執行時使用的資料。
|
屬性 |
描述 |
|---|---|
|
新增標題 |
Enter a short phrase that uniquely identifies this action in the script. The caption appears on the script canvas under the action icon. |
| 目的地聯絡 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. |
|
Error |
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 連結在一起的通話也可以取消連結。 請參閱取消連結以了解更多資訊。