これは通話トリガー通知機能の説明です
基本使用方法
通話トリガーで通知アクションを選択 事前定義された通知内容(JSON形式)を入力 例: { "code": "call test" }
通知内容の説明
通話関連情報と事前定義された通知内容を通知します
通話関連情報
| パラメータ名 | 説明 | タイプ |
|---|---|---|
| call_id | call_id(同一顧客の一連の通話を一意に識別するID) | String |
| conversation_id | conversation_id(現在の通話のID) | Int |
| timestamp | 時間 | String |
| nick_name | 顧客名 | String |
| customer_phone | 顧客電話番号 | String |
| mobile_area | 地域 | String |
| display_number | 中継番号 | String |
| workflow | 通話タイプ(in:着信、out_callback: 双方向コールバック、 out_direct:発信ダイレクト、out_auto: 自動発信) | String |
| from_agent_id | ソース(高度な通話時の前のオペレーターID) | Int |
| call_result | 通話結果(詳細説明一) | String |
| is_leave_message | メッセージ有無(メッセージは通話録音内) | Boolean |
| total_time | 通話時間(秒) | Int |
| record_url | 通話録音URL | String |
| survey | 満足度評価 | String |
| outline_phone_number | 発信電話番号 | String |
| agent_id | オペレーターID | Int |
| customer_ring_at | 顧客側着信時間(例:2018-03-22 11:48:05 +0800) | String |
| agent_ring_at | オペレーター側着信時間 | String |
| customer_answer_at | 顧客応答時間 | String |
| agent_answer_at | オペレーター応答時間 | String |
| customer_hangup_at | 顧客側切断時間 | String |
| agent_hangup_at | オペレーター側切断時間 | String |
| agent_email | オペレーターメールアカウント | String |
| category | 高度な通話タイプ(詳細説明二) | String |
| task_name | タスク | String |
| queue_status | 待機状態 | String |
| queue_time | 待機時間 | Int |
| dtmf | DTMFキー | String |
| device_info | デバイスタイプ | String |
| drop_side | 通話切断側 | String |
| defeat_cause | 発信失敗理由 | String |
| multi_ring_count | 順次呼び出し | Int |
| relevent_agent | 関連オペレーター | 文字配列 |
| ivr_time | IVR時間(s) | Int |
詳細説明一:通話結果("顧客未応答"、"顧客応答"、"話中"、"電話オフライン"、"オペレーター未応答"、"オペレーター拒否"、"オペレーター応答"、"顧客即時切断"、"顧客切断"、"待機タイムアウト"、"待機放棄"、"キュー未選択")
詳細説明二:"normal"=> 通常通話; "transfer"=> 転送; "transfer_outline"=> 外線転送; "consult"=>相談; "consult_outline"=>相談(外線); "three_party"=>三者通話; "three_party_outline"=>三者通話(外線); "listening"=>監視; "barge_in"=>リーダー強制介入; "substitute"=>リーダー強制解除
事前定義内容
顧客がトリガーアクションで事前に設定した内容
プッシュ内容の例
{
"call_id":"d7d539d1-6023-4f63-b1c4-6a72262945ba",
"conversation_id":14583,
"agent_ring_at":"2018-03-22 11:48:00 +0800",
"agent_answer_at":"2018-03-22 11:48:05 +0800",
"agent_hangup_at":"2018-03-22 11:48:23 +0800",
"customer_ring_at":"2018-03-22 11:48:05 +0800",
"customer_answer_at":"2018-03-22 11:48:17 +0800",
"customer_hangup_at":"2018-03-22 11:48:23 +0800",
"timestamp":"2018-03-22 11:48:23 +0800",
"nick_name":"プッシュ例",
"mobile_area":"上海",
"workflow":"out_callback",
"category":"normal",
"from_agent_id":123,
"call_result":"顧客応答",
"is_leave_message":"false",
"total_time":6,
"survey":"評価不要",
"record_url":"http://ccrecords.alioss.udesk.cn/linapp/cc_recordings/20180322114821_1ac2d088945d.mp3OSSAccessKeyId=bPexlr6MCcadDhfu&Expires=1552455986&Signature=qeO7sY8bnnqUmlc%2FMEC4Fimdww0%3D",
"outline_phone_number":"",
"agent_id":73937,
"customer_phone":"13261998838",
"display_number":"01086465040",
"agent_email":"agent@email.cn",
"ivr_time":15,
"extend": {
"code": "call test"
}
}