本頁面說明 Contact Center AI Platform (CCAI Platform) 可匯出至品質管理 (QM) 應用程式的通話工作階段事件資料。如要進一步瞭解如何將 CCAI Platform 與 QM 應用程式整合,請參閱「QM、SIPREC 和 WFM 整合」。
如要瞭解即時通訊工作階段事件資料,請參閱「QM 即時通訊工作階段事件資料」。
呼叫工作階段事件和觸發條件
特定通話工作階段事件會觸發通話工作階段資料匯出至 QM 應用程式。本節列出通話事件類型,以及觸發各類型的動作。此外,每個工作階段事件類型也包含工作階段事件酬載範例。
代理程式登入
下列動作會觸發這項事件:
客服人員使用 Contact Center AI 平台入口網站登入客服人員介面卡。
服務專員使用 CRM 登入服務專員轉接程式。
以下程式碼範例顯示事件酬載:
{
"type" : "AgentState",
"item" : {
"ParticipantID" : "1234",
"Email" : "some.email@domain.com",
"State" : "login"
}
}
服務專員登出
下列動作會觸發這項事件:
服務專員使用 Contact Center AI 平台入口網站登出服務專員介面卡。
服務專員使用 CRM 登出服務專員轉接程式。
以下程式碼範例顯示事件酬載:
{
"type" : "AgentState",
"item" : {
"ParticipantID" : "1234",
"Email" : "some.email@domain.com",
"State" : "logout"
}
}
預計來電
使用者撥打電話給聯絡中心,且電話轉接給服務專員時,系統會觸發這個事件。
只有在通話投影至 Deltacast 時,才會觸發這項事件。多點傳播投影不會觸發事件。只有連鎖群組中呼叫的第一個 deltacast 投影會觸發事件。
這類事件包括透過轉接、重新導向和轉移接聽的通話預測。
以下程式碼範例顯示事件酬載:
{
"type" : "CallState",
"item" : {
"CallID" : "846802bf90d1",
"State" : "ringing",
"Direction" : "incoming",
"Initiator" : "+123456789",
"Queue_path_ids": "1/2/3",
"Queue_path_names" : "support/orders/status",
"Language" : "en",
"Queue_uuid" : 3,
"Recording_permitted" : true,
"Participants" :
[
{
"ParticipantID" : "+123456789",
"Type" : "external",
"State" : "connected"
},
{
"ParticipantID" : "1234",
"Type" : "agent",
"State" : "ringing"
}
],
"MediaID" : "208188811_124248155@67.231.1.110"
}
}
接聽來電
當服務專員接聽預計來電時,系統會觸發這項事件。
無論是 delta 投射或多播投射,只要服務專員接聽電話,就會觸發這個事件。這項事件適用於透過來電轉接和轉移接聽的來電。
以下程式碼範例顯示事件酬載:
{
"type" : "CallState",
"item" : {
"CallID" : "846802bf90d1",
"State" : "connected",
"Direction" : "incoming",
"Initiator" : "+123456789",
"Queue_path_ids": "1/2/3",
"Queue_path_names" : "support/orders/status",
"Language" : "en",
"Queue_uuid" : 3,
"Recording_permitted" : true,
"Participants" :
[
{
"ParticipantID" : "+123456789",
"Type" : "external",
"State" : "connected"
},
{
"ParticipantID" : "1234",
"Type" : "agent",
"State" : "connected"
}
],
"MediaID" : "208188811_124248155@67.231.1.110"
}
}
撥出的電話正在響鈴
下列動作會觸發這項事件:
代理程式撥打新的外撥電話,使用者正在接聽電話。
服務專員撥打新增參與者電話,且電話正在響鈴。
以下程式碼範例顯示事件酬載:
{
"type" : "CallState",
"item" : {
"CallID" : "e9dd62bb",
"State" : "dialing",
"Direction" : "outgoing",
"Initiator" : "+123456789",
"Queue_path_ids": "1/2/3",
"Queue_path_names" : "support/orders/status",
"Language" : "en",
"Queue_uuid" : 3,
"Recording_permitted" : true,
"Participants" :
[
{
"ParticipantID" : "1234",
"Type" : "agent",
"State" : "connected"
},
{
"ParticipantID" : "+123456789",
"Type" : "external",
"State" : "connected"
}
],
"MediaID" : "208188811_124248155@67.231.1.110"
}
}
外撥電話已接通
下列動作會觸發這項事件:
使用者接聽撥出電話。
第三方接聽新增的通話。
以下程式碼範例顯示事件酬載:
{
"type" : "CallState",
"item" : {
"CallID" : "e9dd62bb",
"State" : "connected",
"Direction" : "outgoing",
"Initiator" : "+123456789",
"Queue_path_ids": "1/2/3",
"Queue_path_names" : "support/orders/status",
"Language" : "en",
"Queue_uuid" : 3,
"Recording_permitted" : true,
"Participants" :
[
{
"ParticipantID" : "1234",
"Type" : "agent",
"State" : "connected"
},
{
"ParticipantID" : "+123456789",
"Type" : "external",
"State" : "connected"
}
],
"MediaID" : "208188811_124248155@67.231.1.110"
}
}
通話已保留
下列動作會觸發這項事件:
服務專員將使用者設為暫緩執行。
代理人將第三方暫時保留。
以下程式碼範例顯示事件酬載:
"type" : "CallState",
"item" : {
"CallID" : "846802bf90d1",
"State" : "held",
"Direction" : "incoming",
"Initiator" : "+123456789",
"Queue_path_ids": "1/2/3",
"Queue_path_names" : "support/orders/status",
"Language" : "en",
"Queue_uuid" : 3,
"Recording_permitted" : true,
"Participants" :
[
{
"ParticipantID" : "+123456789",
"Type" : "external",
"State" : "held"
},
{
"ParticipantID" : "1234",
"Type" : "agent",
"State" : "connected"
}
],
"MediaID" : "208188811_124248155@67.231.1.110"
}
}
通話已取消保留
下列動作會觸發這項事件:
服務專員將使用者從保留狀態移除。
服務專員將第三方從暫停通話狀態移除。
以下程式碼範例顯示事件酬載:
{
"type" : "CallState",
"item" : {
"CallID" : "846802bf90d1",
"State" : "connected",
"Direction" : "incoming",
"Initiator" : "+123456789",
"Queue_path_ids": "1/2/3",
"Queue_path_names" : "support/orders/status",
"Language" : "en",
"Queue_uuid" : 3,
"Recording_permitted" : true,
"Participants" :
[
{
"ParticipantID" : "+123456789",
"Type" : "external",
"State" : "connected"
},
{
"ParticipantID" : "1234",
"Type" : "agent",
"State" : "connected"
}
],
"MediaID" : "208188811_124248155@67.231.1.110"
}
}
啟動並接受冷轉接
下列動作會觸發這項事件:
服務專員向其他服務專員發起無預警轉接通話,且轉接要求已獲接受。
服務專員向其他佇列發起冷轉接通話,且該佇列的服務專員接受轉接。
服務專員冷邀請另一位服務專員加入電話會議,而另一位服務專員接受並加入電話會議。
以下程式碼範例顯示事件酬載:
{
"type" : "CallState",
"item" : {
"CallID" : "846802bf90d1",
"State" : "transferred",
"Direction" : "incoming",
"Initiator" : "+123456789",
"Queue_path_ids": "1/2/3",
"Queue_path_names" : "support/orders/status",
"Language" : "en",
"Queue_uuid" : 3,
"Recording_permitted" : true,
"Participants" :
[
{
"ParticipantID" : "+123456789",
"Type" : "external",
"State" : "connected"
},
{
"ParticipantID" : "4321",
"Type" : "agent",
"State" : "connected"
}
],
"MediaID" : "208188811_124248155@67.231.1.110"
}
}
發起並接受溫轉
下列動作會觸發這項事件:
服務專員向其他服務專員發起溫和轉接通話,且轉接要求已獲接受。
服務專員撥打溫和轉接電話給其他佇列,而該佇列的服務專員接受轉接。
服務專員向其他服務專員發出通話會議邀請,對方接受並加入通話會議。
以下程式碼範例顯示事件酬載:
{
"type" : "CallState",
"item" : {
"CallID" : "846802bf90d1",
"State" : "conferenced",
"Direction" : "incoming",
"Initiator" : "+123456789",
"Queue_path_ids": "1/2/3",
"Queue_path_names" : "support/orders/status",
"Language" : "en",
"Queue_uuid" : 3,
"Recording_permitted" : true,
"Participants" :
[
{
"ParticipantID" : "+123456789",
"Type" : "external",
"State" : "connected"
},
{
"ParticipantID" : "1234",
"Type" : "agent",
"State" : "connected"
},
{
"ParticipantID" : "4321",
"Type" : "agent",
"State" : "connected"
}
],
"MediaID" : "208188811_124248155@67.231.1.110"
}
}
服務專員退出電話會議
當通話會議中的服務專員離開通話會議,但未結束會議時,系統會觸發這項事件。
以下程式碼範例顯示事件酬載:
{
"type" : "CallState",
"item" : {
"CallID" : "846802bf90d1",
"State" : "participantDisconnect",
"Direction" : "incoming",
"Initiator" : "+123456789",
"Queue_path_ids": "1/2/3",
"Queue_path_names" : "support/orders/status",
"Language" : "en",
"Queue_uuid" : 3,
"Recording_permitted" : true,
"Participants" :
[
{
"ParticipantID" : "+123456789",
"Type" : "external",
"State" : "connected"
},
{
"ParticipantID" : "1234",
"Type" : "agent",
"State" : "disconnected"
},
{
"ParticipantID" : "4321",
"Type" : "agent",
"State" : "connected"
}
],
"MediaID" : "208188811_124248155@67.231.1.110"
}
}
通話已設為靜音
下列動作會觸發這項事件:
服務專員將通話設為靜音。
服務專員將通話中的其他參與者設為靜音。
這項事件適用於所有通話。
以下程式碼範例顯示事件酬載:
{
"type" : "CallState",
"item" : {
"CallID" : "846802bf90d1",
"State" : "connected",
"Direction" : "incoming",
"Initiator" : "+123456789",
"Queue_path_ids": "1/2/3",
"Queue_path_names" : "support/orders/status",
"Language" : "en",
"Queue_uuid" : 3,
"Recording_permitted" : true,\
"Participants" :
[
{
"ParticipantID" : "+123456789",
"Type" : "external",
"State" : "connected"
},
{
"ParticipantID" : "1234",
"Type" : "agent",
"State" : "muted"
},
{
"ParticipantID" : "4321",
"Type" : "agent",
"State" : "muted"
}
],
"MediaID" : "208188811_124248155@67.231.1.110"
}
}
通話已取消靜音
下列動作會觸發這項事件:
服務專員取消通話靜音。
服務專員在通話中取消其他參與者的靜音。
這項事件適用於所有通話。
以下程式碼範例顯示事件酬載:
{
"type" : "CallState",
"item" : {
"CallID" : "846802bf90d1",
"State" : "connected",
"Direction" : "incoming",
"Initiator" : "+123456789",
"Queue_path_ids": "1/2/3",
"Queue_path_names" : "support/orders/status",
"Language" : "en",
"Queue_uuid" : 3,
"Recording_permitted" : true,
"Participants" :
[
{
"ParticipantID" : "+123456789",
"Type" : "external",
"State" : "connected"
},
{
"ParticipantID" : "1234",
"Type" : "agent",
"State" : "unmuted"
},
{
"ParticipantID" : "4321",
"Type" : "agent",
"State" : "unmuted"
}
],
"MediaID" : "208188811_124248155@67.231.1.110"
}
}
通話已編輯
當服務專員編輯通話內容時,系統會觸發這項事件。
以下程式碼範例顯示事件酬載:
{
"type" : "CallState",
"item" : {
"CallID" : "846802bf90d1",
"State" : "connected",
"Direction" : "incoming",
"Initiator" : "+123456789",
"Queue_path_ids": "1/2/3",
"Queue_path_names" : "support/orders/status",
"Language" : "en",
"Queue_uuid" : 3,
"Recording_permitted" : true,
"Participants" :
[
{
"ParticipantID" : "+123456789",
"Type" : "external",
"State" : "redacted"
},
{
"ParticipantID" : "1234",
"Type" : "agent",
"State" : "redacted"
}
],
"MediaID" : "208188811_124248155@67.231.1.110"
}
}
通話未經過編輯
當服務專員取消通話內容的遮蓋時,就會觸發這項事件。
以下程式碼範例顯示事件酬載:
{
"type" : "CallState",
"item" : {
"CallID" : "846802bf90d1",
"State" : "connected",
"Direction" : "incoming",
"Initiator" : "+123456789",
"Queue_path_ids": "1/2/3",
"Queue_path_names" : "support/orders/status",
"Language" : "en",
"Queue_uuid" : 3,
"Recording_permitted" : true,
"Participants" :
[
{
"ParticipantID" : "+123456789",
"Type" : "external",
"State" : "unredacted"
},
{
"ParticipantID" : "1234",
"Type" : "agent",
"State" : "unredacted"
}
],
"MediaID" : "208188811_124248155@67.231.1.110"
}
}
通話已結束
下列動作會觸發這項事件:
使用者結束通話。
服務專員結束通話。
這項事件適用於所有通話。
以下程式碼範例顯示來電事件的酬載:
{
"type" : "CallState",
"item" : {
"CallID" : "846802bf90d1",
"State" : "disconnected",
"Direction" : "incoming",
"Initiator" : "+123456789",
"Queue_path_ids": "1/2/3",
"Queue_path_names" : "support/orders/status",
"Language" : "en",
"Queue_uuid" : 3,
"Recording_permitted" : true,
"Participants" :
[
{
"ParticipantID" : "+123456789",
"Type" : "external",
"State" : "disconnected"
},
{
"ParticipantID" : "1234",
"Type" : "agent",
"State" : "disconnected"
}
],
"MediaID" : "208188811_124248155@67.231.1.110"
}
}
以下程式碼範例顯示撥出電話事件的酬載:
{
"type" : "CallState",
"item" : {
"CallID" : "e9dd62bb",
"State" : "disconnected",
"Direction" : "outgoing",
"Initiator" : "1234",
"Participants" :
[
{
"ParticipantID" : "1234",
"Type" : "agent",
"State" : "disconnected"
},
{
"ParticipantID" : "+123456789",
"Type" : "external",
"State" : "disconnected"
}
],
"MediaID" : "208188811_124248155@67.231.1.110"
}
}
通話工作階段事件欄位
下表說明 Contact Center AI Platform 匯出至 QM 應用程式的通話記錄資料欄位。
一般欄位
| 欄位名稱 | 允許值 | 說明 | 效果 |
|---|---|---|---|
type |
|
整體 JSON 酬載的事件類型。 |
|
|
含有活動資訊的物件。 |
代理程式狀態欄位
| 欄位名稱 | 值 | 說明 | 行為 |
|---|---|---|---|
|
服務專員 ID |
可在 Contact Center AI 平台系統中的服務專員 ID。 |
|
|
電子郵件地址 |
可在 服務專員的電子郵件地址。 |
|
|
|
可在 事件發生時代理程式的狀態。 |
|
通話狀態欄位
| 欄位名稱 | 值 | 說明 | 行為 |
|---|---|---|---|
|
通話 ID |
可在 Contact Center AI 平台系統中的通話工作階段 ID。 |
|
|
|
可在 通話工作階段的目前狀態。 |
|
|
|
可在 從聯絡中心角度來看,通話工作階段的方向。 |
|
|
|
可在 初始化通話狀態的當事人 ID。 |
|
|
佇列 ID 路徑 |
可在 通話轉接給第一位服務專員前,使用者瀏覽的佇列路徑。 這個值是使用導覽佇列的佇列 ID 建構而成。 |
這項功能僅適用於接聽來電。 |
|
佇列名稱路徑 |
可在 通話轉接給第一位服務專員前,使用者瀏覽的佇列路徑。 這個值是使用導覽佇列的佇列名稱建構而成。 |
這項功能僅適用於接聽來電。 |
|
語言代碼 |
可在 使用者所選語言的語言代碼。 |
這項功能僅適用於接聽來電。 |
|
佇列 ID |
可在 通話抵達佇列的 UUID。 |
這項功能僅適用於來電和轉接至佇列的通話。 |
|
一個布林值 |
可在 指出是否允許錄製特定通話 |
|
|
自訂標頭 |
可在 這個欄位用於傳遞自訂資料,例如 SIP 標頭 |
|
|
這個物件會巢狀內嵌在 包含通話參與者資訊的物件。 |
||
|
|
可在 通話參與者的 ID。 |
在 Contact Center AI Platform 工作階段中繼資料的
在 Contact Center AI Platform 會議中繼資料的參與者物件中,傳遞
傳遞使用者的電話號碼 (如有)。 否則,會將
傳遞第三方電話號碼 (如有)。 否則,會傳遞值: |
|
|
可在 通話參與者類型。 |
|
|
|
可在 參與者在電話會議中的目前狀態。 |
|
|
|
可在 電信業者提供的通話工作階段媒體 ID。 |
|