|
@@ -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:
|