shanghui 3 月之前
父节点
当前提交
b005f56eec
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/core/callcenter/esl/handler/channel_answer_handler.py

+ 3 - 0
src/core/callcenter/esl/handler/channel_answer_handler.py

@@ -160,6 +160,9 @@ class ChannelAnswerHandler(EslEventHandler):
                 _record_url = self.start_recording(device_id, get_record_file_name(call_id, CallStage.AGENT), call)
         else:
             _record_url = self.start_recording(device_id, get_record_file_name(call_id, CallStage.ALL), call)
+        device.record = _record_url
+        self.logger.info("luyincall:%s, device:%s" % (call, device))
+        self.cache.add_call_info(call)
         return _record_url
 
     def start_recording(self, device_id, file_name, call: CallInfo):