|
@@ -19,7 +19,7 @@ class ChannelOriginateHandler(EslEventHandler):
|
|
|
device_id = EslEventUtil.getDeviceId(event)
|
|
|
call = self.cache.get_call_info(call_id)
|
|
|
device = call.device_info_map.get(device_id)
|
|
|
- self.logger.info('ChannelOriginateHandler::device_id: %s, device:%s ', device_id, device)
|
|
|
+ self.logger.info('ChannelOriginateHandler::event %s, device.device_type: %s, DeviceType.AGENT.code:%s ', event,device.device_type, DeviceType.AGENT.code)
|
|
|
if device.device_type == DeviceType.AGENT.code: # 如果是坐席接听 变更坐席状态
|
|
|
self.push_handler.push_on_call_ring(call.saas_id,call.cti_flow_id,call.agent_key,AgentScene.ROBOT,call.call_id, call.called,call.caller, "00000000000000000")
|
|
|
self.push_handler.push_on_agent_work_report(call.saas_id, call.cti_flow_id,call.agent_key,call.call_id,AgentScene.ROBOT, WorkStatus.AGENT_RINGING)
|