Commit Graph

1359 Commits

Author SHA1 Message Date
Mike Jerris 6c63fd2ddd Merge pull request #748 in FS/freeswitch from ~RAVENOX/freeswitch:FS-8936 to master
* commit '73684796e6229836d7fae82ad114c3f163a087de':
  FS-8936 - Added swig typemap for "const char **" for fix invocation problems, reswig
2016-03-15 10:36:30 -05:00
Artur Kraev 73684796e6 FS-8936 - Added swig typemap for "const char **" for fix invocation problems, reswig 2016-03-14 23:36:33 +03:00
Michael Giagnocavo c96d0098cc FS-8932 - Add in process loading via LoadEmbeddedPlugins 2016-03-13 18:29:03 -06:00
Brian West 56332c92c8 swigall 2016-03-09 19:11:16 -06:00
Anthony Minessale 550029b80e FS-8811 #resolve [FS 1.7 crashes intermittently] 2016-03-04 16:56:55 -06:00
Brian West f28babf358 swigall 2016-03-03 11:00:31 -06:00
Anthony Minessale 3658763cba swigall 2016-02-10 17:07:53 -06:00
Mark Lipscombe 4e9977507d FS-8537: Passing nil to various lua functions causes segfault
Various functions exposed via lua do not check their parameters for null
causing freeswitch to segfault.

This change adds checking for null parameters and returns an error
instead of segfaulting.
2015-11-15 10:43:09 +11:00
Saumar Hajjar 3aa051e1a1 FS-7673: ODBC NULL value incorrectly evaluated in mod_v8 2015-09-21 23:36:42 -03:00
Anthony Minessale 8a0366b999 FS-8130 running out of witty commit msgs 2015-09-21 14:08:38 -05:00
Michael Jerris 46ab943d06 swigall 2015-09-14 14:45:35 -05:00
Anthony Minessale eea76c8856 FS-8130
Port video buffer to also support audio and remove original STFU jitter buffer
Add some more resilience to video packet loss
Add codec control mechanism for both call-specific debug and codec/call specfic params
Make opus function better in packet loss and latent situations
Use new codec control prams to make JB lookahead FEC optionally enabled or disabled mid-call
Add Param to allow JB lookahead to be enabled.
2015-09-14 13:30:08 -05:00
Mike Jerris 49f5cede85 FS-7966: silence mod_lua build warnings in generated code 2015-09-02 15:55:01 -04:00
Michael Jerris dc80dbc8f3 FS-7966: don't manually edit generated source 2015-09-02 14:48:42 -05:00
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