Commit Graph

34994 Commits

Author SHA1 Message Date
Andrey Volk e42ebbb33f [Core] scan-build: Fix false-positive use-after-free in switch_xml_free_attr(). Add unit test. 2021-10-19 20:15:58 +03:00
Andrey Volk 95fb8c7773 [Core] Fix crash on removing xml attributes. Add unit test. 2021-10-19 20:15:57 +03:00
Andrey Volk 65bc81d239 [libvpx] scan-build: fix false-positive dereference of null pointer 2021-10-19 20:15:57 +03:00
Andrey Volk b59c28bdbd [Core] scan-build: fix false-positive use-after-free in switch_xml_internal_dtd() 2021-10-19 20:10:35 +03:00
Andrey Volk d6884d6871 [apr] scan-build: Dereference of null pointer in apr_hash_merge() 2021-10-19 20:10:35 +03:00
Andrey Volk cba582cf4a [mod_sofia] Fix multiple issues in sofia_presence.c found by scan-build. 2021-10-19 20:10:35 +03:00
Andrey Volk fa0e616592 [libyuv] Disable scan-build warnings. 2021-10-19 20:10:34 +03:00
Andrey Volk 758f3e7075
Merge pull request #1262 from signalwire/opus
[mod_opusfile] Improvements.
2021-10-15 22:17:39 +03:00
Dragos Oancea 0cf323c339 [mod_opusfile] unit-tests: add timer to fix random failures due to the fact that the decoding callback is not installed immediatelly 2021-10-15 16:52:06 +03:00
Dragos Oancea 97a0b0fbae [mod_opusfile] protect ogg data buff 2021-10-15 16:52:06 +03:00
Dragos Oancea 37ab323c13 [mod_opusfile] add ogg/opus streams, fix Makefile for encoding.
[mod_opusfile] add stats, opusctl

[mod_opusfile] add unit-test using teletone
2021-10-15 16:52:06 +03:00
Andrey Volk a61c9dca50
Merge pull request #1380 from inoutglobal/master
[daylight saving]- Fixs wrong daylight saving
2021-10-15 16:41:41 +03:00
Kevin Garabedian f8d8e740cc [core] play_and_collect_input() - suppress digit timer if start of speech is detected 2021-10-14 23:45:38 +03:00
Andrey Volk e9fde845de [mod_cv] Replace deprecated definitions and update configure.ac to check renamed opencv4.pc on Debian Bullseye. 2021-10-14 23:29:30 +03:00
Andrey Volk 2505b45134 [mod_skinny, mod_cdr_mongodb, mod_rayo] Fix Debian 11 build warnings. 2021-10-14 23:29:06 +03:00
Andrey Volk 46efa0cdb8 [Build-System] Add Bullseye to the Debian packaging 2021-10-14 23:28:38 +03:00
Andrey Volk a4603c7cb8 [Packaging] Fix a conflict between freeswitch-mod-python and freeswitch-mod-python3 Debian packages 2021-10-14 23:27:59 +03:00
Andrey Volk 54becc8d28 [mod_python3] Remove deprecated calls. 2021-10-14 23:27:33 +03:00
Andrey Volk e44fd2ea38 [mod_python3, ESL py3mod] Add Python3 support. 2021-10-14 23:26:36 +03:00
Edson Lopes Filho dae624441b
[daylight saving]- Fixs wrong daylight saving
Fix wrong daylight saving on America/Sao_Paulo Timezone. There is no more Daylight Savings in Sao Paulo.
2021-10-13 13:13:09 -03:00
Andrey Volk 3a66eb415f
Merge pull request #1370 from dragos-oancea/sendRTCPEvent
[Core] Add SEND_RTCP_MESSAGE event and a unit-test.
2021-10-05 01:47:57 +03:00
Dragos Oancea 79980f0767 [unit-tests] add SEND_RTCP_MESSAGE event/rtcp unit-test. 2021-10-04 08:54:09 +00:00
Dragos Oancea acbe88d18d [core] polish SEND_RTCP_MESSAGE 2021-10-04 08:54:05 +00:00
Ryan Mitchell 607f5db140 [core] add SEND_RTCP_MESSAGE:
toggle send rtcp events off fire_rtcp_events.
eval most common path first when checking flags.
2021-10-01 13:46:34 +00:00
Noah Mehl d24280c700 [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.
2021-10-01 13:46:34 +00:00
Dhruv Gupta 0924fed31d [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. 2021-10-01 00:40:24 +03:00
Andrey Volk 601960eb44
Merge pull request #1361 from signalwire/srtpmac
[libsrtp] Fix build on MAC OS
2021-09-30 17:47:36 +03:00
Andrey Volk d1220d1818 [libsrtp] Fix build on MAC OS 2021-09-30 17:13:21 +03:00
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