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

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

@@ -30,7 +30,6 @@ 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:

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

@@ -549,9 +549,7 @@ class BotAgent:
             self.ep.libHandleEvents(100)
 
     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