DavidLiu il y a 4 mois
Parent
commit
0dc12b1c60
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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)
 
     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()
         params = {'gateway': context.route_gateway_name, 'called': called, 'realm': context.get_realm()}
 
@@ -217,7 +217,7 @@ class InboundClient:
         else:
             profile = self.expression(profile2, params)
             builder.append(f"{profile}{PARK}")
-            self.logger.info("拨打测试builder:%s", builder)
+            # self.logger.info("拨打测试builder:%s", builder)
         cmd = "".join(builder)
         self.logger.info(cmd)
         self.con.bgapi(ORIGINATE, cmd)