davidliu vor 4 Monaten
Ursprung
Commit
3bbd539241
2 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 1 0
      src/core/callcenter/acd.py
  2. 1 0
      src/core/voip/bot.py

+ 1 - 0
src/core/callcenter/acd.py

@@ -30,6 +30,7 @@ class AcdService:
         self.checkIdleScheduler.start()
 
     def transfer_to_agent(self, call_id, device_id, service_id):
+        print("111111")
         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:

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

@@ -551,6 +551,7 @@ class BotAgent:
     def transfer(self, user_part, call_id, device_id, service_id='00000000000000000'):
         print(f"Transfer {user_part} to {call_id}", flush=True)
         if self.acd_service:
+            print(f"Transfer {user_part} to {call_id}, come in ", flush=True)
             self.acd_service.transfer_to_agent(call_id, device_id, service_id)
         # sip_headers = {'P-LIBRA-HangUpReason': 'transferToAgent', 'P-LIBRA-ServiceId': service_id}
         try_count = 100