]>
git.ipfire.org Git - thirdparty/freeswitch.git/log
Dragos Oancea [Fri, 1 Oct 2021 18:17:51 +0000 (18:17 +0000)]
[unit-tests] add SEND_RTCP_MESSAGE event/rtcp unit-test.
Dragos Oancea [Thu, 30 Sep 2021 11:39:39 +0000 (11:39 +0000)]
[core] polish SEND_RTCP_MESSAGE
Ryan Mitchell [Fri, 17 Sep 2021 03:17:28 +0000 (20:17 -0700)]
[core] add SEND_RTCP_MESSAGE:
toggle send rtcp events off fire_rtcp_events.
eval most common path first when checking flags.
Noah Mehl [Thu, 18 Jun 2020 13:53:49 +0000 (09:53 -0400)]
[core] Add SEND_RTCP_MESSAGE
We utilize: https://github.com/sipcapture/hepipe.js to monitor RTCP for our calls. As such, it's super helpful to get the sent RTCP data along with the received RTCP data. The new: SEND_RTCP_MESSAGE basically mirrors the existing RECV_RTCP_MESSAGE.
Dhruv Gupta [Thu, 30 Sep 2021 21:37:03 +0000 (03:07 +0530)]
[mod_sofia] Deprecate the auth-subscriptions profile param by setting it to be enabled by default and introducing the new disable-auth-subscriptions param with a higher priority when set.
Andrey Volk [Thu, 30 Sep 2021 14:47:36 +0000 (17:47 +0300)]
Merge pull request #1361 from signalwire/srtpmac
[libsrtp] Fix build on MAC OS
Andrey Volk [Thu, 30 Sep 2021 14:13:21 +0000 (17:13 +0300)]
[libsrtp] Fix build on MAC OS
Dragos Oancea [Sat, 25 Sep 2021 11:11:46 +0000 (11:11 +0000)]
[core] print SRTP lib version at init.
Dragos Oancea [Sat, 25 Sep 2021 11:33:16 +0000 (11:33 +0000)]
[core] add core media getter (it gets the RTP session, handy for unit-testing).
Chris Rienzo [Tue, 14 Sep 2021 18:24:42 +0000 (14:24 -0400)]
[mod_verto] Handle short read from websocket. This fixes an interop problem with iOS 15.
Dragos Oancea [Mon, 30 Aug 2021 09:44:26 +0000 (09:44 +0000)]
[mod_sofia] fix memleak on gw registration timeout or 403
Dragos Oancea [Wed, 8 Sep 2021 15:20:20 +0000 (18:20 +0300)]
[mod_sofia] more fixes around md5 hash infoleak (tricky cfg).
* [mod_sofia] md5 hash infoleak fixes: (explictly allow host set in gw params 'register_proxy' and 'outbound_proxy' to challenge too).
"We have tightened security for digest authentication on gateways.
If you have gateways configured using dns and not an ip address,
you may need to configure gw-auth-acl in gateway configuration to
specify the IP addresses you can send auth challenges to for this gateway.
This is meant to better secure who we will send auth challenges." (Mike Jerris)
[mod_sofia] add REGISTER/401 unit-tests (sipp based)
[mod_sofia] add INVITE/407 unit-test (sipp-based)
* Cleanup spacing
Co-authored-by: Andrey Volk <andywolk@gmail.com>
Sharath K Shetty [Wed, 1 Sep 2021 14:48:42 +0000 (20:18 +0530)]
[mod_dptools] Fix silence_ms misspelling typo in vad_test command
Andrey Volk [Tue, 31 Aug 2021 18:17:12 +0000 (21:17 +0300)]
Merge pull request #1330 from signalwire/openssl1.1.x
[Build-System] Windows: Update OpenSSL to 1.1.1l, libpq to 10.18, curl to 7.78.0, libks to 1.7.0, signalwire-c to 1.3.0, rabbitmq-c to 0.11.0
Andrey Volk [Mon, 30 Aug 2021 20:04:13 +0000 (23:04 +0300)]
Merge pull request #1328 from signalwire/libsrtp24
[Build-System] Update libsrtp to 2.4.0
Andrey Volk [Mon, 30 Aug 2021 18:19:19 +0000 (21:19 +0300)]
[Build-System] Windows: Update OpenSSL to 1.1.1l, libpq to 10.18, curl to 7.78.0, libks to 1.7.0, signalwire-c to 1.3.0, rabbitmq-c to 0.11.0
Andrey Volk [Sat, 28 Aug 2021 11:19:05 +0000 (14:19 +0300)]
[Build-System] Update libsrtp to 2.4.0
mahald [Fri, 27 Aug 2021 15:48:32 +0000 (17:48 +0200)]
[mod_amqp] Increase max command size
Andrey Volk [Wed, 25 Aug 2021 17:37:19 +0000 (20:37 +0300)]
Merge pull request #1317 from signalwire/sofiabump
Bump sofia-sip library requirement to version 1.13.5
Andrey Volk [Wed, 25 Aug 2021 16:32:43 +0000 (19:32 +0300)]
Bump sofia-sip library requirement to version 1.13.5
dhruvecosmob [Thu, 22 Jul 2021 19:21:20 +0000 (00:51 +0530)]
[mod_signalwire] add token-reset subcommand to the signalwire api.
Andrey Volk [Thu, 19 Aug 2021 21:17:34 +0000 (00:17 +0300)]
Merge pull request #1307 from signalwire/freetdm
[Build-System] Remove freetdm from the FreeSWITCH tree. Use out-of-tree module https://github.com/freeswitch/freetdm instead.
Andrey Volk [Wed, 18 Aug 2021 22:12:54 +0000 (01:12 +0300)]
[Build-System] Remove freetdm from the FreeSWITCH tree. Use out-of-tree module https://github.com/freeswitch/freetdm instead.
Andrey Volk [Thu, 19 Aug 2021 18:05:10 +0000 (21:05 +0300)]
Merge pull request #1312 from signalwire/outoftree
[Build-System] Allow out-of-tree modules to stay commented out in modules.conf and fix false-positive warnings from module integrity checking when running make install.
Andrey Volk [Thu, 19 Aug 2021 16:32:18 +0000 (19:32 +0300)]
[Build-System] Allow out-of-tree modules to stay commented out in modules.conf and fix false-positive warnings from module integrity checking when running make install.
Andrey Volk [Fri, 13 Aug 2021 17:56:14 +0000 (20:56 +0300)]
Merge pull request #1299 from ssahoo-five9/switch_utils
[Core] Add switch_safe_atol() and switch_safe_atoll() functions. Add a unit-test.
suchi.sahoo [Mon, 9 Aug 2021 18:28:56 +0000 (21:28 +0300)]
[Core] Add switch_safe_atol() and switch_safe_atoll() functions. Add a unit-test.
Dragos Oancea [Thu, 13 May 2021 13:49:09 +0000 (13:49 +0000)]
[mod_sofia] fix md5 digest infoleak
[mod_sofia] refactor IP checks with sip-dig
[mod_sofia] add sipp-based unit-tests (use spawn_instead_of_system)
Andrey Volk [Wed, 11 Aug 2021 14:34:46 +0000 (17:34 +0300)]
[mod_sofia] Add a unit-test checking that sofia-sip does not leak when a profile fails to start.
Andrey Volk [Fri, 13 Aug 2021 13:55:36 +0000 (16:55 +0300)]
Merge pull request #1283 from signalwire/srtp_race
[Core] Fix FreeSWITCH crashes caused by race conditions when working with Secure RTP.
Dragos Oancea [Mon, 22 Jun 2020 19:25:48 +0000 (19:25 +0000)]
[unit-tests] fix sps-related race in the sndfile test.
Dragos Oancea [Thu, 21 May 2020 19:28:48 +0000 (19:28 +0000)]
[unit-tests] [mod_sndfile] increase SPS limit
Mike Jerris [Thu, 28 May 2020 00:37:13 +0000 (18:37 -0600)]
[mod_sndfile] fix test build on osx
Dragos Oancea [Tue, 19 May 2020 11:24:43 +0000 (11:24 +0000)]
[unit-tests] [mod_sndfile] fix build for Debian Jessie
Andrey Volk [Mon, 9 Aug 2021 14:30:23 +0000 (17:30 +0300)]
Merge pull request #1298 from signalwire/speedupdrone
[unit-tests] [mod_sndfile] parallelize unit-tests, each audio extension test in its own session.
Dragos Oancea [Mon, 18 May 2020 17:58:48 +0000 (18:58 +0100)]
[unit-tests] [mod_sndfile] parallelize unit-tests, each audio extension test in its own session.
Andrey Volk [Fri, 6 Aug 2021 13:48:11 +0000 (16:48 +0300)]
Merge pull request #1256 from signalwire/early
[Core] Fix bridge_early_media
Andrey Volk [Mon, 2 Aug 2021 13:23:11 +0000 (16:23 +0300)]
Merge pull request #1289 from gsiehien/fix-rayo-conference
[mod_rayo] mod_rayo returns error exec_conference_api
Grzegorz Siehień [Mon, 2 Aug 2021 12:55:29 +0000 (14:55 +0200)]
[mod_rayo] mod_rayo returns error exec_conference_api
fixes #704 - mod_rayo returns error on exec_conference_api
Andrey Volk [Sat, 31 Jul 2021 00:49:18 +0000 (00:49 +0000)]
swigall
dhruvecosmob [Tue, 20 Jul 2021 13:02:52 +0000 (16:02 +0300)]
[mod_sofia] Deprecate the auth-messages profile param by setting it to be enabled by default and introducing the new disable-auth-messages param with a higher priority when set.
Andrey Volk [Thu, 15 Jul 2021 14:26:20 +0000 (17:26 +0300)]
[Core] Fix FreeSWITCH crashes caused by race conditions when working with Secure RTP.
Andrey Volk [Sat, 24 Jul 2021 19:39:16 +0000 (22:39 +0300)]
Merge pull request #1246 from xiaobaozidi/master
[mod_sofia] Fixed a few Usage-of-uninitialized value bugs which may cause information discolsure and bypass ACL check
xiaobaozidi [Wed, 30 Jun 2021 01:08:16 +0000 (20:08 -0500)]
[mod_sofia] Fixed a few Usage-of-uninitialized value bugs which may cause information discolsure and bypass ACL check
Andrey Volk [Sat, 24 Jul 2021 17:54:55 +0000 (20:54 +0300)]
Merge pull request #1253 from MarioG-X/libvpx/macos-release-independence
[libvpx] configure: macos release independence for sse
Mario G [Mon, 5 Jul 2021 21:46:00 +0000 (14:46 -0700)]
[libvpx] configure: macos release independence for sse
tomeeo [Fri, 23 Jul 2021 21:04:59 +0000 (17:04 -0400)]
[mod_http_cache] Fix the query string not included for HTTP PUT requests to s3
Andrey Volk [Fri, 23 Jul 2021 18:51:14 +0000 (21:51 +0300)]
Merge pull request #1208 from signalwire/sofiadrone
[Unit-tests] Build sofia-sip on the fly on Drone CI so backtraces are more informative in ASAN reports.
Andrey Volk [Mon, 24 May 2021 14:17:28 +0000 (17:17 +0300)]
[Unit-tests] Build sofia-sip on the fly on Drone CI so backtraces are more informative in ASAN reports.
Andrey Volk [Tue, 20 Jul 2021 18:10:05 +0000 (21:10 +0300)]
Merge pull request #1274 from signalwire/signalwiregatewaydown
[mod_signalwire] When SignalWire SIP Gateway is in unregistered state it's DOWN and can not be NOREG.
Andrey Volk [Tue, 20 Jul 2021 17:39:58 +0000 (20:39 +0300)]
[mod_signalwire] When SignalWire SIP Gateway is in unregistered state it's DOWN and can not be NOREG.
nrensen [Mon, 19 Jul 2021 15:57:13 +0000 (23:57 +0800)]
[mod_commands] OpenBSD compat
Chris Rienzo [Tue, 9 Feb 2021 18:19:22 +0000 (13:19 -0500)]
[core, mod_commands] Execute command under shell when using spawn in switch_system().
Andrey Volk [Fri, 5 Feb 2021 21:38:51 +0000 (00:38 +0300)]
[Core, mod_commands] Add posix_spawn replacement for the system call. Add unit-tests.
Andrey Volk [Wed, 14 Jul 2021 16:32:42 +0000 (19:32 +0300)]
Merge pull request #1267 from signalwire/dronesignature
[Testing] Update Drone CI signature.
Andrey Volk [Wed, 14 Jul 2021 16:03:58 +0000 (19:03 +0300)]
[Testing] Update Drone CI signature.
Andrey Volk [Fri, 9 Jul 2021 11:52:00 +0000 (14:52 +0300)]
[Core] Fix bridge_early_media
Andrey Volk [Thu, 24 Jun 2021 22:07:52 +0000 (01:07 +0300)]
Merge pull request #1243 from signalwire/vs2022
[FreeSwitchConsole] Fix build with Visual Studio 2022
Andrey Volk [Thu, 24 Jun 2021 21:26:51 +0000 (00:26 +0300)]
[FreeSwitchConsole] Fix build with Visual Studio 2022
Andrey Volk [Wed, 16 Jun 2021 08:18:15 +0000 (11:18 +0300)]
[mod_sofia] Calling direct _unref() functions in sofia_event_callback() is unsafe.
Andrey Volk [Tue, 15 Jun 2021 17:51:03 +0000 (20:51 +0300)]
Bump sofia-sip library requirement to version 1.13.4
Andrey Volk [Mon, 7 Jun 2021 17:46:58 +0000 (20:46 +0300)]
[mod_sofia] sofia_process_dispatch_event() should unref all handles via sofia stack
Andrey Volk [Wed, 9 Jun 2021 19:25:53 +0000 (22:25 +0300)]
Merge pull request #1213 from signalwire/nsig
[apr] error: use of undeclared identifier 'NSIG'
Andrey Volk [Fri, 28 May 2021 18:26:56 +0000 (21:26 +0300)]
[apr] error: use of undeclared identifier 'NSIG'
Andrey Volk [Mon, 17 May 2021 13:54:06 +0000 (16:54 +0300)]
Merge pull request #1199 from signalwire/fix-compile-error
[core] Fix read of uninitialized buffer in switch_simple_email().
Chris Rienzo [Sun, 16 May 2021 23:12:28 +0000 (23:12 +0000)]
[core] Fix read of uninitialized buffer in switch_simple_email().
Dragos Oancea [Fri, 14 May 2021 15:36:30 +0000 (18:36 +0300)]
[mod_opus] add cfg setting to overwrite the fmtp stereo param coming from remote. Eg: incoming SDP has stereo=1 but we want a mono call so we answer with stereo=0.
* [mod_opus] add cfg setting to overwrite the fmtp stereo param coming from remote. Eg: incoming SDP has stereo=1 but we want a mono call so we answer with stereo=0.
sprop-stereo will be set to 0 too.
* [core] opus: use switch_core_max_audio_channels() with remote fmtp stereo=1 to allow disabling of stereo.
Andrey Volk [Fri, 14 May 2021 15:34:17 +0000 (18:34 +0300)]
Merge pull request #1190 from dragos-oancea/amrwb-cfg-mode-set
[mod_amrwb] add cfg setting mode-set-overwrite (it will answer with just one mode-set value) - fixes audio quality issues in mod_conference with some UEs.
Andrey Volk [Mon, 10 May 2021 22:54:24 +0000 (01:54 +0300)]
Merge pull request #1192 from signalwire/curl_cert
[mod_curl] look for cacert in certs dir
Anthony Minessale [Sat, 11 Apr 2020 22:37:04 +0000 (22:37 +0000)]
[mod_curl] look for cacert in certs dir
Aron Podrigal [Mon, 10 May 2021 19:32:48 +0000 (14:32 -0500)]
[mod_curl] Added PATCH method, add insecure and secure options to verify SSL certs, add proxy option.
* mod_curl: hanlde PATCH method
* mod_curl: verify ssl with an option `insecure` to not verify
* mod_curl: added option to use proxy
* mod_curl: use assert(options)
* [mod_curl] default certificate validation secure/insecure controlled by `validate-certs` config option.
* [mod_curl] Added option secure to force https certs validation
Andrey Volk [Mon, 10 May 2021 19:29:46 +0000 (22:29 +0300)]
Merge pull request #1178 from azzbcc/mod_sofia_nat_mapping
[mod_sofia] release nat mapping when nua create failed
Andrey Volk [Fri, 7 May 2021 16:03:37 +0000 (19:03 +0300)]
Merge pull request #1099 from dragos-oancea/mod_tts_commandline_fix_system
[mod_tts_commandline] check return of switch_system() against 127 too
Dragos Oancea [Fri, 7 May 2021 14:17:15 +0000 (14:17 +0000)]
[mod_amrwb] add cfg setting mode-set-overwrite (it will answer with just one mode-set value) - fixes audio quality issues in mod_conference with some UEs.
sergey-safarov [Thu, 6 May 2021 17:51:54 +0000 (20:51 +0300)]
[Build-System] Rename package format-mod-opusfile to format-opusfile on CentOS
Clarence [Wed, 28 Apr 2021 11:59:52 +0000 (19:59 +0800)]
[mod_sofia] release nat mapping when nua create failed
Chris Rienzo [Tue, 27 Apr 2021 19:54:32 +0000 (15:54 -0400)]
STIR/SHAKEN (#1160)
* [core] Add SWITCH_CAUSEs for STIR/SHAKEN.
[mod_sofia] Add sofia_verify_identity dialplan APP as a STIR/SHAKEN verification service. Set sip_hangup_on_verify_identity_fail=true to end calls that fail verification, otherwise check sip_verstat and sip_verstat_detailed channel variables for verification result.
* [mod_sofia] Fix stir shaken implementation issues on fail.
* fix build
* Fix given comments
* stir_shaken_passport_get_grant return does not require to be freed.
* reworked things
* [core] add switch_rfc822_datetime_to_epoch()
* [mod_sofia] fix test return code
* [mod_sofia] Add Date header when signing Identity
* [mod_sofia] Check Date - WIP doesn't work
* [mod_sofia] STIR/SHAKEN check SIP Date header
* Try to give time for sofia to clean up calls
Co-authored-by: Andrey Volk <andywolk@gmail.com>
sergey-safarov [Mon, 26 Apr 2021 14:46:26 +0000 (17:46 +0300)]
[Build-System] Use a fresher gcc on RHEL based dists
Norm Brandinger [Fri, 16 Apr 2021 14:24:51 +0000 (10:24 -0400)]
[Core] switch_rtp: fix switch_rtp_set_max_missed_packets logging
Warning message about missed packets is misleading.
Message indicates greater (>) however, the conditional is greater than or equals (>=).
The message prints the value of rtp_sesstion->missed_count twice instead of printing the value of rtp_session->max_missed_packets.
Dragos Oancea [Wed, 31 Mar 2021 13:49:59 +0000 (13:49 +0000)]
[core] RTP: handle flush for incoming stream with DTX or packet loss.
Dragos Oancea [Tue, 13 Apr 2021 10:30:15 +0000 (10:30 +0000)]
[mod_sofia] rfc8760: reorder hash algorithms by priority (strength), no matter the order provided in the cfg
Andrey Volk [Wed, 10 Mar 2021 17:08:20 +0000 (20:08 +0300)]
[mod_sofia] Add basic INVITE test
Dragos Oancea [Fri, 9 Apr 2021 15:45:17 +0000 (15:45 +0000)]
[mod_sofia] Add RFC8760 (sha-256, sha-512)
enable on the sip profile, eg:
<param name="rfc8760-auth-algorithms" value="sha-256,md5"/>
Andrey Volk [Thu, 8 Apr 2021 21:55:52 +0000 (00:55 +0300)]
[Core] Add switch_digest(), switch_digest_string() APIs. Add unit-tests.
figaro2015 [Fri, 2 Apr 2021 19:18:16 +0000 (12:18 -0700)]
[Core, mod_conference] Fixed oscillation in conference AGC processing. Especially during volume reduction processing (#1064)
* Fixed oscillation in conference AGC processing. Especially during volume reduction processing
* Re-scaled granular volume to +/- 50 dB level change. 10 = double loudness, -10 = half loudness, 0 = no change
Co-authored-by: Chris Rienzo <chris@signalwire.com>
Andrey Volk [Thu, 25 Mar 2021 15:52:56 +0000 (18:52 +0300)]
version bump
Andrey Volk [Wed, 24 Mar 2021 18:08:57 +0000 (21:08 +0300)]
Merge pull request #126 from micmac1/gentlscert-md
[gentls_cert] Update message digest
Christian Glombek [Wed, 24 Mar 2021 16:30:52 +0000 (17:30 +0100)]
[mod_avmd, esl/python] Two build fixups (#611)
Andrey Volk [Tue, 23 Mar 2021 18:10:30 +0000 (21:10 +0300)]
Merge pull request #1134 from signalwire/add-dial-handle-to-enterprise-originate
[core] Update switch_ivr_enterprise_originate() to accept optional switch_dial_handle_list_t instead of dialstring.
Andrey Volk [Tue, 23 Mar 2021 17:33:46 +0000 (17:33 +0000)]
swigall
Chris Rienzo [Thu, 18 Mar 2021 23:28:40 +0000 (02:28 +0300)]
[core] Update switch_ivr_enterprise_originate() to accept optional switch_dial_handle_list_t instead of dialstring.
Andrey Volk [Fri, 12 Mar 2021 14:27:07 +0000 (17:27 +0300)]
[Core] Hangup call instead of crashing system on SSL_CTX_new failure. Improve logging.
Andrey Volk [Wed, 10 Mar 2021 13:10:54 +0000 (16:10 +0300)]
[Core] switch_ivr_set_user_xml: Buffer is wrongly truncated when it's small in get_prefixed_str()
Dragos Oancea [Mon, 1 Mar 2021 17:48:45 +0000 (19:48 +0200)]
[core] rtp: fix #ifdef DEBUG_TS_ROLLOVER (#357)
Dragos Oancea [Sat, 27 Feb 2021 14:01:27 +0000 (14:01 +0000)]
[mod_av] fix memory leak on file playing
Andrey Volk [Fri, 26 Feb 2021 22:04:16 +0000 (01:04 +0300)]
[Core] Add new switch_core_session_try_reset() API to fix a deadlock for the case when two threads want to set session codecs.
Chris Rienzo [Thu, 25 Feb 2021 11:04:27 +0000 (06:04 -0500)]
[core] Remove unused buffers and mutexes in switch_core_session. Remove destruction of resamplers that will already be destroyed by switch_core_session_reset().
Andrey Volk [Fri, 11 Dec 2020 19:32:25 +0000 (22:32 +0300)]
[mod_sofia] Use thread-safe alternatives when destroying nua and nua_handle references. Bump sofia-sip library requirement to version 1.13.3
Andrey Volk [Fri, 19 Mar 2021 20:52:53 +0000 (23:52 +0300)]
Merge pull request #1128 from signalwire/isbr
[mod_conference] Bridged conference did not wait it's last member before destroy and crashed.
Andrey Volk [Fri, 19 Mar 2021 20:31:46 +0000 (23:31 +0300)]
[mod_conference] Bridged conference did not wait it's last member before destroy and crashed.