Files
asterisk/res/res_pjsip
George Joseph 8fc3df467e security_agreement.c: Always add the Require and Proxy-Require headers
The `Require: mediasec` and `Proxy-Require: mediasec` headers need
to be sent whenever we send `Security-Client` or `Security-Verify`
headers but the logic to do that was only in add_security_headers()
in res_pjsip_outbound_register.  So while we were sending them on
REGISTER requests, we weren't sending them on INVITE requests.

This commit moves the logic to send the two headers out of
res_pjsip_outbound_register:add_security_headers() and into
security_agreement:ast_sip_add_security_headers().  This way
they're always sent when we send `Security-Client` or
`Security-Verify`.

Resolves: #789
(cherry picked from commit 1d9f43b5a5)
2024-07-11 13:22:18 +00:00
..
2021-11-18 12:46:12 -06:00
2022-03-24 12:01:32 -05:00
2021-12-03 12:12:02 -06:00
2021-11-15 15:41:51 -06:00
2021-11-15 15:41:51 -06:00