|
@@ -112,7 +112,7 @@ class AgentEventService:
|
|
|
self.logger.info('agent_event_channel, event_name=%s, call_id=%s, device_id=%s, is_agent=%s', event_name, call_id, device_id, is_agent)
|
|
|
if call_id:
|
|
|
if self.cache.get_call_is_end(call_id):
|
|
|
- self.logger.warn("event service channel call is end {} {} {} {} {} {}", saas_id, event_name, caller, called, call_id, json.dumps(event.serialize('json')))
|
|
|
+ # self.logger.warn("event service channel call is end {} {} {} {} {} {}", saas_id, event_name, caller, called, call_id, json.dumps(event.serialize('json')))
|
|
|
return
|
|
|
|
|
|
self.agent_state_service.busy(saas_id, agent.agent_num, agent.phone_num)
|
|
@@ -171,13 +171,13 @@ class AgentEventService:
|
|
|
|
|
|
agent = self.data_handle_server.get_agent(saas_id, agent_num)
|
|
|
if not agent:
|
|
|
- self.logger.warn("bot event service channel agent is null %s %s %s %s %s", saas_id, event_name, caller, called,
|
|
|
- json.dumps(event.serialize('json')))
|
|
|
+ # self.logger.warn("bot event service channel agent is null %s %s %s %s %s", saas_id, event_name, caller, called,
|
|
|
+ # json.dumps(event.serialize('json')))
|
|
|
return
|
|
|
agent_monitor = self.data_handle_server.get_agent_monitor(saas_id, agent_num)
|
|
|
if not agent_monitor:
|
|
|
- self.logger.warn("bot event service channel agentMonitor is null %s %s %s %s %s", saas_id, event_name, caller,
|
|
|
- called, json.dumps(event.serialize('json')))
|
|
|
+ # self.logger.warn("bot event service channel agentMonitor is null %s %s %s %s %s", saas_id, event_name, caller,
|
|
|
+ # called, json.dumps(event.serialize('json')))
|
|
|
return
|
|
|
|
|
|
# 信道发起事件,触发完成发起(或桥)&& 坐席侧
|