|
@@ -150,7 +150,7 @@ class AgentOperService:
|
|
|
if agent_monitor.service_state == AgentServiceState.CALLING.code or agent_monitor.service_state == AgentServiceState.DIALING.code:
|
|
|
raise BizException(BizErrorCode.AGENT_CALLING_NOT_HANG)
|
|
|
|
|
|
- if scene == AgentScene.MANUAL.code:
|
|
|
+ if scene == AgentScene.ROBOT.code:
|
|
|
self.agent_state_service.idle(agent.saas_id, agent.out_id, agent.phone_num)
|
|
|
else:
|
|
|
self.agent_state_service.busy(agent.saas_id, agent.out_id, agent.phone_num)
|