|
@@ -31,11 +31,11 @@ class AcdService:
|
|
|
|
|
|
def transfer_to_agent(self, call_id, device_id, service_id, user_part):
|
|
|
call_info = self.cache.get_call_info(call_id)
|
|
|
+ self.logger.info('debugger::transfer_to_agent, come in, call_id:%s, call_info:%s'%call_id, call_info)
|
|
|
if not call_info:
|
|
|
return
|
|
|
call_info.answer_flag = AnswerFlag.TRANSFER_TO_AGENT.code
|
|
|
self.cache.add_call_info(call_info)
|
|
|
- self.logger.info('debugger::transfer_to_agent, come in ')
|
|
|
# 1. hold住并且播放等待音
|
|
|
if self.call_service.hold(call_info, device_id):
|
|
|
self.client.bot_agent.self.hangup(user_part)
|