Commit Graph
35920 Commits
Author SHA1 Message Date
Andrey Volk 8442218df1 [mod_sofia] sofia_handle_sip_i_invite() leaks xml and event objects on acl_token, sofia_reg_handle_sip_r_challenge() leaks xml object when a user does not have params. 2019-12-31 00:45:00 +04:00
Andrey Volk 5fd6299267 [mod_hiredis] Xml object is not freed on load. 2019-12-31 00:43:24 +04:00
Andrey Volk 05dbd8bd05 [mod_distributor] Fix leak of xml object when no lists in config. 2019-12-31 00:41:19 +04:00
Liyang 4d2f3fc5ec FS-11677: [mod_video_filter] fix memory leak and support replace read/write video of session with a bug
https://freeswitch.org/jira/browse/FS-11677
2019-12-31 00:31:23 +04:00
Liyang 9847a8915f FS-11677: [mod_video_filter] support api/app to replace the write video of session with a bug
https://freeswitch.org/jira/browse/FS-11677
2019-12-31 00:31:08 +04:00
Seven Du fa18a3d0d6 FS-11877 fix regression from FS-11773 27ce89a6a2a
rename callID to sessionCallID since it breaks VC
2019-12-31 00:25:32 +04:00
Seven Du aec1cbd236 FS-11773 add callID to conference private event 2019-12-31 00:25:00 +04:00
Andrey Volk 4eca43bc62 FS-12048: [Core] Fix leak in SQLite (switch_cache_db_execute_sql2str) when queries return a NULL containing field which may result in high memory consumption. 2019-12-31 00:01:23 +04:00
Andrey Volk fc61fcfe60 FS-12050: [Core] Fix DataBase Handle (DBH) cache logic 2019-12-30 23:59:46 +04:00
Andrey Volk 5addd7144c FS-12058: [sofia-sip] Fix scan-build issues in su_alloc.c 2019-12-30 23:58:56 +04:00
Andrey Volk e2c1e3a7d3 FS-12055: [mod_sofia] Fix leaks and release profile properly in general_event_handler() and actual_sofia_presence_event_handler() 2019-12-30 23:58:28 +04:00
Andrey Volk b8a18f7d83 FS-12057: [mod_conference] Fix video mute (use of uninitialized pointer) 2019-12-30 23:58:04 +04:00
Seven Du 3f075d30ac FS-12032 remove extra semi colon 2019-12-30 23:57:16 +04:00
Andrey Volk 24e0949844 FS-12056: [mod_sofia] Fix leaking destination in sofia_glue_do_invite() and leaking route in sofia_glue_gen_contact_str() 2019-12-30 23:56:16 +04:00
Dragos Oancea b28eb5ea92 FS-11836: scan-build: Argument with 'nonnull' attribute passed null
FS-11836: scan-build: Dead assignments
2019-12-30 23:55:18 +04:00
Andrey Volk 837e8955fa Merge pull request #188 from signalwire/div_by_zero
[Core] DTMF: Avoid division by zero on low actual_samples_per_second
2019-12-20 00:29:49 +04:00
Andrey Volk 3334d9c4b3 Merge pull request #187 from signalwire/rtp_test
[unit-tests] add basic RTP unit-test
2019-12-20 00:16:58 +04:00
Andrey Volk d49d22ff06 [Core] DTMF: Avoid division by zero on low actual_samples_per_second 2019-12-20 00:14:17 +04:00
Dragos Oancea be37eea412 [unit-tests] add basic RTP unit-test 2019-12-20 00:04:06 +04:00
Andrey Volk 0c90ab01e5 Merge pull request #182 from signalwire/core_fixes
[Core] Fix hard coded dtmf durations based on 8k, fix short-circuit in write timestamp calc
2019-12-19 22:55:03 +04:00
Andrey Volk efc10bc190 Merge pull request #174 from signalwire/log_leaks_on_shutdown
[Core] Wait for all EVENT_DISPATCH_QUEUE_THREADS before killing the logging which leaks otherwise.
2019-12-17 21:07:07 +04:00
Andrey Volk 52949efc28 [Core] Wait for all EVENT_DISPATCH_QUEUE_THREADS before killing the logging which leaks otherwise. 2019-12-17 21:03:20 +04:00
Anthony Minessale 47c5c8f3e8 [Core] Fix short-circuit in write timestamp calc 2019-12-17 00:37:07 +04:00
Anthony Minessale 7ce50c8bd0 [Core] Fix hard coded dtmf durations based on 8k 2019-12-17 00:36:23 +04:00
Andrey Volk ea6a34aa7d [mod_portaudio] CF_AUDIO flag is not set 2019-12-17 00:21:52 +04:00
Andrey Volk b93eea73ef Merge pull request #166 from signalwire/fixfiletest
[Unit-tests] Fix switch_core_file test.
2019-12-05 23:55:04 +04:00
Andrey Volk bae7c3eae0 [Unit-tests] Fix switch_core_file test. 2019-12-05 23:44:33 +04:00
Dragos Oancea b124b607d7 [Core] Add PRE_CLOSED flag on file handle, add unit test. 2019-12-05 21:55:46 +04:00
Andrey Volk 5274dd1f9c Merge pull request #164 from lazedo/kazoo-create_ei_cnode
[mod_kazoo] use globals hostname to create nodename in create_ei_cnode
2019-12-05 00:43:16 +04:00
Andrey Volk 329edd0133 Merge pull request #165 from signalwire/crashonload
[Core] Fix wrong sqldb initialization order causing crash on load.
2019-12-04 19:46:30 +04:00
Andrey Volk a124937f0c [Core] Fix wrong sqldb initialization order causing crash on load. 2019-12-04 19:32:46 +04:00
lazedo ac77de715b [mod_kazoo] use globals hostname to create nodename in create_ei_cnode 2019-12-04 05:58:08 +00:00
Andrey Volk 1435577eaf Merge pull request #162 from lazedo/kazoo-hostname-2
[mod_kazoo] add kz_set_hostname declaration
2019-12-04 03:35:59 +04:00
lazedo 731b0eb8fd [mod_kazoo] add kz_set_hostname declaration 2019-12-03 23:24:47 +00:00
Andrey Volk 4de6afc9d6 Merge pull request #160 from lazedo/kazoo-hostname
[mod_kazoo] missing call to kz_set_hostname
2019-12-04 02:19:42 +04:00
lazedo 1afad3413b [mod_kazoo] missing call to kz_set_hostname 2019-12-03 21:45:15 +00:00
Andrey Volk b337e77258 [Unit-tests] Fix leaks in mod_test and in switch_core_codec, switch_vpx, switch_xml, switch_ivr_play_say tests. 2019-11-27 21:38:19 +04:00
Andrey Volk 4c434aef1f [Unit-tests] Fix test framework by telling sqldb to manage handles so they don't leak and are destroyed on shutdown. 2019-11-26 22:54:17 +04:00
Andrey Volk 2865603ad2 [Unit-tests] Fix xml error not finding freeswitch.xml on FST_MINCORE_BEGIN 2019-11-26 01:54:43 +04:00
Ítalo Rossi 3de3ec3b1a [mod_callcenter] Adding SAF_SUPPORT_NOMEDIA to callcenter_track since we don't need media up for it. Also, a small fix to make it compile on OSX. 2019-11-26 01:33:12 +04:00
Andrey Volk 5836b9652b [Unit-tests] Fix test framework leaking on successful checks under setup or teardown mode. Failed checks in these modes are noted and then freed, but not when passed. 2019-11-26 01:05:03 +04:00
Andrey Volk ff65104c03 Merge pull request #134 from signalwire/drone
Add unit-tests automation to Drone CI
2019-11-25 23:54:14 +04:00
Andrey Volk 0bd676db32 Add unit-tests automation to Drone CI 2019-11-22 00:15:40 +04:00
Andrey Volk a4f0b2f2a0 [mod_test] Fix OSX build 2019-11-22 00:09:14 +04:00
Seven Du 724868fa08 [core] fix test case 2019-11-21 22:06:14 +04:00
Seven Du 254fda292a [core] fix shutdown crash when core running with MINIMAL flag 2019-11-21 22:05:43 +04:00
jay98237438 f7a424a263 [mod_amrwb] RFC4867 mode-set compliancy
Yield to offered mode-set when set.

