Andrey Volk
e53e8a17c1
[esl] Fix dead nested assignment in esl_recv_event()
2022-08-09 23:19:01 +03:00
Andrey Volk
0fdd5b6727
[Core] Fix switch_event_base_add_header leaking memory when headers are with indexes. Add a unit-test.
...
* [Unit-tests] Add a test provoking switch_event_add_header to memory leak.
* [Core] Fix switch_event_base_add_header leaking memory when headers are with indexes.
2021-11-03 17:01:05 +03: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
Andrey Volk
3556119fde
[libesl] Fix leak of esl_event_header_t in esl_event_base_add_header(). Code cleanup.
2021-02-17 22:56:10 +03:00
Andrey Volk
0275ea1eb4
[Build-System] Use $(DefaultPlatformToolset) so it's easier to build using newer Microsoft Visual Studio versions.
2020-05-25 14:18:25 +04:00
lazedo
db95f1e9dd
[cJSON] Update to v1.7.12
2020-01-29 00:29:04 +04:00
Andrey Volk
f7ec94c9c4
[esl] Add SHUTDOWN_REQUESTED event.
2019-12-31 03:12:04 +04:00
Andrey Volk
f0da2f2cd4
FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for libs/esl
2019-07-18 21:27:04 +04:00
Andrey Volk
5daa48953d
FS-11896: [core] Fix typo in esl_buffer
2019-07-18 00:26:58 +04:00
Anthony Minessale
1dd4191601
FS-11896: [core] stop media bugs from being possible to add to channels with no media ready, stop transfer recordings upstream to not try to transfer recordings to channels without media ready
2019-07-18 00:26:45 +04:00
Chris Rienzo
ca8fa0e1ff
FS-11785 [esl] dead assignments in esl_event_serialize
...
null attribute in esl_buffer_read
null attribute in esl_event_base_add_header
null attribute in esl_recv_event
2019-07-17 20:22:11 +04:00
Andrey Volk
a7477ed0e2
FS-11911: Fix build on Debian Buster
2019-07-15 22:23:25 +04:00
Andrey Volk
671da28796
FS-11263: [Build-System] Move FreeSWITCH build system to Visual Studio 2017 on Windows.
2018-07-24 07:21:55 +00:00
Andrey Volk
e7ff903629
FS-11150: [Build-System] Fix broken ESL in .Net project.
2018-07-24 07:21:52 +00:00
Anthony Minessale
bb7013817b
FS-11138: [freeswitch-core] Leak in ESL client #resolve
2018-07-24 07:21:51 +00:00
Muteesa Fred
9fc898daac
FI-393 [fs_cli banner] this commit changes the text on the fs_cli banner
2018-06-14 19:38:05 +00:00
Mike Jerris
417b1d2a9a
FS-10036: fix include
2017-03-15 13:33:03 -05:00
Mike Jerris
e4e4fd2f9f
FS-10036: add back in patch from FS-4285. Still need to address this upstream
2017-03-08 20:50:34 -06:00
Mike Jerris
20bcb2edef
FS-10036: update cJSON code to pre 1.4.0 release of cJSON. this includes backports of all our fixes, and our build macros for windows and visibility. It also makes it easy to drop in a new version, and to in the future be able to switch to a system version of cJSON easily (after all these updates are in, probably around v2.0 timeframe. Note this new version adds a lot of extra error checking, fixes some buffer overruns, and improves parser and printer performance
2017-02-27 18:53:23 -06:00
Anthony Minessale
9dba32410f
FS-10015: [freeswitch-core] Add variable to allow firing of text events #resolve
2017-02-06 16:37:59 -06:00
Anthony Minessale
c409499cd9
FS-9576 #resolve [Add Realtime Text]
2016-09-27 16:40:43 -05:00
Anthony Minessale
26bed941b3
FS-8160 Additional vulnerability in json parsing malformed utf encoded chars discovered by Brian Martin - Tenable Security Response CVE-2015-7392
2015-11-19 13:45:04 -06:00
Michael Jerris
cf892528a1
FS-8160: properly handle malformed json when parsing json with \u at the end of a json string
2015-09-14 17:56:55 -04:00
Mike Jerris
46c0d05216
FS-7966: fix more msvc 2015 build warnings.
2015-09-02 13:07:17 -04:00
Michael Jerris
164c6111a1
FS-7966: remove some older versions of msvc build system as these will no longer work soon, please use 2015 instead
2015-08-31 10:19:10 -05:00
Mike Jerris
288c62576f
FS-7966: fix more warnings in msvc 2015 build
2015-08-28 17:42:55 -04:00
Mike Jerris
5de2f7d7bd
FS-7966: multiple fixes for msvc 2015 build, silence multiple warnings
2015-08-27 18:49:13 -06:00
Michael Giagnocavo
5e456fe9a6
FS-7966. First pass at moving to Visual Studio 2015.
...
The new C compiler breaks a lot of things. snprintf and timespec now exist, and redefining causes an error.
Many more things are warnings, so warnings-as-errors will fail - remove it from some projects for now.
V8: don't pass VS version to build batch file.
mod_sofia: Config has too-long if/elseif chain. Break this up to avoid "parser stack overflow; program too complex".
Add mod_conference.h to project and dir to includes.
2015-08-21 18:28:32 -04:00
Jeff Lenk
345e50d25a
FS-7644
2015-06-11 15:29:28 -05:00
Michael Jerris
2cc0348422
FS-7635: remove msvc 2005 2008 and 2010 non working build systems. There are now multiple more recent (3 different ones) and some free versions of the compiler that can be used.
2015-06-10 16:33:14 -04:00
Anthony Minessale
d961aad2c2
FS-7604 #resolve
2015-06-02 13:17:04 -05:00
Jeff Lenk
a607c20a94
windows fix for a0e9ddf589
2014-06-08 16:06:32 -05:00
Travis Cross
a0e9ddf589
Convert esl_true and esl_false to functions
...
Prior to this commit, an expression such as:
esl_true("true") ? 42 : 0
...would return 1 rather than 42.
2014-06-04 12:00:31 +00:00
Jeff Lenk
e6ac87f5f1
fixes for VS2010 code analysis - hope these are OK else-ware
2014-05-20 22:54:32 -05:00
Natanael Copa
317f4b1442
Fix building with musl libc
...
POSIX says poll.h and signal.h should not be prefixed with sys/ (ie
poll.h instead of sys/poll.h)
limits.h also defines a TZNAME_MAX so we change name of the define for
spandsp.
2014-05-02 11:20:36 -04:00
Travis Cross
2b1ae831d1
Remove some dead assignments in ESL
2014-05-02 03:57:07 +00:00
Michael Jerris
a1a397420e
fix leaked body in error case
2014-04-30 16:10:08 -04:00
Michael Jerris
ba6b9c5a11
ESL-91: --resolve bigger buffer for args
2014-04-21 13:33:47 -04:00
Travis Cross
f754057c2a
Avoid crash on event without content-type
...
If we received an event without a content-type header we were
dereferencing a null pointer leading to a seg fault.
Reported-by: Ico <ico@voip-io.org>
ESL-90 --resolve
2014-04-09 01:20:07 +00:00
Travis Cross
c6acddf928
Fix typo in comment
2014-04-08 23:17:12 +00:00
Ico
fa17059787
Fix memory leak when outbound socket is closed by server
...
ESL-88 --resolve
Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-26 01:36:48 +00:00
James Le Cuirot
8574988c3a
Completely unbundle libedit
...
FS-353
Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-24 12:39:59 +00:00
Brian West
c4c0f38aab
FS-6294 FS-6308 NetBSD support should work test and report back please.
2014-03-19 14:34:07 -05:00
William King
138224d816
FS-6303 --resolve
2014-03-04 12:30:14 -08:00
Marc Olivier Chouinard
289d0de371
some circonstance, esl connection closing would hang. This should fix it
2014-02-23 20:52:14 -05:00
William King
5fb660933d
ESL-82 --resolve
...
Previously any esl_connect_timeout() failures would not return to the calling application the reason for the failure.
This commit now allows for calling applications to know why the connection attempt fails, but it is now the calling
applications responsiblity to call esl_disconnect() on the esl handle after the failure. Failing to call disconnect after
a failed connection attempt would result in memory being leaked.
2014-02-21 14:14:05 -08:00
Seven Du
11dee76381
add user_data in esl_listen so the main function can pass a private user_data to callback
2014-02-16 08:14:44 +08:00
Ken Rice
6e7d5d0897
update copyright header for 2014
2014-02-12 12:08:56 -06:00
Moises Silva
f5f4df3483
Fix ESL infinite loop on handle_recv() when errno is already set
...
system calls do not clear errno, just set it in case of failure, so we
gotta make sure the recv() syscall really failed by checking the return value
2014-02-01 01:40:29 +05:00
Peter Olsson
5a820fdc78
Disabled some compiler warnings on Windows build (for Visual Studio 2012), also disabled code analysis one some projects. This should make the Windows build more clean in the future.
2014-01-22 22:47:11 +01:00