Commit Graph

444 Commits

Author SHA1 Message Date
Andrey Volk 889afccad0 [mod_xml_curl] Fix leaking event in xml_url_fetch() 2023-01-24 14:14:27 +03:00
Andrey Volk 884917cb11 [mod_xml_scgi] Fix dead initialization in mod_xml_scgi_shutdown() 2022-08-10 00:11:58 +03:00
Andrey Volk 1f9305098d [mod_xml_ldap] Fix potential memory leaks in xml_ldap_search() 2022-08-10 00:10:47 +03:00
Andrey Volk f92368d2f2 [mod_xml_ldap] Move all memory allocations into the mod's pool so it does not leak on shutdown. Fix leaking xml_ldap_search(). 2021-10-19 20:24:10 +03:00
Chris Rienzo 7d0909d4a9 Merge pull request #509 from talmakion/dev-xmlcurl-cfg
[mod_xml_curl] Allow XML_CURL_MAX_BYTES to be configured at runtime
2021-02-13 13:01:20 -05: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
Andrey Volk 865de72cee [core,mod_verto,mod_xml_rpc] Fix use of deprecated CRYPTO_set_id_callback(). 2020-05-07 03:00:03 +04:00
Andrew Topp dbea1482e7 [mod_xml_curl] Allow XML_CURL_MAX_BYTES to be configured at runtime per-binding
* Added "response-max-bytes" config param for mod_xml_curl
* XML_CURL_MAX_BYTES still used as default if param omitted
* Added example configuration to module example config.
2020-03-15 14:05:53 +10:00
Andrey Volk 3ebad97489 [mod_xml_cdr] scan-build: Fix dead assignments. 2020-02-28 03:32:46 +04:00
Andrey Volk a7477ed0e2 FS-11911: Fix build on Debian Buster 2019-07-15 22:23:25 +04:00
Dragos Oancea 179430cecc FS-11622: WS headers case insensitive 2019-01-21 18:10:15 -05: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 c9ac9c66e3 FS-11090: [Build-System] Move PCRE library to pre-compiled binaries, minor cleanup, reduce build log verbosity on windows. 2018-07-24 07:21:49 +00:00
Andrey Volk c31e7062b7 FS-11085: [Build-System] Update curl to 7.59.0 and move to pre-compiled binaries on Windows. 2018-07-24 07:21:46 +00:00
Andrey Volk ea8c3be8ec FS-10541: [Build-System] Move OpenSSL to props with BaseDir on windows. 2017-10-07 22:50:48 +03:00
Andrey Volk bf101a5f0b FS-10525: [Build-System] Update curl to 7.54.1 for windows, move to props. 2017-07-21 01:21:34 +03:00
Andrey Petrov 348ce5ff09 FS-7575 Update freeradius-client to 1.1.7 2017-05-02 16:55:45 +03:00
Marc Olivier Chouinard 0d177f21f6 FS-10111: mod_xml_cdr Create folder recursivery to the specified destination 2017-03-08 16:33:42 -05:00
Sergey Safarov df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Mike Jerris a3ee7595bb FS-10025: fix global symbol scope issue causing modules to use another modules global pointer 2017-02-09 17:23:30 -06:00
Mike Jerris f35c2a4ec2 FS-9623: fix rare crash on startup due to openssl init functions being run multiple times 2016-10-07 15:33:50 -04:00
Mike Jerris e2718b1111 Merge pull request #658 in FS/freeswitch from xml_rpc_segfault_fix to master
* commit '23e333a9fc3dad4b227659f2a31fb65321970f1e':
  FS-8706: Fix a segfault where no response status was set previously, and try to prevent future ones by setting default response status of 500.
2016-04-04 13:15:43 -05:00
Michael Jerris c422cddb77 FS-8946: [mod_xml_cdr] fix segfault on call after loading with no config file or event bind failure causing module load failure 2016-03-16 11:56:43 -05:00
Eliot Gable 23e333a9fc FS-8706: Fix a segfault where no response status was set previously, and try to prevent future ones by setting default response status of 500. 2016-01-05 11:46:59 +00:00
Emmanuel Schmidbauer f2fcfe1a75 FS-8668: allow channel variable prefix-a-leg to override global setting in mod_xml_cdr 2015-12-16 07:47:20 -08:00
Kirill Sysoev b9278a8f0d FS-8416: Regex feature in param field 2015-11-05 22:17:54 +03:00
Anthony Minessale f8b19b7485 FS-8190 #resolve [When using nixevent, freeswitch stops sending us certain custom event that were NOT part of the nixevent command] 2015-09-21 18:00:32 -05:00
Michael Jerris 860dd29e08 FS-8149: fix mod_xml_cdr curl dependency in makefile 2015-09-10 08:48:01 -05: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
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
Anton Lozovsky 8068c4e11c FS-7731 mod_xml_cdr: url_index global pointer concurrent access fix, curl default connection timeout fix
- thread variable copy of url_index global pointer to prevent the concurrent access having wrong state change if the posting to the current http server was unsuccessfull;
- overriding the default curl connection timeout