From RFC4867:
If a mode set was supplied in the offer, the answerer SHALL return the mode-set unmodified or reject the payload type.
2019-11-21 13:54:40 +00:00
jay98237438 e83c6a4607 [mod_amr] RFC4867 mode-set compliancy
Yield to offered mode-set when set.

From RFC4867:
If a mode set was supplied in the offer, the answerer SHALL return the mode-set unmodified or reject the payload type.
2019-11-21 13:54:33 +00:00
Andrey Volk 66aa064588 Merge pull request #91 from lazedo/event-channel-debug
[core] allow event-channel debugging & single delivery
2019-11-15 23:37:36 +04:00
Sebastian Kemper 70d1cbafe4 [gentls_cert] Update message digest
Debian Buster updated /etc/ssl/openssl.cnf to default to

MinProtocol = TLSv1.2
CipherString = DEFAULT@SECLEVEL=2

gentls_cert currently uses SHA1 as message digest. According to OpenSSL
documentation this only offers 80 bit of security. 80 bits is enough for
security level 1, but not 2.

The OpenSSL default MD nowadays is SHA256. This commit updates
gentls_cert to use it.

Issue was reported on the FS mailing list. The certificates created by
gentls_cert caused "md too weak" errors and clients were unable to
connect.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-11-13 20:40:42 +01:00