|
@@ -142,7 +142,7 @@ class ChannelHangupHandler(EslEventHandler):
|
|
|
# 连续报警判断
|
|
|
self.hook_serial_warn(call_info)
|
|
|
self.cache.add_call_info(call_info, persistent=True)
|
|
|
- if CallType.INCOMING_BOT_CALL.code == call_info.call_type and device_info.device_type != DeviceType.ROBOT.code:
|
|
|
+ if device_info.device_type != DeviceType.ROBOT.code:
|
|
|
# 释放坐席接听锁
|
|
|
self.agent_state_service.handle_release_agent_lock(call_info.agent_key, SAAS_ID)
|
|
|
|