George Joseph 1d9f43b5a5 
	
	
	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  
		
	 
		2024-07-08 13:55:27 +00:00 
	 
	
	
	
		 
	
	
		
			
			
			
			
			
			2023-04-03 07:12:13 -05:00 
		 
	
		
			
			
			
			
			
			2023-12-08 13:11:45 +00:00 
		 
	
		
			
			
			
			
			
			2024-03-20 12:47:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-03-21 18:55:16 +00:00 
		 
	
		
			
			
			
			
			
			2023-01-30 16:17:20 -05:00 
		 
	
		
			
			
			
			
			
			2023-07-12 17:39:01 +00:00 
		 
	
		
			
			
			
			
			
			2024-07-08 13:55:27 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-28 18:38:56 +00:00 
		 
	
		
			
			
			
			
			
			2024-04-29 13:02:04 +00:00 
		 
	
		
			
			
			
			
			
			2021-12-03 12:12:02 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2024-05-06 16:08:15 +00:00 
		 
	
		
			
			
			
			
			
			2022-03-23 18:07:53 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2023-04-03 07:12:13 -05:00 
		 
	
		
			
			
			
			
			
			2022-12-08 12:36:52 -06:00 
		 
	
		
			
			
			
			
			
			2022-04-26 15:35:52 -05:00 
		 
	
		
			
			
			
			
			
			2022-04-26 15:35:52 -05:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2021-11-18 16:02:22 -06:00 
		 
	
		
			
			
			
			
			
			2021-11-18 16:02:22 -06:00 
		 
	
		
			
			
			
			
			
			2021-11-18 16:02:22 -06:00 
		 
	
		
			
			
			
			
			
			2021-11-18 16:02:22 -06:00 
		 
	
		
			
			
			
			
			
			2021-11-18 16:02:22 -06:00 
		 
	
		
			
			
			
			
			
			2023-08-09 15:10:43 +00:00 
		 
	
		
			
			
			
			
			
			2021-11-18 16:02:22 -06:00 
		 
	
		
			
			
			
			
			
			2021-11-18 16:02:22 -06:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2021-11-18 16:02:22 -06:00 
		 
	
		
			
			
			
			
			
			2021-11-18 16:02:22 -06:00 
		 
	
		
			
			
			
			
			
			2021-11-18 16:02:22 -06:00 
		 
	
		
			
			
			
			
			
			2024-03-25 14:51:29 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
			
			
			
			
			
			2020-01-14 09:36:44 -06:00 
		 
	
		
			
			
			
			
			
			2024-06-07 16:24:25 +00:00 
		 
	
		
			
			
			
			
			
			2019-10-24 09:18:38 -05:00 
		 
	
		
			
			
			
			
			
			2019-10-24 09:18:38 -05:00 
		 
	
		
			
			
			
			
			
			2024-01-23 18:18:48 +00:00 
		 
	
		
			
			
			
			
			
			2023-04-03 07:06:00 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2021-12-03 12:12:02 -06:00 
		 
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
			
			
			
			
			
			2022-07-08 11:12:22 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2021-11-15 15:41:51 -06:00 
		 
	
		
			
			
			
			
			
			2021-12-03 12:12:02 -06:00 
		 
	
		
			
			
			
			
			
			2023-08-14 17:19:57 +00:00 
		 
	
		
			
			
			
			
			
			2023-08-14 17:19:57 +00:00 
		 
	
		
			
			
			
			
			
			2022-08-01 09:13:58 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-16 11:48:10 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2021-11-15 15:41:51 -06:00 
		 
	
		
			
			
			
			
			
			2023-06-12 17:20:28 +00:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-06-12 17:19:25 +00:00 
		 
	
		
			
			
			
			
			
			2024-04-01 20:18:53 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2021-03-10 04:22:18 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2021-03-10 04:22:18 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2021-06-10 16:30:22 -05:00 
		 
	
		
			
			
			
			
			
			2021-03-10 04:22:18 -06:00 
		 
	
		
			
			
			
			
			
			2021-03-10 04:22:18 -06:00 
		 
	
		
			
			
			
			
			
			2021-03-10 04:22:18 -06:00 
		 
	
		
			
			
			
			
			
			2021-03-10 04:22:18 -06:00 
		 
	
		
			
			
			
			
			
			2021-03-10 04:22:18 -06:00 
		 
	
		
			
			
			
			
			
			2022-07-12 07:50:56 -05:00 
		 
	
		
			
			
			
			
			
			2022-07-12 07:50:56 -05:00 
		 
	
		
			
			
			
			
			
			2020-11-20 13:51:34 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2022-12-08 21:31:01 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2023-03-06 11:19:49 -06:00 
		 
	
		
			
			
			
			
			
			2021-11-15 15:41:51 -06:00 
		 
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2024-03-11 17:53:30 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2023-06-29 15:15:06 +00:00 
		 
	
		
			
			
			
			
			
			2022-07-12 07:45:19 -05:00 
		 
	
		
			
			
			
			
			
			2019-04-23 17:40:15 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2021-12-03 12:12:02 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2021-02-25 08:45:49 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2023-12-06 21:19:15 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2021-11-18 16:25:23 -06:00 
		 
	
		
			
			
			
			
			
			2023-02-27 13:42:05 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2023-12-20 14:02:20 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2020-02-20 04:52:11 -06:00 
		 
	
		
			
			
			
			
			
			2022-12-13 10:53:07 -06:00 
		 
	
		
			
			
			
			
			
			2023-10-20 12:18:57 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-28 18:38:56 +00:00 
		 
	
		
			
			
			
			
			
			2023-12-08 13:11:45 +00:00 
		 
	
		
			
			
			
			
			
			2022-09-13 04:51:41 -05:00 
		 
	
		
			
			
			
			
			
			2022-09-13 04:51:41 -05:00 
		 
	
		
			
			
			
			
			
			2020-11-19 16:14:13 -06:00 
		 
	
		
			
			
			
			
			
			2023-10-27 15:52:42 +00:00 
		 
	
		
			
			
			
			
			
			2020-04-20 11:03:26 -05:00 
		 
	
		
			
			
			
			
			
			2022-09-13 04:51:41 -05:00 
		 
	
		
			
			
			
			
			
			2024-05-17 16:34:36 +00:00 
		 
	
		
			
			
			
			
			
			2023-10-20 12:18:57 +00:00 
		 
	
		
			
			
			
			
			
			2023-10-20 12:39:02 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2022-09-26 15:06:12 -05:00 
		 
	
		
			
			
			
			
			
			2023-12-14 18:48:32 +00:00 
		 
	
		
			
			
			
			
			
			2022-03-24 12:01:32 -05:00 
		 
	
		
			
			
			
			
			
			2024-05-01 20:42:29 +00:00 
		 
	
		
			
			
			
			
			
			2023-08-09 15:10:43 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2023-10-20 12:39:02 +00:00 
		 
	
		
			
			
			
			
			
			2024-01-08 17:26:20 +00:00 
		 
	
		
			
			
			
			
			
			2022-10-27 10:06:49 -05:00 
		 
	
		
			
			
			
			
			
			2020-04-20 11:03:26 -05:00 
		 
	
		
			
			
			
			
			
			2022-10-28 07:41:05 -05:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2024-07-08 13:55:27 +00:00 
		 
	
		
			
			
			
			
			
			2022-12-20 08:52:45 -06:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2020-12-16 09:21:36 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2021-11-18 12:46:12 -06:00 
		 
	
		
			
			
			
			
			
			2023-05-11 14:24:30 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2024-03-26 13:29:56 +00:00 
		 
	
		
			
			
			
			
			
			2022-03-24 12:01:32 -05:00 
		 
	
		
			
			
			
			
			
			2023-06-21 13:24:57 +00:00 
		 
	
		
			
			
			
			
			
			2023-05-02 15:19:57 +00:00 
		 
	
		
			
			
			
			
			
			2024-05-14 13:35:32 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2024-03-19 20:20:31 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-28 18:38:56 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2024-04-29 13:02:04 +00:00 
		 
	
		
			
			
			
			
			
			2024-01-30 19:06:33 +00:00 
		 
	
		
			
			
			
			
			
			2023-09-21 14:47:47 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2024-01-08 17:26:20 +00:00 
		 
	
		
			
			
			
			
			
			2022-01-17 09:40:23 -06:00 
		 
	
		
			
			
			
			
			
			2021-11-15 15:41:51 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2022-07-05 06:36:55 -05:00 
		 
	
		
			
			
			
			
			
			2019-05-20 20:33:58 -05:00 
		 
	
		
			
			
			
			
			
			2020-01-14 10:07:20 -06:00 
		 
	
		
			
			
			
			
			
			2021-03-16 10:31:16 -05:00 
		 
	
		
			
			
			
			
			
			2019-11-18 08:30:45 -06:00 
		 
	
		
			
			
			
			
			
			2024-05-14 13:35:32 +00:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2021-11-15 15:41:51 -06:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2021-11-15 15:41:51 -06:00 
		 
	
		
			
			
			
			
			
			2023-05-11 20:23:02 +00:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2023-10-05 14:36:10 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2023-12-08 13:11:45 +00:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2021-11-15 15:41:51 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2023-09-13 17:34:28 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2023-01-30 06:29:04 -06:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-10-10 17:17:58 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2021-08-03 08:18:12 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2024-02-28 18:38:56 +00:00 
		 
	
		
			
			
			
			
			
			2020-06-08 10:50:16 -05:00 
		 
	
		
			
			
			
			
			
			2021-12-03 12:12:02 -06:00 
		 
	
		
			
			
			
			
			
			2023-12-08 13:11:45 +00:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-10-10 12:04:52 -05:00 
		 
	
		
			
			
			
			
			
			2021-12-03 12:12:02 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2022-03-23 18:06:05 -05:00