1395 Commits

Author SHA1 Message Date
Mike Jerris
46c0d05216 FS-7966: fix more msvc 2015 build warnings. 2015-09-02 13:07:17 -04:00
Mike Jerris
d698492aaf Merge pull request #457 in FS/freeswitch from ~LEKENSTEYN/freeswitch:bugfix/FS-8099-lua-dialplan to master
* commit '7749a9f51d57266f42adc0cf25d8f885ebad382d':
  Restore LUA dialplan ACTIONS functionality
2015-08-31 17:06:48 -05:00
Michael Jerris
a552997e7b FS-7966: fix mod_managed reference 2015-08-31 16:10:50 -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
Peter Wu
7749a9f51d Restore LUA dialplan ACTIONS functionality
Since using SWIG 2.0 to generate the code, two new items have been
pushed on the stack. Use relative stack indices to avoid breakage.

FS-8099 #resolve
2015-08-30 22:34:49 +02:00
Mike Jerris
ac945c012a FS-7966: multiple fixes for msvc 2015 build, remove unintended file add 2015-08-27 15:13:35 -06:00
Mike Jerris
9485fc9581 FS-7966: multiple fixes for msvc 2015 build 2015-08-27 14:37:33 -06:00
Michael Jerris
15fb6c6546 FS-8047: [build] fix build error in mod_basic due to using __FUNCTION__ on newer compilers 2015-08-25 21:48:02 -04:00
Michael Jerris
d609becdd6 FS-8047: [build] fix build error in mod_basic due to using __FUNCTION__ on newer compilers 2015-08-25 17:36:23 -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
Michael Jerris
61c641aa0b swigall 2015-08-19 16:41:39 -05:00
Chris Rienzo
a0b53d06f5 FS-7912 add session UUID to lua error logs, if known. 2015-07-29 14:43:34 -04:00
Anthony Minessale
e34b195988 FS-7689 #resolve 2015-06-19 13:23:04 -05:00
Michael Giagnocavo
f116387443 FS-7644. Change 2013.vcxproj references to 2013 2015-06-18 04:17:53 -06:00
Michael Jerris
2558049e49 FS-7667: [mod_java] fix include directory detection when using debian java pacakges and use detected directory 2015-06-16 14:29:18 -05:00
Brian West
34ec9f861f update languages to use swig2.0 and reswig 2015-06-16 12:58:24 -05:00
Brian West
4e88d9eea1 update languages to use swig2.0 and reswig 2015-06-16 12:44:37 -05:00
Brian West
6a903e2397 fix perl swig patching to work with latest swig from debian jessie 2015-06-16 12:03:53 -05:00
Brian West
a81a896690 FS-7666: [mod_managed] pass in proper core CPP flags to find public headers 2015-06-16 11:24:00 -05:00
Brian West
34f5994aa2 swigall 2015-06-16 11:23:25 -05: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
William King
cdead84d3b CID 1216601 Fix a possible memory leak in mod_basic 2015-05-28 12:47:34 -05:00
Mike Jerris
387b405ccd FS-7500: fix include paths for libvpx 2015-05-28 12:47:32 -05:00
Michael Jerris
d376150e0e FS-7488: [mod_managed] fix build error and enable on debina packages 2015-05-28 12:47:26 -05:00
Anthony Minessale
7c294f242f FS-7504: allow <modname>.<codecname> support so multiple modules can exist for the same codec 2015-05-28 12:47:13 -05:00
Anthony Minessale
970064294c FS-7500: refactoring 2015-05-28 12:46:50 -05:00
Jeff Lenk
278b42eb11 FS-7488 remove windows duplicate files 2015-05-20 13:19:12 -05:00
Jeff Lenk
acdb1ca582 FS-7488 windows fix build error 2015-05-17 13:45:52 -05:00
Michael Jerris
b90aa23cbd FS-7488: [mod_managed] fix build error 2015-04-28 11:59:15 -05:00
Anthony Minessale
452a4c1b05 swigall 2015-04-27 12:35:38 -05:00
Anthony Minessale
3058709a92 swigall 2015-04-25 14:15:26 -05:00
Vineet Chaudhary
299b313b78 FS-7269 : Add error logs in exec_user_method() when exception occurs.
In exec_user_method() report ERROR LOG to console in cases exceptions occurs,
like if any of class/method/userMethod->arg is null or for any reason which
sets status to SWITCH_STATUS_FALSE because that prevents loading mod_java and
users don't have clue why it is failing to load.

