|
@@ -368,8 +368,7 @@ class MyCall(pj.Call):
|
|
|
registry.BOT_INTERACTION_ROUNDS.labels(self.taskId).observe(self.inter_action_total)
|
|
|
|
|
|
def release(self):
|
|
|
- # self.agent.hangup(self.user_part)
|
|
|
-
|
|
|
+ self.logger.info('liuwei::debugger::release:: come in ')
|
|
|
if self.audio_port:
|
|
|
# self.audio_port.stopTransmit()
|
|
|
self.audio_port = None # 或调用相关销毁方法
|
|
@@ -382,7 +381,8 @@ class MyCall(pj.Call):
|
|
|
|
|
|
# self.asr.close()
|
|
|
# 远程挂机之后要将分机号回收
|
|
|
- self.agent.release(self.user_part)
|
|
|
+ self.agent.hangup(self.user_part)
|
|
|
+ # self.agent.release(self.user_part)
|
|
|
self.end_statistics()
|
|
|
|
|
|
class ToTextBotAgent:
|