shanghui 3 сар өмнө
parent
commit
b005f56eec

+ 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):