Davidliu 2 months ago
parent
commit
b9c77d4078
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/core/callcenter/acd.py
  2. 1 1
      src/core/callcenter/esl/client.py

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

@@ -104,6 +104,6 @@ class AcdService:
         for call_id in tmp_arr:
             call_info_queue.put_nowait(call_id)
 
-    def wait_timeout(self, call_id, timeouts=30):
+    def wait_timeout(self, call_id, timeouts=120):
         delay_action = DelayAction(call_id=call_id)
         self.cache.add_delay_message(DelayActionEnum.ACD_TIMEOUT_PLAY.name, delay_action, timeouts)

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

@@ -601,7 +601,7 @@ class OutboundClient:
 
             return None
 
-        def answer(self, con, call_id, device_id, timeouts=30):
+        def answer(self, con, call_id, device_id, timeouts=120):
             con.execute("answer", "", device_id)
             # con.execute("bgapi", f"uuid_setvar {device_id} {sipHeaderCallId} {call_id}", device_id)
             con.execute("playback", HOLD_MUSIC_PATH, device_id)