With this patch error logs can tell why method failed to execute.
2015-02-12 18:41:12 +05:30
Vineet Chaudhary
adccf499ad FS-7256 : Unable to load mod_java.
FS not able to load mod_java because in load_config switch_status_t status
is not initialised and in some conditions status is not gets set ever
resulting returning garbage value, resulting failuar to load mod_java.so.

With this patch status is set to SWITCH_STATUS_SUCCESS so in case everything
is loaded it can load mod_java else status is set to SWITCH_STATUS_FALSE(which
is already covered).
2015-02-10 12:43:26 +05:30
Brian West
861961bd4d FS-7180: when using system lua, properly link against reanmed library versions on debian for mod_lua 2015-01-20 13:18:12 -06:00
Michael Jerris
749ced5f60 FS-7180: add --enable-sytem-lua configure arg to allow building mod_lua against system lua and allow mod_lua to build against lua 5.1 or 5.2 2015-01-20 13:03:06 -05:00
Michael Jerris
07d09b7869 FS-7180: add --enable-sytem-lua configure arg to allow building mod_lua against system lua and allow mod_lua to build against lua 5.1 or 5.2 2015-01-20 11:48:00 -05:00
Mike Jerris
e86d359443 Merge pull request #57 in FS/freeswitch from ~LEKENSTEYN/freeswitch:fixes to master
* commit '8e4423f126b9476123c6fa8c41c5f8ebfe1d0cb5':
  Document Dbh.test_reactive, return saner values
2014-11-06 11:48:12 -06:00
Artur Kraev
c97c0e8a78 Fix for case-sensitive filesystems 2014-11-06 12:36:02 +03:00
Artur Kraev
14bf6c1604 Fixed code formatting.
Return ListDelegate
2014-11-06 12:29:10 +03:00
Artur Kraev
889b678e58 mod_managed: Added GetPtr to Util class for internal pointers extraction (very useful when using native api) 2014-11-03 00:43:59 +03:00
Artur Kraev
33cb950500 mod_managed: Added pure CreateStateHandlerDelegate in ManagedSession for native api usage 2014-11-03 00:42:00 +03:00
Artur Kraev
10ebebaae0 mod_managed: added console log level 2014-11-03 00:34:04 +03:00
Artur Kraev
4037e782a5 mod_managed: support per-module references directory 2014-11-03 00:32:30 +03:00
Artur Kraev
f3d089a998 mod_managed: not crash when cannot remove shadow directory (this sometimes happens when restarting from FS console) 2014-11-03 00:24:49 +03:00
Artur Kraev
7c0cf506d8 mod_managed: managedlist command must return value to api stream instead of log 2014-11-03 00:17:57 +03:00
Anthony Minessale
6b42e5a231 FS-6849 #comment change to 'import freeswitch' to only load it 2014-10-16 11:36:59 -05:00
Anthony Minessale
3cd0400d38 FS-6849 #resolve #comment scripts need to have 'from freeswitch import *' at the top. I added it explicitly to compensate. 2014-10-16 10:58:55 -05:00
Travis Cross
0cc7bc8db6 Add missing CURLOPT_NOSIGNAL options
To work correctly in a multi-threaded environment, curl needs to be
used with CURLOPT_NOSIGNAL set to 1.  If it's left at zero, the
default, then curl will use signals to deal with timeouts which will
often result in a crash.

ref: http://curl.haxx.se/libcurl/c/libcurl-tutorial.html#Multi-threading
ref: http://curl.haxx.se/libcurl/c/CURLOPT_NOSIGNAL.html
ref: http://stackoverflow.com/questions/9191668/error-longjmp-causes-uninitialized-stack-frame
ref: https://bugzilla.redhat.com/show_bug.cgi?id=539809
ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570436
2014-09-23 00:04:21 +00:00
Anthony Minessale
1bb0b8e16d fix leak in lua when script does not execute properly in xml_binding handler 2014-09-23 03:57:04 +05:00