774056846 4 months ago
parent
commit
8d6edb65da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/voip/bot.py

+ 1 - 1
src/core/voip/bot.py

@@ -547,7 +547,7 @@ class BotAgent:
         call_op_param = pj.CallOpParam(True)
         call_op_param.statusCode = pj.PJSIP_SC_OK
         call_op_param.reason = reason
-        for k, v in sip_headers:
+        for k, v in sip_headers.items():
             call_op_param.headers.append(pj.SipHeader(f"sip_h_{k}", v))
         acc = self.accounts.get(user_part)
         if acc: