DavidLiu 3 months ago
parent
commit
da9b0b8738
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/core/callcenter/esl/client.py

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

@@ -233,7 +233,8 @@ class InboundClient:
             # self.logger.info("拨打测试builder:%s", builder)
         cmd = "".join(builder)
         self.logger.info(cmd)
-        self.con.bgapi(ORIGINATE, cmd)
+        self.bgapi(ORIGINATE, arg=cmd, desc="make_call_new")
+        # self.con.bgapi(ORIGINATE, cmd)
 
     def call_timeout(self, call_id, device_id, timeout):
         """呼叫超时主动挂机"""
@@ -306,7 +307,8 @@ class InboundClient:
             smf
         ]
         command = ' '.join(builder)
-        self.con.bgapi(command, EMPTY)
+        self.bgapi(command, desc="broadcast")
+        # self.con.bgapi(command, EMPTY)
 
     def break0(self, uuid, all=False, sync=True):
         builder = [