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

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

@@ -582,7 +582,7 @@ class OutboundClient:
 
         def answer(self, con, call_id, device_id, timeouts=30):
             con.execute("answer", "", device_id)
-            con.execute("uuid_setvar", f"{device_id} {sipHeaderCallId} {call_id}")
+            con.execute("bgapi", f"uuid_setvar {device_id} {sipHeaderCallId} {call_id}", device_id)
             con.execute("playback", HOLD_MUSIC_PATH, device_id)
 
             delay_action = DelayAction(call_id=call_id)