DavidLiu před 3 měsíci
rodič
revize
125a4a6296
1 změnil soubory, kde provedl 0 přidání a 12 odebrání
  1. 0 12
      src/core/callcenter/esl/client.py

+ 0 - 12
src/core/callcenter/esl/client.py

@@ -558,18 +558,6 @@ class OutboundClient:
                     registry.CALL_INCOMING_REQUESTS.labels(f"{_bucket_call_type}").inc()
                     self.server.dataHandleServer.create_record(call_id, caller_number, _bucket_call_type, service_category=service_category, destination=destination)
 
-                    # destination = "user/1001"
-                    # msg = ESL.ESLevent("sendmsg", uuid)
-                    # msg.addHeader("call-command", "execute")
-                    # msg.addHeader("execute-app-name", "bridge")
-                    # msg.addHeader("execute-app-arg", destination)
-                    # # 发送消息以执行 bridge 操作
-                    # con.sendEvent(msg)
-                    # self.logger.info(f"Call {uuid} is bridged to {destination}")
-
-                    # con.execute("answer", "", uuid)
-
-                    # con.execute("transfer", "1001 XML default", uuid)
                     try:
                         con.disconnect()
                         self.server.logger.info("connection disconnected !!!")