余尚辉 před 3 měsíci
rodič
revize
2321e430d6

+ 1 - 1
src/core/callcenter/esl/handler/channel_answer_handler.py

@@ -166,7 +166,7 @@ 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
+        device.record = _record_url
         self.logger.info("luyincall:%s, device:%s" % (call, device))
         self.cache.add_call_info(call)
         return _record_url