asterisk/res
George Joseph a49bb17dbb res_rtp_asterisk: Fix regression issues with DTLS client check
* Since ICE candidates are used for the check and pjproject is
  required to use ICE, res_rtp_asterisk was failing to compile
  when pjproject wasn't available.  The check is now wrapped
  with an #ifdef HAVE_PJPROJECT.

* The rtp->ice_active_remote_candidates container was being
  used to check the address on incoming packets but that
  container doesn't contain peer reflexive candidates discovered
  during negotiation. This was causing the check to fail
  where it shouldn't.  We now check against pjproject's
  real_ice->rcand array which will contain those candidates.

* Also fixed a bug in ast_sockaddr_from_pj_sockaddr() where
  we weren't zeroing out sin->sin_zero before returning.  This
  was causing ast_sockaddr_cmp() to always return false when
  one of the inputs was converted from a pj_sockaddr, even
  if both inputs had the same address and port.

Resolves: #500
Resolves: #503
Resolves: #505
2023-12-20 08:47:02 -07:00
..
ael ael: Regenerate lexers and parsers. 2023-04-03 07:58:23 -05:00
ari rest-api: Run make ari-stubs 2023-09-06 18:21:30 +00:00
parking AMI: Add parking position parameter to Park action 2023-06-12 13:56:34 +00:00
prometheus res_prometheus: Do not generate broken metrics 2023-08-04 14:21:23 +00:00
res_aeap doxygen: Fix doxygen errors. 2023-01-31 11:23:11 -06:00
res_geolocation res_geolocation: Ensure required 'location_info' is present. 2023-07-12 17:39:11 +00:00
res_pjsip res_pjsip: Enable TLS v1.3 if present. 2023-08-04 14:20:56 +00:00
res_pjsip_session res_pjsip: Adjust outgoing offer call pref. 2020-10-13 11:10:56 -03:00
res_stir_shaken AST-2022-002 - res_stir_shaken/curl: Add ACL checks for Identity header. 2022-04-14 16:58:17 -05:00
snmp app_macro: Remove deprecated module. 2023-01-10 14:07:44 -06:00
srtp res_srtp: Add support for libsrtp2 with AES-GCM. 2017-10-18 03:34:56 -05:00
stasis res_stasis.c: Add new type 'sdp_label' for bridge creation. 2023-06-05 12:26:11 -06:00
stasis_recording stasis_recording: Perform a complete match on requested filename. 2022-03-23 18:08:17 -05:00
Makefile ael: Regenerate lexers and parsers. 2023-04-03 07:58:23 -05:00
ari.make Build System: Create Makefile macro MOD_ADD_SOURCE. 2015-04-14 12:53:03 -04:00
res.xml download_externals: Use HTTPS for downloads 2022-03-23 18:06:37 -05:00
res_adsi.c res_adsi: Fix major regression caused by media format rearchitecture. 2022-12-08 11:19:07 -06:00
res_aeap.c res_aeap & res_speech_aeap: Add Asterisk External Application Protocol 2022-04-26 14:26:48 -05:00
res_aeap.exports.in res_aeap & res_speech_aeap: Add Asterisk External Application Protocol 2022-04-26 14:26:48 -05:00
res_ael_share.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
res_ael_share.exports.in
res_agi.c res_agi: RECORD FILE plays 2 beeps. 2023-03-16 09:22:09 -05:00
res_agi.exports.in
res_ari.c documentation: Adds missing default attributes. 2022-02-23 13:26:22 -06:00
res_ari.exports.in Rename everything Stasis-HTTP to ARI 2013-07-27 23:11:02 +00:00
res_ari_applications.c res_ari: Fix for Doxygen. 2021-11-18 16:25:51 -06:00
res_ari_asterisk.c res_ari: Fix for Doxygen. 2021-11-18 16:25:51 -06:00
res_ari_bridges.c res_ari: Fix for Doxygen. 2021-11-18 16:25:51 -06:00
res_ari_channels.c res_ari: Fix for Doxygen. 2021-11-18 16:25:51 -06:00
res_ari_device_states.c res_ari: Fix for Doxygen. 2021-11-18 16:25:51 -06:00
res_ari_endpoints.c core/ari/pjsip: Add refer mechanism 2023-08-09 15:10:46 +00:00
res_ari_events.c res_ari: Fix for Doxygen. 2021-11-18 16:25:51 -06:00
res_ari_mailboxes.c res_ari: Fix for Doxygen. 2021-11-18 16:25:51 -06:00
res_ari_model.c modules: change module LOAD_FAILUREs to LOAD_DECLINES 2017-04-12 15:57:21 -06:00
res_ari_model.exports.in Rename everything Stasis-HTTP to ARI 2013-07-27 23:11:02 +00:00
res_ari_playbacks.c res_ari: Fix for Doxygen. 2021-11-18 16:25:51 -06:00
res_ari_recordings.c res_ari: Fix for Doxygen. 2021-11-18 16:25:51 -06:00
res_ari_sounds.c res_ari: Fix for Doxygen. 2021-11-18 16:25:51 -06:00
res_audiosocket.c audiosocket: Fix module menuselect descriptions 2020-09-22 09:02:20 -05:00
res_audiosocket.exports.in feat: AudioSocket channel, application, and ARI support. 2020-01-14 09:36:44 -06:00
res_calendar.c res_calendar: output busy state as part of show calendar. 2023-04-03 08:02:03 -05:00
res_calendar.exports.in
res_calendar_caldav.c time: add support for time64 libcs 2022-03-24 12:00:58 -05:00
res_calendar_ews.c res_calendar: Resolve memory leak on calendar destruction 2019-10-24 09:18:38 -05:00
res_calendar_exchange.c res_calendar: Resolve memory leak on calendar destruction 2019-10-24 09:18:38 -05:00
res_calendar_icalendar.c res_calendar_icalendar: Send user agent in request. 2022-06-30 18:32:10 -05:00
res_chan_stats.c res: Fix for Doxygen. 2021-12-03 10:38:39 -06:00
res_clialiases.c astobj2: Remove legacy ao2_container_alloc routine. 2018-11-21 09:56:16 -05:00
res_cliexec.c res_cliexec: Add dialplan exec CLI command. 2022-07-08 09:28:23 -05:00
res_clioriginate.c manager: Restore Originate failure behavior from Asterisk 11 2017-02-10 18:04:41 -05:00
res_config_curl.c res: Spelling fixes 2021-11-15 16:37:34 -06:00
res_config_ldap.c res: Fix for Doxygen. 2021-12-03 10:38:39 -06:00
res_config_odbc.c extconfig: Allow explicit DB result set ordering to be disabled. 2023-09-06 18:21:30 +00:00
res_config_pgsql.c extconfig: Allow explicit DB result set ordering to be disabled. 2023-09-06 18:21:30 +00:00
res_config_sqlite3.c general: Remove obsolete SVN references. 2022-08-01 11:06:37 -05:00
res_convert.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
res_corosync.c res: Spelling fixes 2021-11-15 16:37:34 -06:00
res_crypto.c res_crypto.c: Gracefully handle potential key filename truncation. 2023-06-12 17:20:31 +00:00
res_crypto.exports.in
res_curl.c Remove redundant module checks and references. 2018-01-24 13:37:29 -05:00
res_endpoint_stats.c loader: Add dependency fields to module structures. 2018-01-15 13:25:51 -05:00
res_fax.c app_macro: Remove deprecated module. 2023-01-10 14:07:44 -06:00
res_fax.exports.in res_fax: Provide AMI equivalents for fax CLI commands 2014-07-18 15:49:46 +00:00
res_fax_spandsp.c res_fax_spandsp.c: Clean up a spaces/tabs issue 2023-06-12 17:19:28 +00:00
res_format_attr_celt.c res_format_attr_*: Parameter Names are Case-Insensitive. 2021-03-10 04:22:36 -06:00
res_format_attr_g729.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
res_format_attr_h263.c res_format_attr_*: Parameter Names are Case-Insensitive. 2021-03-10 04:22:36 -06:00
res_format_attr_h264.c res_format_attr_h264.c: Make sure profile-level-id fmtp attribute is set 2018-12-13 17:03:59 -05:00
res_format_attr_ilbc.c menuselect: Fix description of several modules. 2021-06-10 16:30:28 -05:00
res_format_attr_opus.c res_format_attr_*: Parameter Names are Case-Insensitive. 2021-03-10 04:22:36 -06:00
res_format_attr_silk.c res_format_attr_*: Parameter Names are Case-Insensitive. 2021-03-10 04:22:36 -06:00
res_format_attr_siren7.c res_format_attr_*: Parameter Names are Case-Insensitive. 2021-03-10 04:22:36 -06:00
res_format_attr_siren14.c res_format_attr_*: Parameter Names are Case-Insensitive. 2021-03-10 04:22:36 -06:00
res_format_attr_vp8.c res_format_attr_*: Parameter Names are Case-Insensitive. 2021-03-10 04:22:36 -06:00
res_geolocation.c Geolocation: Core Capability Preview 2022-07-12 07:52:12 -05:00
res_geolocation.exports.in Geolocation: Core Capability Preview 2022-07-12 07:52:12 -05:00
res_hep.c res_hep: Add support for named capture agents. 2022-12-09 06:55:55 -06:00
res_hep.exports.in res_hep_{pjsip|rtcp}: Decline module loads if res_hep had not loaded 2016-06-08 12:32:02 -05:00
res_hep_pjsip.c loader: Sync load- and build-time deps. 2020-11-20 13:51:02 -06:00
res_hep_rtcp.c stasis: Add internal filtering of messages. 2018-11-18 15:08:16 -05:00
res_http_media_cache.c res_http_media_cache: Introduce options and customize 2023-03-06 12:16:24 -06:00
res_http_post.c res: Spelling fixes 2021-11-15 16:37:34 -06:00
res_http_websocket.c websocket / aeap: Handle poll() interruptions better. 2022-07-11 04:10:19 -05:00
res_http_websocket.exports.in res_http_websocket: Export symbol for ast_websocket_set_timeout 2014-06-26 18:27:53 +00:00
res_limit.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
res_manager_devicestate.c AST_MODULE_INFO: Format corrections to the usages of AST_MODULE_INFO macro. 2015-05-13 16:34:23 -05:00
res_manager_presencestate.c AST_MODULE_INFO: Format corrections to the usages of AST_MODULE_INFO macro. 2015-05-13 16:34:23 -05:00
res_musiconhold.c res_musiconhold: avoid moh state access on unlocked chan 2023-06-29 15:15:15 +00:00
res_mutestream.c general: Fix various typos. 2022-07-12 07:46:03 -05:00
res_mwi_devstate.c mwi core: Move core MWI functionality into its own files 2019-04-23 17:40:15 -05:00
res_mwi_external.c res: Fix for Doxygen. 2021-12-03 10:38:39 -06:00
res_mwi_external.exports.in External MWI core support. 2014-01-06 17:45:25 +00:00
res_mwi_external_ami.c Remove redundant module checks and references. 2018-01-24 13:37:29 -05:00
res_odbc.c time: add support for time64 libcs 2022-03-24 12:00:58 -05:00
res_odbc.exports.in res_odbc: Fix exports.in for missing symbols 2016-02-16 16:42:26 -06:00
res_odbc_transaction.c res_odbc_transaction: correctly initialise forcecommit value from DSN. 2021-02-25 08:45:30 -06:00
res_odbc_transaction.exports.in res_odbc: Remove connection management 2016-01-22 11:59:06 -06:00
res_parking.c parking: Fix for Doxygen. 2021-11-18 16:59:26 -06:00
res_phoneprov.c res_phoneprov.c: Multihomed SERVER cache prevention 2023-02-27 13:00:01 -06:00
res_phoneprov.exports.in res_phoneprov: Refactor phoneprov to allow pluggable config providers 2014-10-09 17:46:23 +00:00
res_pjproject.c res_rtp_asterisk: Fix regression issues with DTLS client check 2023-12-20 08:47:02 -07:00
res_pjproject.exports.in res_pjproject: Add utility functions to convert between socket structures 2018-09-06 13:30:12 -05:00
res_pjsip.c res_pjsip.c: Set contact_user on incoming call local Contact header 2023-09-06 18:21:30 +00:00
res_pjsip.exports.in res_pjsip: Add utils for checking media types 2022-01-17 08:25:58 -06:00
res_pjsip_acl.c pjsip: Update ACLs on named ACL changes. 2020-02-20 04:52:11 -06:00
res_pjsip_aoc.c res_pjsip_aoc: Don't assume a body exists on responses. 2022-12-13 10:52:10 -06:00
res_pjsip_authenticator_digest.c res_pjsip: Fix for Doxygen. 2021-11-18 12:14:54 -06:00
res_pjsip_caller_id.c res_pjsip_session: Use Caller ID for extension matching. 2022-12-20 09:55:21 -06:00
res_pjsip_config_wizard.c xmldocs: Improve examples. 2022-06-09 03:47:41 -05:00
res_pjsip_dialog_info_body_generator.c res_pjsip: Add TEL URI support for basic calls. 2022-09-13 04:51:10 -05:00
res_pjsip_diversion.c res_pjsip: Add TEL URI support for basic calls. 2022-09-13 04:51:10 -05:00
res_pjsip_dlg_options.c chan_sip: Remove deprecated module. 2023-01-03 09:00:42 -06:00
res_pjsip_dtmf_info.c res_pjsip_dtmf_info: Hook flash 2021-06-08 15:47:19 -05:00
res_pjsip_empty_info.c res_pjsip: Sync load- and build-time deps. 2020-04-20 11:03:26 -05:00
res_pjsip_endpoint_identifier_anonymous.c res_pjsip: Add TEL URI support for basic calls. 2022-09-13 04:51:10 -05:00
res_pjsip_endpoint_identifier_ip.c sorcery: Add support for more intelligent reloading. 2021-03-05 10:32:28 -06:00
res_pjsip_endpoint_identifier_user.c res_pjsip: Add TEL URI support for basic calls. 2022-09-13 04:51:10 -05:00
res_pjsip_exten_state.c res_pjsip_pubsub: Prevent removing subscriptions. 2022-10-26 10:06:48 -05:00
res_pjsip_exten_state.exports.in The large GULP->PJSIP renaming effort. 2013-07-30 18:14:50 +00:00
res_pjsip_geolocation.c res_pjsip_geolocation: Change some notices to debugs. 2022-09-26 15:04:44 -05:00
res_pjsip_header_funcs.c res_pjsip_header_funcs: Duplicate new header value, don't copy. 2023-12-14 12:02:12 -07:00
res_pjsip_history.c time: add support for time64 libcs 2022-03-24 12:00:58 -05:00
res_pjsip_logger.c res_pjsip_logger: Add method-based logging option. 2022-10-27 09:00:59 -05:00
res_pjsip_messaging.c core/ari/pjsip: Add refer mechanism 2023-08-09 15:10:46 +00:00
res_pjsip_mwi.c res_pjsip_pubsub: Prevent removing subscriptions. 2022-10-26 10:06:48 -05:00
res_pjsip_mwi_body_generator.c Remove redundant module checks and references. 2018-01-24 13:37:29 -05:00
res_pjsip_nat.c core/ari/pjsip: Add refer mechanism 2023-08-09 15:10:46 +00:00
res_pjsip_notify.c res_pjsip_notify: Add option support for AMI. 2022-10-27 10:07:09 -05:00
res_pjsip_one_touch_record_info.c res_pjsip: Sync load- and build-time deps. 2020-04-20 11:03:26 -05:00
res_pjsip_outbound_authenticator_digest.c tests: Fix compilation errors on 32-bit. 2022-10-28 06:45:11 -05:00
res_pjsip_outbound_publish.c astobj2: Remove legacy ao2_container_alloc routine. 2018-11-21 09:56:16 -05:00
res_pjsip_outbound_publish.exports.in res_pjsip_outbound_publish: Add module which provides outbound PUBLISH support. 2014-08-07 14:35:09 +00:00
res_pjsip_outbound_registration.c res_pjsip: mediasec: Add Security-Client headers after 401 (#49) 2023-05-02 09:18:42 -06:00
res_pjsip_path.c res_pjsip: Fix path usage in case dialing with '@' 2022-12-20 07:54:56 -06:00
res_pjsip_phoneprov_provider.c Remove redundant module checks and references. 2018-01-24 13:37:29 -05:00
res_pjsip_pidf_body_generator.c Remove redundant module checks and references. 2018-01-24 13:37:29 -05:00
res_pjsip_pidf_digium_body_supplement.c res_pjsip_pidf_digium_body_supplement: Support Sangoma user agent. 2020-12-16 08:01:11 -06:00
res_pjsip_pidf_eyebeam_body_supplement.c Remove redundant module checks and references. 2018-01-24 13:37:29 -05:00
res_pjsip_publish_asterisk.c res_pjsip: Fix for Doxygen. 2021-11-18 12:14:54 -06:00
res_pjsip_pubsub.c res_pjsip_pubsub: Add new pubsub module capabilities. (#82) 2023-05-18 11:41:38 -06:00
res_pjsip_pubsub.exports.in res_pjsip_mwi: Add voicemail extension and mwi_subscribe_replaces_unsolicited 2016-03-30 13:23:54 -05:00
res_pjsip_refer.c core/ari/pjsip: Add refer mechanism 2023-08-09 15:10:46 +00:00
res_pjsip_registrar.c time: add support for time64 libcs 2022-03-24 12:00:58 -05:00
res_pjsip_rfc3326.c res_pjsip_rfc3326: Prefer Q.850 cause code over SIP. 2023-06-21 13:25:00 +00:00
res_pjsip_rfc3329.c res_pjsip: mediasec: Add Security-Client headers after 401 (#49) 2023-05-02 09:18:42 -06:00
res_pjsip_sdp_rtp.c res_pjsip_sdp_rtp.c: Use correct timeout when put on hold. 2022-12-20 09:37:54 -06:00
res_pjsip_send_to_voicemail.c Remove redundant module checks and references. 2018-01-24 13:37:29 -05:00
res_pjsip_session.c res_pjsip_session: Send Session Interval too small response 2023-09-06 18:21:31 +00:00
res_pjsip_session.exports.in test_res_pjsip_session_caps: Create unit test 2020-04-06 08:02:53 -05:00
res_pjsip_sips_contact.c Remove redundant module checks and references. 2018-01-24 13:37:29 -05:00
res_pjsip_stir_shaken.c res_pjsip_stir_shaken: Fix JSON field ordering and disallowed TN characters. 2023-04-10 17:31:07 -05:00
res_pjsip_t38.c res_pjsip_t38: bind UDPTL sessions like RTP 2021-10-01 08:57:07 -05:00
res_pjsip_transport_websocket.c res_pjsip_transport_websocket: Add remote port to transport 2023-01-03 11:58:20 -06:00
res_pjsip_xpidf_body_generator.c Remove redundant module checks and references. 2018-01-24 13:37:29 -05:00
res_prometheus.c res_prometheus: Optional load res_pjsip_outbound_registration.so 2022-07-05 06:34:12 -05:00
res_prometheus.exports.in Add core Prometheus support to Asterisk 2019-05-20 20:33:58 -05:00
res_realtime.c res_realtime: Fix 'realtime update2' argument handling 2020-01-14 10:07:20 -06:00
res_remb_modifier.c xml: Embed module information into core XML documentation. 2021-03-16 10:30:43 -05:00
res_resolver_unbound.c various files - fix some alerts raised by lgtm code analysis 2019-11-18 08:30:45 -06:00
res_rtp_asterisk.c res_rtp_asterisk: Fix regression issues with DTLS client check 2023-12-20 08:47:02 -07:00
res_rtp_multicast.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
res_rtp_multicast.exports.in multicast RTP: Add dialing options 2016-05-27 11:00:09 -05:00
res_security_log.c stasis: Add internal filtering of messages. 2018-11-18 15:08:16 -05:00
res_smdi.c res: Spelling fixes 2021-11-15 16:37:34 -06:00
res_smdi.exports.in
res_snmp.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
res_sorcery_astdb.c astdb: Improve prefix searches in astdb 2017-12-10 12:51:16 -06:00
res_sorcery_config.c res: Spelling fixes 2021-11-15 16:37:34 -06:00
res_sorcery_memory.c astobj2: Remove legacy ao2_container_alloc routine. 2018-11-21 09:56:16 -05:00
res_sorcery_memory_cache.c res_sorcery_memory_cache.c: Fix memory leak (#56) 2023-05-11 14:21:57 -06:00
res_sorcery_realtime.c res_sorcery_realtime.c: Fix unqualified fetch warning. 2018-08-17 16:33:24 -05:00
res_speech.c res_aeap & res_speech_aeap: Add Asterisk External Application Protocol 2022-04-26 14:26:48 -05:00
res_speech.exports.in app_speech_utils: Fix unresolved symbol ast_speech_get_setting(). 2013-09-16 18:00:32 +00:00
res_speech_aeap.c doxygen: Fix doxygen errors. 2023-01-31 11:23:11 -06:00
res_srtp.c progdocs: Avoid 'name' with Doxygen \file. 2021-11-18 08:17:56 -06:00
res_srtp.exports.in Reverting accidental ci of wrong change in r433061 2015-03-17 22:03:01 +00:00
res_stasis.c res_stasis.c: Add new type 'sdp_label' for bridge creation. 2023-06-05 12:26:11 -06:00
res_stasis.exports.in Moved core logic from app_stasis to res_stasis 2013-04-15 16:43:47 +00:00
res_stasis_answer.c loader: Add dependency fields to module structures. 2018-01-15 13:25:51 -05:00
res_stasis_answer.exports.in Add missing exports file 2013-05-20 14:21:39 +00:00
res_stasis_device_state.c astobj2: Remove legacy ao2_container_alloc routine. 2018-11-21 09:56:16 -05:00
res_stasis_device_state.exports.in ARI: Implement device state API 2013-11-23 17:48:28 +00:00
res_stasis_mailbox.c Remove redundant module checks and references. 2018-01-24 13:37:29 -05:00
res_stasis_mailbox.exports.in ARI: Add mailboxes resource for controlling and polling external MWI 2014-01-14 23:44:57 +00:00
res_stasis_playback.c res: Spelling fixes 2021-11-15 16:37:34 -06:00
res_stasis_playback.exports.in This patch implements the REST API's for POST /channels/{channelId}/play 2013-05-23 20:11:35 +00:00
res_stasis_recording.c res/res_ari: Added timestamp as a requirement for all ARI events 2019-03-11 23:57:01 +01:00
res_stasis_recording.exports.in ARI - channel recording support 2013-07-03 17:58:45 +00:00
res_stasis_snoop.c res_stasis_snoop: Fix snoop crash 2023-01-30 08:28:33 -06:00
res_stasis_snoop.exports.in ari: Add Snoop operation for spying/whispering on channels. 2013-11-23 12:40:46 +00:00
res_stasis_test.c optional_api: Remove unused nonoptreq fields 2018-09-12 12:34:54 -05:00
res_stasis_test.exports.in Initial support for endpoints. 2013-05-08 13:39:08 +00:00
res_statsd.c res_statsd: handle non-standard meter type safely 2021-08-03 08:12:33 -05:00
res_statsd.exports.in res_statsd: Fix exports.in for missing symbols 2016-02-16 12:26:29 -06:00
res_stir_shaken.c res_pjsip_stir_shaken: Fix JSON field ordering and disallowed TN characters. 2023-04-10 17:31:07 -05:00
res_stir_shaken.exports.in res_stir_shaken: Add inbound INVITE support. 2020-06-08 10:50:16 -05:00
res_stun_monitor.c res: Fix for Doxygen. 2021-12-03 10:38:39 -06:00
res_timing_dahdi.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
res_timing_kqueue.c res_timing: Don't close FD 0 when out of open files. 2015-07-02 05:13:37 -05:00
res_timing_pthread.c Use non-blocking socket() and pipe() wrappers 2018-12-11 12:29:09 -05:00
res_timing_timerfd.c res_timing: Don't close FD 0 when out of open files. 2015-07-02 05:13:37 -05:00
res_tonedetect.c res_tonedetect: Add ringback support to TONE_DETECT. 2022-10-10 12:04:16 -05:00
res_xmpp.c res: Fix for Doxygen. 2021-12-03 10:38:39 -06:00
res_xmpp.exports.in Add a new unified Jingle, Google Jingle, and Google Talk channel driver written from scratch called chan_motif. 2012-07-07 17:06:51 +00:00