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

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

@@ -550,7 +550,7 @@ class BotAgent:
         call_op_param.txOption = pj.SipTxOption()
         _sip_headers = []
         for k, v in sip_headers.items():
-            _sip_headers.append(pj.SipHeader(hName=f"sip_h_{k}", hValue=v))
+            _sip_headers.append(pj.SipHeader(f"sip_h_{k}", v))
         call_op_param.txOption.headers = _sip_headers
 
         acc = self.accounts.get(user_part)