From 29d027349c605bda0b7944301cd82a25ec9c1d7a Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 07 五月 2024 16:42:03 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/java/com/smartor/config/PhoneUtils.java | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/smartor/src/main/java/com/smartor/config/PhoneUtils.java b/smartor/src/main/java/com/smartor/config/PhoneUtils.java
index 122a7f7..f9ae78a 100644
--- a/smartor/src/main/java/com/smartor/config/PhoneUtils.java
+++ b/smartor/src/main/java/com/smartor/config/PhoneUtils.java
@@ -254,13 +254,33 @@
public String hangup(String kg_uuid, String dnis, String data, String app_id, String ani, String special_ch, String sign, String call_uuid) {
Map<String, Object> map = new HashMap<>();
map.put("kg_uuid", kg_uuid);
+ map.put("kg_file", kg_uuid);
+ map.put("dnis", dnis);
map.put("data", data);
map.put("app_id", app_id);
map.put("ani", ani);
map.put("special_ch", special_ch);
map.put("sign", sign);
- map.put("dnis", dnis);
map.put("call_uuid", call_uuid);
+ map.put("fs_node_id", "");
+
+
+// map.put("app_id", app_id);
+// map.put("kg_uuid", kg_uuid);
+// map.put("ani", ani);
+// map.put("dnis", dnis);
+// map.put("call_direction", call_direction_str);
+// map.put("hangup_cause", hangup_cause);
+// map.put("endpoint_disposition", endpoint_disposition);
+// map.put("wait_msec", wait_msec);
+// map.put("duration_msec", duration_msec);
+// map.put("answer_msec", answer_msec);
+// map.put("bill_msec", bill_msec);
+// map.put("start_stamp", start_stamp);
+// map.put("answered_stamp", answered_stamp);
+// map.put("end_stamp", end_stamp);
+// map.put("vad_total_talk_time_msec", vad_total_talk_time_msec);
+// map.put("time_stamp", time_stamp);
return sendReq(map, "/tel/ai_api/hangup");
}
--
Gitblit v1.9.3