Based on need to figure out the smallest block of code need to mutex, and that libcurl (and its wrapper) is definitely thread safe.
2015-07-16 19:18:24 +03:00
Michael Giagnocavo f116387443 FS-7644. Change 2013.vcxproj references to 2013 2015-06-18 04:17:53 -06: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
Michael Jerris 49778c34e5 FS-7258, FS-7571: [mod_xml_cdr] properly encode xml cdr for post to web server 2015-06-02 18:54:15 -05:00
William King 4a623c45b5 Merge pull request #231 in FS/freeswitch from ~SEKIL/freeswitch-7412:master to master
* commit 'f5e0a879b2c5e035075db2c9441a111020575dea':
  JIRA FS-7412. Added new LDAP schema (fsaccount.schema) with relevant attributes to match FS directory params and variables. Changed mod_xml_ldap code to reflect new schema. Updated xml_ldap.conf.xml as well to reflect mapping of new attributes.
2015-06-01 12:46:41 -05:00
Michael Jerris 91a6fc82c0 FS-7338: remove libsndfile from tree, use system lib instead
FS-7338: remove libsilk from tree, use system lib instead
FS-7338: change to always use system liblua
FS-7338: remove libbroadvoice from tree, use system lib instead
FS-7338: remove libilbc from tree, use system lib instead
FS-7338: remove libs using system libs from bootstrap
FS-7338: remove libg722_1 from tree, use system lib instead
FS-7338: remove mod_celt, it has be superseded by mod_opus
FS-7338: remove libcodec2 from tree, use system lib instead
FS-7338: remove libopus from tree, use system lib instead
FS-7338: remove libsoundtouch build from tree, use system lib instead
FS-7338: remove flite build from tree, use system lib instead
FS-7338: remove openldap build from tree, use system lib instead
FS-7338: remove libmongoc build from tree, use system lib instead
FS-7338: remove mod_mongo deps that are no longer actually required
FS-7338: remove some dup demo modules and don't include demo code in packages
2015-05-28 12:47:24 -05:00
Ognjen Seslija f5e0a879b2 JIRA FS-7412.
Added new LDAP schema (fsaccount.schema) with relevant attributes to match FS directory params and variables.
Changed mod_xml_ldap code to reflect new schema.
Updated xml_ldap.conf.xml as well to reflect mapping of new attributes.
2015-04-07 18:43:11 +02:00
Anthony Minessale 6eb59c7119 add variable expansion to mod_xml_ldap 2015-04-04 04:39:35 -05:00
Artur Zaprzała e26605703f FS-7299: Implement cookie-file option for mod_xml_cdr. 2015-02-19 09:03:53 +01:00
Brian West 01395c508b FS-6916 fix typos in code 2014-11-05 10:58:35 -06:00
Mike Jerris cba216ca27 Merge pull request #56 in FS/freeswitch from ~OLEGSTOLYAR/freeswitch:master to master
* commit '49a3672e4206a2a730220ec4bc2426274441ef64':
  Add ability to log commands executed in mod_xml_rpc
2014-10-29 12:59:43 -05:00
olegstolyar 49a3672e42 Add ability to log commands executed in mod_xml_rpc 2014-10-29 17:08:21 +00:00
Michael Jerris d17f14efbd make sure to pass along appropriate configure flags to sub-configure's when cross compiling 2014-10-02 19:25:50 -04:00
Anthony Minessale ce5d21106e FS-6761 #resolve 2014-09-11 03:29:07 +05:00
William King 5dfea663cd build fix for mod_xml_radius 2014-09-04 14:57:20 -07:00
William King 47b7c44db6 Fix a problem where radius channel variables were missing in mod_xml_radius 2014-09-04 14:29:35 -07:00
William King fddf44426f Fixing a typo in the radius accounting end condition configuration handling in mod_xml_radius 2014-09-04 13:48:50 -07:00
William King d06d004055 Adding the ability to add a radius param when a channel variable is not set in mod_xml_radius 2014-08-21 23:17:23 -07:00