Commit Graph

34966 Commits

Author SHA1 Message Date
Dragos Oancea bb7bf86bb9 [core] print SRTP lib version at init. 2021-09-27 16:42:37 +03:00
Dragos Oancea 5aacf41f14 [core] add core media getter (it gets the RTP session, handy for unit-testing). 2021-09-27 16:42:30 +03:00
Chris Rienzo 6827c66373
[mod_verto] Handle short read from websocket. This fixes an interop problem with iOS 15. 2021-09-14 21:24:42 +03:00
Dragos Oancea 9eb20d7b54 [mod_sofia] fix memleak on gw registration timeout or 403 2021-09-08 19:50:52 +03:00
Dragos Oancea 69cdaac60b [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>
2021-09-08 18:22:14 +03:00
Sharath K Shetty ee9214c6fb
[mod_dptools] Fix silence_ms misspelling typo in vad_test command 2021-09-01 17:48:42 +03:00
Andrey Volk 86d2189032
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
2021-08-31 21:17:12 +03:00
Andrey Volk 24f76b36f1
Merge pull request #1328 from signalwire/libsrtp24
[Build-System] Update libsrtp to 2.4.0
2021-08-30 23:04:13 +03:00
Andrey Volk ee06958df6 [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 2021-08-30 21:19:19 +03:00
Andrey Volk bddff9a2f1 [Build-System] Update libsrtp to 2.4.0 2021-08-28 23:54:38 +03:00
mahald 641fcd2b26
[mod_amqp] Increase max command size 2021-08-27 18:48:32 +03:00
Andrey Volk dd2411336f
Merge pull request #1317 from signalwire/sofiabump
Bump sofia-sip library requirement to version 1.13.5
2021-08-25 20:37:19 +03:00
Andrey Volk 2b039a3c32 Bump sofia-sip library requirement to version 1.13.5 2021-08-25 19:32:43 +03:00
dhruvecosmob d2981ec0c8 [mod_signalwire] add token-reset subcommand to the signalwire api. 2021-08-20 20:20:26 +03:00
Andrey Volk 9584d86455
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.
2021-08-20 00:17:34 +03:00
Andrey Volk 380fd060ef [Build-System] Remove freetdm from the FreeSWITCH tree. Use out-of-tree module https://github.com/freeswitch/freetdm instead. 2021-08-19 21:10:33 +03:00
Andrey Volk 53be1ab148
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.
2021-08-19 21:05:10 +03:00
Andrey Volk 6ec1cee256 [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. 2021-08-19 19:32:18 +03:00
Andrey Volk 717b9eec0a
Merge pull request #1299 from ssahoo-five9/switch_utils
[Core] Add switch_safe_atol() and switch_safe_atoll() functions. Add a unit-test.
2021-08-13 20:56:14 +03:00
suchi.sahoo 25823013f8 [Core] Add switch_safe_atol() and switch_safe_atoll() functions. Add a unit-test. 2021-08-13 20:05:29 +03:00
Dragos Oancea c41aa83b17 [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)
2021-08-13 18:17:17 +03:00
Andrey Volk 8a40ba20bd [mod_sofia] Add a unit-test checking that sofia-sip does not leak when a profile fails to start. 2021-08-13 18:15:43 +03:00
Andrey Volk 16370ddd7c
Merge pull request #1283 from signalwire/srtp_race
[Core] Fix FreeSWITCH crashes caused by race conditions when working with Secure RTP.
2021-08-13 16:55:36 +03:00
Dragos Oancea a83b7db5a7 [unit-tests] fix sps-related race in the sndfile test. 2021-08-09 18:52:49 +03:00
Dragos Oancea 970e32e574 [unit-tests] [mod_sndfile] increase SPS limit 2021-08-09 18:51:36 +03:00
Mike Jerris 0f1dbc2540 [mod_sndfile] fix test build on osx 2021-08-09 18:49:59 +03:00
Dragos Oancea cbcf6f2e2d [unit-tests] [mod_sndfile] fix build for Debian Jessie 2021-08-09 18:47:55 +03:00
Andrey Volk 15e8a09c90
Merge pull request #1298 from signalwire/speedupdrone
[unit-tests] [mod_sndfile] parallelize unit-tests, each audio extension test in its own session.
2021-08-09 17:30:23 +03:00
Dragos Oancea 8abd936ded [unit-tests] [mod_sndfile] parallelize unit-tests, each audio extension test in its own session. 2021-08-09 17:07:35 +03:00
Andrey Volk 622399d0bd
Merge pull request #1256 from signalwire/early
[Core] Fix bridge_early_media
2021-08-06 16:48:11 +03:00
Andrey Volk d20dbb76a6
Merge pull request #1289 from gsiehien/fix-rayo-conference
[mod_rayo] mod_rayo returns error exec_conference_api
2021-08-02 16:23:11 +03:00
Grzegorz Siehień f046bc0628
[mod_rayo] mod_rayo returns error exec_conference_api
fixes  #704 - mod_rayo returns error on exec_conference_api
2021-08-02 14:55:29 +02:00
Andrey Volk d251a8ccee swigall 2021-07-31 00:49:18 +00:00
dhruvecosmob 432bfc0c45 [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. 2021-07-27 22:25:13 +03:00
Andrey Volk 9376db0aae [Core] Fix FreeSWITCH crashes caused by race conditions when working with Secure RTP. 2021-07-26 10:05:09 +03:00
Andrey Volk 5c6fd51c11
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
2021-07-24 22:39:16 +03:00
xiaobaozidi bd87b8892c [mod_sofia] Fixed a few Usage-of-uninitialized value bugs which may cause information discolsure and bypass ACL check 2021-07-24 21:04:50 +03:00
Andrey Volk 99c6d587e7
Merge pull request #1253 from MarioG-X/libvpx/macos-release-independence
[libvpx] configure: macos release independence for sse
2021-07-24 20:54:55 +03:00
Mario G 73571bf9c6 [libvpx] configure: macos release independence for sse 2021-07-24 19:44:39 +03:00
tomeeo dd1e0c1605
[mod_http_cache] Fix the query string not included for HTTP PUT requests to s3 2021-07-24 00:04:59 +03:00
Andrey Volk 08c2bf94a7
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.
2021-07-23 21:51:14 +03:00
Andrey Volk f631ac800c [Unit-tests] Build sofia-sip on the fly on Drone CI so backtraces are more informative in ASAN reports. 2021-07-23 17:11:19 +03:00
Andrey Volk 4c04914003
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.
2021-07-20 21:10:05 +03:00
Andrey Volk 1311a84ee2 [mod_signalwire] When SignalWire SIP Gateway is in unregistered state it's DOWN and can not be NOREG. 2021-07-20 20:41:08 +03:00
nrensen ba8aff571e
[mod_commands] OpenBSD compat 2021-07-19 18:57:13 +03:00
Chris Rienzo 311e932df5 [core, mod_commands] Execute command under shell when using spawn in switch_system(). 2021-07-16 17:34:53 +03:00
Andrey Volk 9aee9b8e24 [Core, mod_commands] Add posix_spawn replacement for the system call. Add unit-tests. 2021-07-16 17:34:42 +03:00
Andrey Volk f1dd4390c8
Merge pull request #1267 from signalwire/dronesignature
[Testing] Update Drone CI signature.
2021-07-14 19:32:42 +03:00
Andrey Volk a4d09d2635 [Testing] Update Drone CI signature. 2021-07-14 19:06:19 +03:00
Andrey Volk f6f3f38d25 [Core] Fix bridge_early_media 2021-07-09 17:53:30 +03:00