|
@@ -19,7 +19,7 @@ class DataHandleServer:
|
|
|
"service_category": service_category,
|
|
|
"user_id":user_id,
|
|
|
"user_name": user_name,
|
|
|
- 'status': 0
|
|
|
+ 'status': 1 if category==0 and call_type == 1 else 0 # 如果通话类型啥呼入并且走到ai 是接通状态 否则默认是未接通
|
|
|
}
|
|
|
call_record = CallRecord()
|
|
|
self.app.logger.info(f"创建通话记录: {call_info}")
|