DavidLiu před 3 měsíci
rodič
revize
ece9d1f44f

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

@@ -120,8 +120,7 @@ class ChannelAnswerHandler(EslEventHandler):
         from_device_id = next_command.device_id
         device_id = EslEventUtil.getDeviceId(event)
         call.answer_flag = AnswerFlag.AGENT_ANSWER.code
-        if CallType.BOT_CALL.code == call.call_type:
-            registry.CALL_BOT_TRANSFER_REQUESTS.labels(f"{call.bucket_type}").inc()
+        registry.CALL_BOT_TRANSFER_REQUESTS.labels(f"{call.bucket_type}").inc()
 
         device_info = call.device_info_map.get(device_id)
         device_info.record = self.record(event, device_id)