774056846 4 months ago
parent
commit
2490986fb0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/voip/bot.py

+ 1 - 1
src/core/voip/bot.py

@@ -358,7 +358,7 @@ class MyCall(pj.Call):
             self.agent.hangup(self.user_part)
         elif action_code == 'transfer':  # 转人工
             print('todo 转人工')
-            sip_headers = {'sip_bye_h_X-CIN-HangUpReason':'transferToAgent'}
+            sip_headers = {'P-LIBRA-HangUpReason':'transferToAgent'}
             self.agent.hangup(self.user_part, **sip_headers)
 
 class ToTextBotAgent: