DavidLiu 4 місяців тому
батько
коміт
0dc12b1c60
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      src/core/callcenter/esl/client.py

+ 2 - 2
src/core/callcenter/esl/client.py

@@ -203,7 +203,7 @@ class InboundClient:
                              device_id, HOLD_MUSIC_PATH)
                              device_id, HOLD_MUSIC_PATH)
 
 
     def make_call_new(self, context: MakeCallContext):
     def make_call_new(self, context: MakeCallContext):
-        self.logger.info("拨打测试context:%s", context.__dict__)
+        # self.logger.info("拨打测试context:%s", context.__dict__)
         called = context.get_called()
         called = context.get_called()
         params = {'gateway': context.route_gateway_name, 'called': called, 'realm': context.get_realm()}
         params = {'gateway': context.route_gateway_name, 'called': called, 'realm': context.get_realm()}
 
 
@@ -217,7 +217,7 @@ class InboundClient:
         else:
         else:
             profile = self.expression(profile2, params)
             profile = self.expression(profile2, params)
             builder.append(f"{profile}{PARK}")
             builder.append(f"{profile}{PARK}")
-            self.logger.info("拨打测试builder:%s", builder)
+            # self.logger.info("拨打测试builder:%s", builder)
         cmd = "".join(builder)
         cmd = "".join(builder)
         self.logger.info(cmd)
         self.logger.info(cmd)
         self.con.bgapi(ORIGINATE, cmd)
         self.con.bgapi(ORIGINATE, cmd)